FlexVScan Class Reference

Inheritance diagram for FlexVScan:

Inheritance graph
[legend]
Collaboration diagram for FlexVScan:

Collaboration graph
[legend]

List of all members.


Detailed Description

Note:
RAII object

Definition at line 87 of file vscan.cc.


Public Member Functions

 FlexVScan (std::istream &stream, string fileName)
virtual ~FlexVScan ()
virtual bool readNext (string &)
virtual bool hasError () const
virtual bool readNext (std::string &token)=0

Private Attributes

VFlexLexerflex_
 superior (flex based) scanner

Constructor & Destructor Documentation

FlexVScan ( std::istream &  stream,
string  fileName 
) [inline]

Definition at line 89 of file vscan.cc.

References flex_.

virtual ~FlexVScan (  )  [inline, virtual]

Definition at line 92 of file vscan.cc.

References flex_.


Member Function Documentation

bool readNext ( string &  data  )  [virtual]

Definition at line 107 of file vscan.cc.

References StreamDecorator::C_LIGHT_PURPLE, StreamDecorator::C_NO_COLOR, flex_, VFlexLexer::postError(), and VFlexLexer::readNext().

Here is the call graph for this function:

virtual bool hasError (  )  const [inline, virtual]

Return true if any error was detected.

Implements IErrorSensitive.

Definition at line 96 of file vscan.cc.

References flex_, and VFlexLexer::hasError().

Here is the call graph for this function:

virtual bool readNext ( std::string &  token  )  [pure virtual, inherited]

Referenced by SyncReader::run().

Here is the caller graph for this function:


Member Data Documentation

VFlexLexer* flex_ [private]

superior (flex based) scanner

Definition at line 100 of file vscan.cc.

Referenced by FlexVScan(), hasError(), readNext(), and ~FlexVScan().


The documentation for this class was generated from the following file:
Generated on Fri Jul 10 22:42:11 2009 for rob08 by  doxygen 1.5.4