![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtArgumentParser () | |
| virtual | ~DtArgumentParser ()=0 |
| void | processArguments (const DtArguments &arguments) |
Protected Member Functions | |
| std::string | getArgument () const |
| unsigned | numArgumentsLeft () const |
| std::string | convertToLower (const std::string &inputString) const |
| virtual void | bounce () |
| virtual void | process (const std::string &argument) |
| virtual void | processSwitch (const std::string &argument) |
| virtual void | processNonSwitch (const std::string &argument) |
| void | readString (std::string &stringRead) |
| void | peekString (std::string &stringRead) const |
| void | readFilename (DtFilename &filenameRead) |
| void | readDouble (double &doubleRead) |
| void | readVector (DtVector &vectorRead) |
| void | readInt (int &intRead) |
| void | readUnsigned (unsigned &unsignedRead) |
| void | readBool (bool &boolRead) |
| bool | validFilename (const std::string &argument) const |
| bool | validInt (const std::string &argument) const |
| bool | validUnsigned (const std::string &argument) const |
| bool | validDouble (const std::string &argument) const |
| void | unknownArgument () const |
| void | argumentError (const char *message) const |
| virtual void | parseA () |
| virtual void | parseB () |
| virtual void | parseC () |
| virtual void | parseD () |
| virtual void | parseE () |
| virtual void | parseF () |
| virtual void | parseG () |
| virtual void | parseH () |
| virtual void | parseI () |
| virtual void | parseJ () |
| virtual void | parseK () |
| virtual void | parseL () |
| virtual void | parseM () |
| virtual void | parseN () |
| virtual void | parseO () |
| virtual void | parseP () |
| virtual void | parseQ () |
| virtual void | parseR () |
| virtual void | parseS () |
| virtual void | parseT () |
| virtual void | parseU () |
| virtual void | parseV () |
| virtual void | parseW () |
| virtual void | parseX () |
| virtual void | parseY () |
| virtual void | parseZ () |
| virtual void | parseDoubleDash () |
Private Member Functions | |
| DtArgumentParser & | operator= (const DtArgumentParser &other) |
| DtArgumentParser (const DtArgumentParser &other) | |
| bool | isSwitch (const std::string &argument) const |
| void | errorInRead (const std::string &value, const std::string &expectedType) const |
| void | validateExistence (unsigned numExpectedArguments, const std::string &expectedArgumentsDescription) const |
Private Attributes | |
| DtArguments::DtArgumentConstIter | myArgumentsIter |
| std::string | myCurrentArgument |
| const DtArguments * | myArguments |
| virtual DtArgumentParser::~DtArgumentParser | ( | ) | [pure virtual] |
| DtArgumentParser::DtArgumentParser | ( | const DtArgumentParser & | other | ) | [private] |
| void DtArgumentParser::processArguments | ( | const DtArguments & | arguments | ) |
| std::string DtArgumentParser::getArgument | ( | ) | const [protected] |
| unsigned DtArgumentParser::numArgumentsLeft | ( | ) | const [protected] |
| void DtArgumentParser::readString | ( | std::string & | stringRead | ) | [protected] |
| void DtArgumentParser::peekString | ( | std::string & | stringRead | ) | const [protected] |
| void DtArgumentParser::readFilename | ( | DtFilename & | filenameRead | ) | [protected] |
| void DtArgumentParser::readDouble | ( | double & | doubleRead | ) | [protected] |
| void DtArgumentParser::readVector | ( | DtVector & | vectorRead | ) | [protected] |
| void DtArgumentParser::readInt | ( | int & | intRead | ) | [protected] |
| void DtArgumentParser::readUnsigned | ( | unsigned & | unsignedRead | ) | [protected] |
| void DtArgumentParser::readBool | ( | bool & | boolRead | ) | [protected] |
| bool DtArgumentParser::validFilename | ( | const std::string & | argument | ) | const [protected] |
| bool DtArgumentParser::validInt | ( | const std::string & | argument | ) | const [protected] |
| bool DtArgumentParser::validUnsigned | ( | const std::string & | argument | ) | const [protected] |
| bool DtArgumentParser::validDouble | ( | const std::string & | argument | ) | const [protected] |
| void DtArgumentParser::unknownArgument | ( | ) | const [protected] |
| void DtArgumentParser::argumentError | ( | const char * | message | ) | const [protected] |
| std::string DtArgumentParser::convertToLower | ( | const std::string & | inputString | ) | const [protected] |
| virtual void DtArgumentParser::bounce | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::process | ( | const std::string & | argument | ) | [protected, virtual] |
| virtual void DtArgumentParser::processSwitch | ( | const std::string & | argument | ) | [protected, virtual] |
| virtual void DtArgumentParser::processNonSwitch | ( | const std::string & | argument | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseA | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseB | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseC | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseD | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseE | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseF | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseG | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseH | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseI | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseJ | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseK | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseL | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseM | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseN | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseO | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseP | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseQ | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseR | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseS | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseT | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseU | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseV | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseW | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseX | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseY | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseZ | ( | ) | [protected, virtual] |
| virtual void DtArgumentParser::parseDoubleDash | ( | ) | [protected, virtual] |
| DtArgumentParser& DtArgumentParser::operator= | ( | const DtArgumentParser & | other | ) | [private] |
| bool DtArgumentParser::isSwitch | ( | const std::string & | argument | ) | const [private] |
| void DtArgumentParser::errorInRead | ( | const std::string & | value, |
| const std::string & | expectedType | ||
| ) | const [private] |
| void DtArgumentParser::validateExistence | ( | unsigned | numExpectedArguments, |
| const std::string & | expectedArgumentsDescription | ||
| ) | const [private] |
std::string DtArgumentParser::myCurrentArgument [private] |
const DtArguments* DtArgumentParser::myArguments [private] |