#include <LineParser.h>
Public Member Functions | |
int32_t | GetPosition () |
LineParser (const std::string &line) | |
uint32_t | PeekUInt () |
std::string | ReadCIdentifier () |
std::string | ReadCIdentifier (std::string fieldName) |
double | ReadDouble () |
double | ReadDouble (std::string fieldName) |
int32_t | ReadInt () |
char | ReadNextChar (std::string fieldName) |
std::string | ReadQuotedString () |
uint32_t | ReadUInt () |
uint32_t | ReadUInt (std::string fieldName) |
void | SeekSeparator (char separator) |
~LineParser () | |
Private Member Functions | |
bool | AtEOL () |
char | ReadNextChar () |
void | SkipWhitespace () |
Private Attributes | |
std::string | _line |
int32_t | _position |
Definition at line 83 of file LineParser.h.
NewEagle::LineParser::LineParser | ( | const std::string & | line | ) |
Definition at line 39 of file LineParser.cpp.
Definition at line 45 of file LineParser.cpp.
bool NewEagle::LineParser::AtEOL | ( | ) | [private] |
Definition at line 103 of file LineParser.cpp.
int32_t NewEagle::LineParser::GetPosition | ( | ) |
Definition at line 49 of file LineParser.cpp.
uint32_t NewEagle::LineParser::PeekUInt | ( | ) |
Definition at line 138 of file LineParser.cpp.
std::string NewEagle::LineParser::ReadCIdentifier | ( | ) |
Definition at line 54 of file LineParser.cpp.
std::string NewEagle::LineParser::ReadCIdentifier | ( | std::string | fieldName | ) |
Definition at line 82 of file LineParser.cpp.
double NewEagle::LineParser::ReadDouble | ( | ) |
Definition at line 273 of file LineParser.cpp.
double NewEagle::LineParser::ReadDouble | ( | std::string | fieldName | ) |
Definition at line 371 of file LineParser.cpp.
int32_t NewEagle::LineParser::ReadInt | ( | ) |
Definition at line 229 of file LineParser.cpp.
char NewEagle::LineParser::ReadNextChar | ( | std::string | fieldName | ) |
Definition at line 124 of file LineParser.cpp.
char NewEagle::LineParser::ReadNextChar | ( | ) | [private] |
Definition at line 108 of file LineParser.cpp.
std::string NewEagle::LineParser::ReadQuotedString | ( | ) |
Definition at line 395 of file LineParser.cpp.
uint32_t NewEagle::LineParser::ReadUInt | ( | ) |
Definition at line 178 of file LineParser.cpp.
uint32_t NewEagle::LineParser::ReadUInt | ( | std::string | fieldName | ) |
Definition at line 216 of file LineParser.cpp.
void NewEagle::LineParser::SeekSeparator | ( | char | separator | ) |
Definition at line 385 of file LineParser.cpp.
void NewEagle::LineParser::SkipWhitespace | ( | ) | [private] |
Definition at line 95 of file LineParser.cpp.
std::string NewEagle::LineParser::_line [private] |
Definition at line 104 of file LineParser.h.
int32_t NewEagle::LineParser::_position [private] |
Definition at line 103 of file LineParser.h.