roadrunner  2.6.0
Fast simulator for SBML models
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
rr::Scanner Class Reference

Public Member Functions

int lineNumber ()
 
CodeTypes::CodeTypes token ()
 
void startScanner ()
 
bool IsQueueEmpty ()
 
char nextChar ()
 
std::string tokenToString (const CodeTypes::CodeTypes &code)
 
void AddTokenToQueue ()
 
void nextToken ()
 
void skipBlanks ()
 
void UnGetToken ()
 
void AssignStream (std::stringstream &str)
 

Public Attributes

std::string timeWord1
 
std::string timeWord2
 
std::string timeWord3
 
bool FromQueue
 
bool IgnoreNewLines
 
Token currentToken
 
char fch
 
Token previousToken
 
double tokenDouble
 
int tokenInteger
 
double tokenScalar
 
std::string tokenString
 

Protected Member Functions

void initScanner ()
 
char getCharFromBuffer ()
 
bool IsDoubleQuote (char ch)
 
void getNumber ()
 
void getSpecial ()
 
void getString ()
 
void getTokenFromQueue ()
 
void getWord ()
 
void nextTokenInternal ()
 

Protected Attributes

const char EOFCHAR
 
const char CR
 
const char LF
 
std::vector< TCharCode::TCharCode > FCharTable
 
std::vector< char > buffer
 
queue< TokentokenQueue
 
std::map< std::string, CodeTypes::CodeTypes > wordTable
 
std::stringstream * pStream
 
std::streamsize bufferLength
 
int bufferPtr
 
CodeTypes::CodeTypes ftoken
 
int yylineno
 

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