specialization of argument for integer options or parameters
Definition at line 141 of file cmdline.h.
|
| argument_int (char key, const std::string &longkey, const std::string &keytype, const std::string &desc, bool required, int &dest) |
| contructor filling most attributes More...
|
|
virtual void | print_value (std::ostream &os) const |
| format value to ostream More...
|
|
virtual bool | process (int &argc, const char *const *&argv) |
| parse signed integer using sscanf. More...
|
|
virtual const char * | type_name () const |
| return formatted type name to user More...
|
|
| argument (char key, const std::string &longkey, const std::string &keytype, const std::string &desc, bool required) |
| contructor filling most attributes More...
|
|
virtual | ~argument () |
| empty virtual destructor More...
|
|
std::string | option_text () const |
| return '-s, –longkey [keytype]' More...
|
|
std::string | param_text () const |
| return 'longkey [keytype]' More...
|
|