|
void | get_command_line (const int argc, const char *const *const argv) |
|
bool | arg_bool (const unsigned short &type, const string &arg) |
| return bool value More...
|
|
string | arg_value (const short &type, const string &arg) |
| return the value of argument More...
|
|
const vector< string > & | get_types () const |
|
void | set_types (const vector< string > &types) |
|
◆ arg_bool()
bool cmd::cmd_line::arg_bool |
( |
const unsigned short & |
type, |
|
|
const string & |
arg |
|
) |
| |
return bool value
- Parameters
-
- Returns
- bool
◆ arg_value()
string cmd::cmd_line::arg_value |
( |
const short & |
type, |
|
|
const string & |
arg |
|
) |
| |
return the value of argument
- Parameters
-
- Returns
- string: the value of argument
◆ get_command_line()
void cmd::cmd_line::get_command_line |
( |
const int |
argc, |
|
|
const char *const *const |
argv |
|
) |
| |
◆ get_opt_index()
short cmd::cmd_line::get_opt_index |
( |
const opt_type & |
opt | ) |
|
|
static |
◆ get_opt_types()
string cmd::cmd_line::get_opt_types |
( |
const opt_type & |
opt | ) |
|
|
static |
The documentation for this class was generated from the following files: