Interface ClassParseListener
An implementation of the ClassParseListener interface must be used when one wants to call the ParseClasses(string, ClassParseListener) method of the ClassCollection class.
Inherited Members
Namespace: HAPI
Assembly: hugincs-9.4-netstandard2.0-x64.dll
Syntax
public interface ClassParseListener : ParseListener
Remarks
An implementation of the ClassParseListener interface must be used when one wants to call the ParseClasses(string, ClassParseListener) method of the ClassCollection class. That is, you must implement your own parseError and insertClass methods.
As an alternative to implementing the ClassParseListener yourself, you may wish to use the DefaultClassParseListener class.
Methods
InsertClass(string, ClassCollection)
Inserts an undefined class in a ClassCollection that is encountered during parsing of a Hugin NET file.
Declaration
void InsertClass(string className, ClassCollection cc)
Parameters
Type | Name | Description |
---|---|---|
string | className | The name of the undefined Class. |
ClassCollection | cc | The ClassCollection into which the undefined Class should be inserted. |
Remarks
Whenever the Hugin net parser encounters a class not defined in the NET file, the parser calls the InsertClass(string, ClassCollection) method of the ClassParseListener object provided as an argument to the ParseClasses(string, ClassParseListener) method.