GOP_Parser Class Reference

#include <GOP_Parser.h>

Inheritance diagram for GOP_Parser:

GOP_BreakpointGroupParser GOP_EdgeGroupParser GOP_VertexGroupParser SOP_FacePointParser SOP_PolyKnitParser SOP_SplitPointParser

List of all members.

Public Member Functions

 GOP_Parser (const UT_String &str)
virtual ~GOP_Parser ()
virtual int doIt ()

Protected Member Functions

virtual void handleStart ()=0
virtual void handleError ()=0
void startToken ()
void endToken ()
virtual bool dispatch (char c)=0
virtual void parseDispatcher ()
virtual void init ()
virtual void finish ()
bool getInt (int &retval, unsigned state)
bool getFloat (float &retval, unsigned state)
bool isChar (char c)
bool isSpace (char c)

Protected Attributes

UT_String myString
char * myTokBegin
char * myTokEnd
char * myTokLastGood
unsigned myCurrentState
int myReturnVal
char myTempChar


Detailed Description

Definition at line 38 of file GOP_Parser.h.


Constructor & Destructor Documentation

GOP_Parser::GOP_Parser ( const UT_String str  ) 

virtual GOP_Parser::~GOP_Parser (  )  [inline, virtual]

Definition at line 42 of file GOP_Parser.h.


Member Function Documentation

virtual bool GOP_Parser::dispatch ( char  c  )  [protected, pure virtual]

virtual int GOP_Parser::doIt (  )  [virtual]

void GOP_Parser::endToken (  )  [protected]

virtual void GOP_Parser::finish (  )  [protected, virtual]

bool GOP_Parser::getFloat ( float &  retval,
unsigned  state 
) [protected]

bool GOP_Parser::getInt ( int &  retval,
unsigned  state 
) [protected]

virtual void GOP_Parser::handleError (  )  [protected, pure virtual]

virtual void GOP_Parser::handleStart (  )  [protected, pure virtual]

virtual void GOP_Parser::init (  )  [protected, virtual]

bool GOP_Parser::isChar ( char  c  )  [protected]

bool GOP_Parser::isSpace ( char  c  )  [inline, protected]

Definition at line 89 of file GOP_Parser.h.

virtual void GOP_Parser::parseDispatcher (  )  [protected, virtual]

void GOP_Parser::startToken (  )  [protected]


Member Data Documentation

unsigned GOP_Parser::myCurrentState [protected]

Definition at line 97 of file GOP_Parser.h.

int GOP_Parser::myReturnVal [protected]

Definition at line 98 of file GOP_Parser.h.

Definition at line 51 of file GOP_Parser.h.

char GOP_Parser::myTempChar [protected]

Definition at line 101 of file GOP_Parser.h.

char* GOP_Parser::myTokBegin [protected]

Definition at line 94 of file GOP_Parser.h.

char* GOP_Parser::myTokEnd [protected]

Definition at line 95 of file GOP_Parser.h.

char* GOP_Parser::myTokLastGood [protected]

Definition at line 96 of file GOP_Parser.h.


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

Generated on Thu May 24 00:09:38 2012 for HDK by  doxygen 1.5.9