Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Tokenizer used to parse VLT files. More...
#include <VLTTokenizer.hpp>
Public Member Functions | |
VLTTokenizer () | |
VLCORE_EXPORT bool | getToken (VLTToken &token) |
VLCORE_EXPORT bool | getRawtextBlock (VLTToken &token) |
int | lineNumber () const |
Tokenizer used to parse VLT files.
Definition at line 75 of file VLTTokenizer.hpp.
vl::VLTTokenizer::VLTTokenizer | ( | ) | [inline] |
Definition at line 80 of file VLTTokenizer.hpp.
bool VLTTokenizer::getToken | ( | VLTToken & | token ) |
Definition at line 39 of file VLTTokenizer.cpp.
References vl::VLTToken::Boolean, vl::VLTToken::Equals, vl::Log::error(), getRawtextBlock(), vl::VLTToken::ID, vl::VLTToken::Identifier, vl::VLTToken::Integer, vl::BufferedStream< char, 128 *1024 >::isEndOfFile(), vl::VLTToken::LeftCurlyBracket, vl::VLTToken::LeftFancyBracket, vl::VLTToken::LeftRoundBracket, vl::VLTToken::LeftSquareBracket, vl::BufferedStream< char, 128 *1024 >::mBuffer, vl::VLTToken::mString, vl::VLTToken::mType, vl::Object::operator=(), vl::operator==(), vl::BufferedStream< char, 128 *1024 >::readTextChar(), vl::VLTToken::RightCurlyBracket, vl::VLTToken::RightFancyBracket, vl::VLTToken::RightRoundBracket, vl::VLTToken::RightSquareBracket, vl::VLTToken::String, vl::VLTToken::TagHeader, vl::VLTToken::TOKEN_EOF, vl::VLTToken::TOKEN_ERROR, and vl::BufferedStream< char, 128 *1024 >::ungetToken().
bool VLTTokenizer::getRawtextBlock | ( | VLTToken & | token ) |
Definition at line 569 of file VLTTokenizer.cpp.
References vl::VLTToken::mString, vl::VLTToken::mType, vl::VLTToken::RawtextBlock, vl::BufferedStream< char, 128 *1024 >::readTextChar(), vl::VLTToken::TOKEN_ERROR, and vl::BufferedStream< char, 128 *1024 >::ungetToken().
Referenced by getToken().
int vl::VLTTokenizer::lineNumber | ( | ) | const [inline] |
Definition at line 86 of file VLTTokenizer.hpp.