HAPI.ClassCollection Class Module

Startpage
Overview
Index
HAPI
   |
   HAPI.ClassCollection

Properties

AtEnd() [[As Boolean]] (R)
Check if this ClassCollection points to the last Class
AtFront() [[As Boolean]] (R)
Check if this ClassCollection points to the first Class
CurrentClass() [[As Class]] (R)
Return the Class currently pointed to by this ClassCollection
Members() [[As Collection]] (R)
Get a Collection containing all the Classes in the ClassCollection
count() [[As Long]] (R)
Return the number of Classes in this ClassCollection

Sub Procedures

Delete()
Deletes the classCollection as well as all classes in it
GotoFirst()
Move the pointer to the first Class in this ClassCollection
GotoNext()
Move the pointer to the next Class in this ClassCollection
ParseClasses(strFileName As String, strSearchPath As String, colParseMessages As Collection, iMaxMessages As Integer)
Parse a net file into a Class.
RemoveCurrentClass()
Removes the current Class.
SaveAsNet(strFileName As String)
Saves current ClassCollection as a net file using the specified file name.

Functions

GetClassByName(lStr As String) As Class
Return the Class in the ClassCollection which has the given name.
GetNewClass() As Class
creates a new class and adds it to the current classCollection
RemoveClass(nd As Class) As Boolean
Removes a Class without changing reference to current Class.

Description

A ClassCollection contains a list of all classes in a "project". That is, if a Class is to contain instances of another Class, the two classes must be present in the same ClassCollection.
HUGIN Expert A/S, 2008 - comments to activex@hugin.com