RigsofRods
Soft-body Physics Simulation
|
Public Member Functions | |
DocumentParser (GenericDocument &d, const BitMask_t opt, Ogre::DataStreamPtr ds) | |
void | ProcessChar (const char c) |
void | ProcessEOF () |
void | ProcessSeparatorWithinBool () |
void | BeginToken (const char c) |
void | UpdateComment (const char c) |
void | UpdateString (const char c) |
void | UpdateNumber (const char c) |
void | UpdateBool (const char c) |
void | UpdateKeyword (const char c) |
void | UpdateTitle (const char c) |
void | UpdateGarbage (const char c) |
void | DiscontinueBool () |
void | DiscontinueNumber () |
void | DiscontinueKeyword () |
void | FlushStringishToken (RoR::TokenType type) |
void | FlushNumericToken () |
Data Fields | |
GenericDocument & | doc |
const BitMask_t | options |
Ogre::DataStreamPtr | datastream |
std::vector< char > | tok |
size_t | line_num = 0 |
size_t | line_pos = 0 |
PartialToken | partial_tok_type = PartialToken::NONE |
bool | title_found = false |
Definition at line 53 of file GenericFileFormat.cpp.
|
inline |
Definition at line 55 of file GenericFileFormat.cpp.
void DocumentParser::BeginToken | ( | const char | c | ) |
void DocumentParser::DiscontinueBool | ( | ) |
Definition at line 734 of file GenericFileFormat.cpp.
void DocumentParser::DiscontinueKeyword | ( | ) |
Definition at line 752 of file GenericFileFormat.cpp.
void DocumentParser::DiscontinueNumber | ( | ) |
Definition at line 744 of file GenericFileFormat.cpp.
void DocumentParser::FlushNumericToken | ( | ) |
Definition at line 916 of file GenericFileFormat.cpp.
void DocumentParser::FlushStringishToken | ( | RoR::TokenType | type | ) |
Definition at line 907 of file GenericFileFormat.cpp.
void DocumentParser::ProcessChar | ( | const char | c | ) |
void DocumentParser::ProcessEOF | ( | ) |
void DocumentParser::ProcessSeparatorWithinBool | ( | ) |
void DocumentParser::UpdateBool | ( | const char | c | ) |
void DocumentParser::UpdateComment | ( | const char | c | ) |
Definition at line 277 of file GenericFileFormat.cpp.
void DocumentParser::UpdateGarbage | ( | const char | c | ) |
void DocumentParser::UpdateKeyword | ( | const char | c | ) |
void DocumentParser::UpdateNumber | ( | const char | c | ) |
void DocumentParser::UpdateString | ( | const char | c | ) |
void DocumentParser::UpdateTitle | ( | const char | c | ) |
Definition at line 859 of file GenericFileFormat.cpp.
Ogre::DataStreamPtr DocumentParser::datastream |
Definition at line 61 of file GenericFileFormat.cpp.
GenericDocument& DocumentParser::doc |
Definition at line 59 of file GenericFileFormat.cpp.
size_t DocumentParser::line_num = 0 |
Definition at line 65 of file GenericFileFormat.cpp.
size_t DocumentParser::line_pos = 0 |
Definition at line 66 of file GenericFileFormat.cpp.
const BitMask_t DocumentParser::options |
Definition at line 60 of file GenericFileFormat.cpp.
PartialToken DocumentParser::partial_tok_type = PartialToken::NONE |
Definition at line 67 of file GenericFileFormat.cpp.
bool DocumentParser::title_found = false |
Definition at line 68 of file GenericFileFormat.cpp.
std::vector<char> DocumentParser::tok |
Definition at line 64 of file GenericFileFormat.cpp.