HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GOP_Parser Class Referenceabstract

#include <GOP_Parser.h>

+ Inheritance diagram for GOP_Parser:

Public Member Functions

 GOP_Parser (const UT_String &str)
 
 GOP_Parser (const UT_StringHolder &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 (GA_Index &retval, unsigned state)
 
bool getInt (int &retval, unsigned state)
 
bool getFloat (float &retval, unsigned state)
 
bool getFloat (double &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 30 of file GOP_Parser.h.

Constructor & Destructor Documentation

GOP_Parser::GOP_Parser ( const UT_String str)
GOP_Parser::GOP_Parser ( const UT_StringHolder str)
virtual GOP_Parser::~GOP_Parser ( )
inlinevirtual

Definition at line 35 of file GOP_Parser.h.

Member Function Documentation

virtual bool GOP_Parser::dispatch ( char  c)
protectedpure virtual
virtual int GOP_Parser::doIt ( )
virtual
void GOP_Parser::endToken ( )
protected
virtual void GOP_Parser::finish ( )
protectedvirtual
bool GOP_Parser::getFloat ( float &  retval,
unsigned  state 
)
protected
bool GOP_Parser::getFloat ( double &  retval,
unsigned  state 
)
protected
bool GOP_Parser::getInt ( GA_Index retval,
unsigned  state 
)
protected
bool GOP_Parser::getInt ( int retval,
unsigned  state 
)
protected
virtual void GOP_Parser::handleError ( )
protectedpure virtual
virtual void GOP_Parser::handleStart ( )
protectedpure virtual
virtual void GOP_Parser::init ( )
protectedvirtual
bool GOP_Parser::isChar ( char  c)
protected
bool GOP_Parser::isSpace ( char  c)
inlineprotected

Definition at line 84 of file GOP_Parser.h.

virtual void GOP_Parser::parseDispatcher ( )
protectedvirtual
void GOP_Parser::startToken ( )
protected

Member Data Documentation

unsigned GOP_Parser::myCurrentState
protected

Definition at line 92 of file GOP_Parser.h.

int GOP_Parser::myReturnVal
protected

Definition at line 93 of file GOP_Parser.h.

UT_String GOP_Parser::myString
protected

Definition at line 44 of file GOP_Parser.h.

char GOP_Parser::myTempChar
protected

Definition at line 96 of file GOP_Parser.h.

char* GOP_Parser::myTokBegin
protected

Definition at line 89 of file GOP_Parser.h.

char* GOP_Parser::myTokEnd
protected

Definition at line 90 of file GOP_Parser.h.

char* GOP_Parser::myTokLastGood
protected

Definition at line 91 of file GOP_Parser.h.


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