#include <shell.h>
Inheritance diagram for ucommon::shell::numericopt:


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