Public Member Functions | |
PlainFileParser (std::string filename) | |
template<typename T > | |
T | read () |
std::string | readLine () |
bool | ready () |
virtual | ~PlainFileParser () |
opentl::core::parser::PlainFileParser::PlainFileParser | ( | std::string | filename | ) | [inline] |
open a file handle for the specified file
virtual opentl::core::parser::PlainFileParser::~PlainFileParser | ( | ) | [inline, virtual] |
close file handle
T opentl::core::parser::PlainFileParser::read | ( | ) | [inline] |
read next token from file-handle
std::string opentl::core::parser::PlainFileParser::readLine | ( | ) | [inline] |
read a whole line from the file-handle
bool opentl::core::parser::PlainFileParser::ready | ( | ) | [inline] |
check status