class DefaultParseListener : public ClassParseListener

Provides a simple implementation of the ParseListener class

Inheritance:


Public Methods

void parseError(int line, const std::string& msg)
This implementation of the parseError method simply prints the line number and parse error message to stderr
void insertClass(ClassCollection* cc, std::string name)
This implementation of the insertClass method simply calls the parseClasses(String, ParseListener) method with arguments className + "

Inherited from ClassParseListener:


Inherited from ParseListener:


Documentation

Provides a simple implementation of the ParseListener class. It is assumed that that the NET file for a Class for which an instance is required can be found in the directory from which the application program is started.
void parseError(int line, const std::string& msg)
This implementation of the parseError method simply prints the line number and parse error message to stderr

void insertClass(ClassCollection* cc, std::string name)
This implementation of the insertClass method simply calls the parseClasses(String, ParseListener) method with arguments className + ".net" and 'this'. Note that this simple implementation requires that the application program is started in the directory where the relevant NET files are stored.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de