Inheritance diagram for HAPI::ClassParseListener:
You must implement your own subclass of ParseListener with your own parseError and insertClass methods.
As an alternative to implementing the ParseListener yourself, you may wish to use the DefaultParseListener class.
ClassCollection::parseClasses (String, ParseListener)
Public Member Functions | |
virtual void | insertClass (ClassCollection *cc, std::string name)=0 |
Whenever the Hugin net parser encounters a class not defined in the NET file, the parser calls the insertClass method of the ParseListener object provided as an argument to the parseClasses (String, ParseListener) method. |
|
Whenever the Hugin net parser encounters a class not defined in the NET file, the parser calls the insertClass method of the ParseListener object provided as an argument to the parseClasses (String, ParseListener) method. An implementation of the insertClass method is required.
Implemented in HAPI::DefaultParseListener. |