HAPI.Globals Class Module

Startpage
Overview
Index
HAPI
   |
   HAPI.Globals

Functions

GetNewBooleanExpression(bBool As Boolean) As Expression
Creates a new simple expression of type hOperators hOperatorBoolean.
GetNewClassCollection() As ClassCollection
Create a new empty ClassCollection object
GetNewCompositeExpression(lOperator As hOperators, colExpr As Collection) As Expression
Creates a new composite expression.
GetNewDomain() As Domain
Initializes a new Domain object.
GetNewLabelExpression(strLabel As String) As Expression
Creates a new simple expression of type hOperators hOperatorLabel.
GetNewNodeExpression(ndNode As Node) As Expression
Creates a new simple expression of type hOperators hOperatorNode.
GetNewNumberExpression(dNumber As Double) As Expression
Creates a new simple expression of type hOperators hOperatorNumber.
LoadDomainFromHKB(strFileName As String) As Domain
Loads a Domain object from an hkb file.
LoadDomainFromNet(strFileName As String, colParseMessages As Collection, iMaxMessages As Integer) As Domain
Loads a Domain object from a net file.
LoadDomainFromProtectedHKB(strFileName As String, password As String) As Domain
Loads a Domain object from a password protected hkb file.
infinity() As Double

Description

The Globals class is "GlobalMultiUse" (the Instancing property). This means that an application can use its methods and functions without first making an instance of it. The methods and functions found in the Globals class are mainly for creating Domain objects - either from scratch or from a file. Further, the Globals class provides functions for creating Expressions.
HUGIN Expert A/S, 2008 - comments to activex@hugin.com