Numeric option for shell parsing. More...
#include <shell.h>


Public Member Functions | |
| numericopt (char short_option, const char *long_option=NULL, const char *help=NULL, const char *type="numeric", long def_value=0) | |
| operator bool () | |
| operator long () | |
| bool | operator! () |
| long | operator* () |
Protected Member Functions | |
| virtual const char * | assign (const char *value) |
| Used to send option into derived receiver. | |
Protected Attributes | |
| long | number |
Numeric option for shell parsing.
This offers a quick-use class to parse a shell flag, along with a numberic value that may be saved and a use counter, as multiple invokations is an error.
Definition at line 415 of file shell.h.
| virtual const char* ucc::shell::numericopt::assign | ( | const char * | value | ) | [protected, virtual] |
Used to send option into derived receiver.
| value | option that was received. |
Implements ucc::shell::Option.
1.6.3