![]() |
MAK Data Logger API Documentation for DIS
|
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", bool allocateConsole=true) | |
| void | addUnlabeled (DtCmdLine::Arg *a) |
| Add an unlabeled argument. More... | |
| bool | parseInput (int argc, char *const *argv) |
| Parse the input. More... | |
Protected Attributes | |
| DtCmdLine::Arg * | myUnlabeledArgument |
| The unlabeled argument if it exists. More... | |
| bool | myAllocateConsole |
Logger Command line object for parsing command input.
|
inlineexplicit |
|
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.
|
inline |
Parse the input.
| true | Parse was successful. |
| false | Parse was unsuccessful. |
References MAKLogger::DtLgrConsole::allocateConsole(), myAllocateConsole, and myUnlabeledArgument.
|
protected |
Referenced by parseInput().
|
protected |
The unlabeled argument if it exists.
Referenced by addUnlabeled(), and parseInput().