Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

HAPI::DefaultParseListener Class Reference

Inheritance diagram for HAPI::DefaultParseListener:

HAPI::ClassParseListener HAPI::ParseListener List of all members.

Detailed Description

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.


Public Member Functions

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'.


Member Function Documentation

void HAPI::DefaultParseListener::insertClass ClassCollection cc,
std::string  name
[virtual]
 

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.

Implements HAPI::ClassParseListener.


Copyright Hugin Expert A/S 1993-2004