XrlParserInput Class Reference

Base class for XrlParserInput's. More...

#include <xrl_parser_input.hh>

Inheritance diagram for XrlParserInput:

List of all members.

Public Member Functions

virtual bool getline (string &lineout)=0
 Retrieves 1 line of input from source.
virtual bool eof () const =0
virtual string stack_trace () const =0

Detailed Description

Base class for XrlParserInput's.

XrlParserInput's are used by the XrlParser class to manage input. The output of XrlParserInput should only contain material likely to XRL's and C-preprocessor hash directives, ie # <num> "file" <line> directives.

Member Function Documentation

virtual bool XrlParserInput::eof ( ) const [pure virtual]
true if no more data is available for reading.

Implemented in XrlParserFileInput.

virtual bool XrlParserInput::getline ( string &  lineout) [pure virtual]

Retrieves 1 line of input from source.

lineoutstring that is set if line of text is available.
true if line was read into lineout, false otherwise.

Implemented in XrlParserFileInput.

virtual string XrlParserInput::stack_trace ( ) const [pure virtual]
string containing stack trace to be used for tracking errors in the input.

Implemented in XrlParserFileInput.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations