class XrlParserInput

Base class for XrlParserInput's. More...

Contains pure virtuals
Definition#include <xrl_parser_input.hh>
Inherited byXrlParserFileInput
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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.

bool  getline (string& lineout)

getline

[pure virtual]

Retrieves 1 line of input from source.

Parameters:
lineoutstring that is set if line of text is available.

Returns: true if line was read into lineout, false otherwise.

bool  eof ()

eof

[const pure virtual]

Returns: true if no more data is available for reading.

string  stack_trace ()

stack_trace

[const pure virtual]

Returns: string containing stack trace to be used for tracking errors in the input.

 ~XrlParserInput ()

~XrlParserInput

[virtual]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:50 2003, using kdoc 2.0a54+XORP.