HAPI.Class Class Module | Startpage |
HAPI | HAPI.Class |
HasUserAttribute(strKey As String) [[As Boolean]] (R)
- Determines whether a user attribute is set on the Domain object.
Inputs() [[As NodeList]] (R)
- GetInputs returns a collection of all nodes set as input for the current Class
Instances() [[As Collection]] (R)
- Returns a Collection of all instances created from this Class
Outputs() [[As NodeList]] (R)
- GetOutputs returns a collection of all nodes set as output for the current Class
UserAttribute(strKey As String) [[As String]] (RW)
- Holds the user attribute value for a given key.
fileName() [[As String]] (R)
- Holds either "" or the file name used in the most recent save to or load from an hkb file (see SaveAsHKB and LoadDomainFromHKB).
name() [[As String]] (RW)
nodes() [[As Collection]] (R)
- Holds all Node objects of this domain.
Delete()
- Explicitly deletes a Class object.
EndLogging()
- Ends logging and closes log file. Should be called after StartLogging has been called. Logging is usefull when compiling (see Compile).
GenerateTables()
- Generates the conditional probability tables for all nodes of this.
GetNodeSize(lW As Long, lH As Long)
- Returns the node width and height through two reference arguments for all nodes in Domain.
RemoveUserAttribute(strKey As String)
- Removes the specified user attribute.
SaveAsNet(strFileName As String)
- Saves current Class as a net file using the specified file name.
SetNodeSize(lW As Long, lH As Long)
- Sets node width and height for all nodes in Domain.
StartLogging(strFileName As String)
- Starts logging in specified file. Logging is usefull when compiling (see Compile).
AddNewInstance(lCls As Class) As Node
- Insert an instance of the given Class into this Class
CreateDomain() As Domain
- Create a runtime Domain from this Class
GetAttributes() As Collection
- Return an list of attrubutes for the current object.
GetNewNode(lCat As hCategories, lKind As hKinds) As Node
- Returns a new node of the specified type (see hCategories and hKinds).
GetNodeByName(strName As String) As Node
- Returns the Node object with the specified name (Nothing if no such node exists).
![]() |
HUGIN Expert A/S, 2008 - comments to activex@hugin.com |