Logger Command line object for parsing command input. More...
Inheritance diagram for MAKLogger::DtLgrCmdLine:
Collaboration diagram for MAKLogger::DtLgrCmdLine:Public Member Functions | |
| DtLgrCmdLine (const std::string &message, const char delimiter= ' ', const std::string &version="none") | |
| void | addUnlabeled (DtCmdLine::Arg *a) |
| Add an unlabeled argument. | |
| bool | parseInput (int argc, char *const *argv) |
| Parse the input. | |
Protected Attributes | |
| DtCmdLine::Arg * | myUnlabeledArgument |
| The unlabeled argument if it exists. | |
Logger Command line object for parsing command input.
| void MAKLogger::DtLgrCmdLine::addUnlabeled | ( | DtCmdLine::Arg * | a | ) | [inline] |
Add an unlabeled argument.
This argument cannot accept values beginning with the argument flag. There can be only one argument specified as unlabeled. Subsequent additions override any previous one and only the last is restricted.
References myUnlabeledArgument.
| bool MAKLogger::DtLgrCmdLine::parseInput | ( | int | argc, |
| char *const * | argv | ||
| ) | [inline] |
Parse the input.
| true | Parse was successful. |
| false | Parse was unsuccessful. |
References myUnlabeledArgument.