ScummVM API documentation
VCruise::TextParser Class Reference

Public Member Functions

 TextParser (Common::ReadStream *stream)
 
bool parseToken (Common::String &outString, TextParserState &outState)
 
bool readOneChar (char &outC, TextParserState &outState)
 
bool skipWhitespaceAndComments (char &outC, TextParserState &outState)
 
void requeue (const char *chars, uint numChars, const TextParserState &state)
 
void requeue (const Common::String &str, const TextParserState &state)
 
void expectToken (Common::String &outToken, const Common::Path &blamePath)
 
void expectShort (int16 &outInt, const Common::Path &blamePath)
 
void expectInt (int &outInt, const Common::Path &blamePath)
 
void expectUInt (uint &outUInt, const Common::Path &blamePath)
 
void expectLine (Common::String &outToken, const Common::Path &blamePath, bool continueToNextLine)
 
void expect (const char *str, const Common::Path &blamePath)
 
void skipToEOL ()
 
bool checkEOL ()
 

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