#include <CmdLineParser.hpp>
Public Attributes | |
| int | id |
| Unique option id, used to retrieve option values. | |
| char | shortopt |
| Short option char. | |
| const char * | longopt |
| Long option string. | |
| EArgumentTypeFlag | argtype |
| Specifies constraints for the option's argument. | |
| const char * | defaultValue |
| If argtype == E_OPTIONAL_ARG and no argument is specified, this value will be returned. | |
| const char * | description |
| Description used by getUsage(). | |
Definition at line 96 of file CmdLineParser.hpp.
Unique option id, used to retrieve option values.
Definition at line 99 of file CmdLineParser.hpp.
Referenced by BLOCXX_NAMESPACE::CmdLineParser::CmdLineParser().
Short option char.
Set to '\0' for none.
Definition at line 101 of file CmdLineParser.hpp.
Referenced by BLOCXX_NAMESPACE::CmdLineParser::CmdLineParser(), and BLOCXX_NAMESPACE::CmdLineParser::getUsage().
| const char* BLOCXX_NAMESPACE::CmdLineParser::Option::longopt |
Long option string.
Set to 0 for none.
Definition at line 103 of file CmdLineParser.hpp.
Referenced by BLOCXX_NAMESPACE::CmdLineParser::CmdLineParser(), and BLOCXX_NAMESPACE::CmdLineParserException::~CmdLineParserException().
Specifies constraints for the option's argument.
Definition at line 105 of file CmdLineParser.hpp.
Referenced by BLOCXX_NAMESPACE::CmdLineParser::CmdLineParser().
If argtype == E_OPTIONAL_ARG and no argument is specified, this value will be returned.
Set to 0 for none.
Definition at line 110 of file CmdLineParser.hpp.
Referenced by BLOCXX_NAMESPACE::CmdLineParser::CmdLineParser().
1.5.3