OSGScanParseLexer Class Reference

#include <OSGScanParseLexer.h>

List of all members.

Public Member Functions

 OSGScanParseLexer (std::istream *arg_yyin=0, std::ostream *arg_yyout=0)
virtual ~OSGScanParseLexer (void)
int yylex (YYSTYPE *lvalp)
void expectType (osg::Int32 iType)
void expectImageInts (osg::Int32 imageIntsExpected)

Protected Attributes

YYSTYPE * lvalp
std::string tmpStr
osg::Int32 expectToken
osg::Int32 imageIntsExpected

Private Types

typedef OSGScanParseSkel_FlexLexer Inherited

Private Member Functions

 OSGScanParseLexer (const OSGScanParseLexer &source)
 prohibit default function (move to 'public' if needed)
void operator= (const OSGScanParseLexer &source)
 prohibit default function (move to 'public' if needed)
virtual int yylex ()

Detailed Description

Definition at line 83 of file OSGScanParseLexer.h.


Member Typedef Documentation

typedef OSGScanParseSkel_FlexLexer OSGScanParseLexer::Inherited [private]

Definition at line 91 of file OSGScanParseLexer.h.


Constructor & Destructor Documentation

OSGScanParseLexer::OSGScanParseLexer ( const OSGScanParseLexer source  )  [private]
OSGScanParseLexer::OSGScanParseLexer ( std::istream *  arg_yyin = 0,
std::ostream *  arg_yyout = 0 
)

Definition at line 98 of file OSGScanParseLexer.cpp.

00099                                                                       :
00100      Inherited       (arg_yyin,
00101                       arg_yyout),
00102 
00103     lvalp            (        0),
00104     expectToken      (        0),
00105     imageIntsExpected(        0)
00106 {
00107 }

OSGScanParseLexer::~OSGScanParseLexer ( void   )  [virtual]

Definition at line 109 of file OSGScanParseLexer.cpp.

00110 {
00111 }


Member Function Documentation

void OSGScanParseLexer::operator= ( const OSGScanParseLexer source  )  [private]
virtual int OSGScanParseLexer::yylex (  )  [private, virtual]

Referenced by osg::ScanParseSkel::lex(), and yylex().

int OSGScanParseLexer::yylex ( YYSTYPE *  lvalp  )  [inline]

Definition at line 197 of file OSGScanParseLexer.h.

References yylex().

00198     {
00199         this->lvalp = lvalp;
00200         return yylex();
00201     }

void OSGScanParseLexer::expectType ( osg::Int32  iType  )  [inline]

Definition at line 205 of file OSGScanParseLexer.h.

References expectToken.

00206     { expectToken = iType; }

void OSGScanParseLexer::expectImageInts ( osg::Int32  imageIntsExpected  )  [inline]

Definition at line 208 of file OSGScanParseLexer.h.

Referenced by osg::ScanParseSkel::beginImage().


Member Data Documentation

YYSTYPE* OSGScanParseLexer::lvalp [protected]

Definition at line 170 of file OSGScanParseLexer.h.

std::string OSGScanParseLexer::tmpStr [protected]

Definition at line 172 of file OSGScanParseLexer.h.

osg ::Int32 OSGScanParseLexer::expectToken [protected]

Definition at line 173 of file OSGScanParseLexer.h.

Referenced by expectType().

osg ::Int32 OSGScanParseLexer::imageIntsExpected [protected]

Definition at line 174 of file OSGScanParseLexer.h.


The documentation for this class was generated from the following files:

Generated on 8 Feb 2010 for OpenSG by  doxygen 1.6.1