#include <shell.h>
Inheritance diagram for ucommon::shell::charopt:
Public Member Functions | |
charopt (char short_option, char *long_option=((void *) 0), char *help=((void *) 0), char *type="char", char default_code= ' ') | |
char | operator * () |
operator bool () | |
operator char () | |
bool | operator! () |
void | set (char value) |
Protected Member Functions | |
virtual char * | assign (char *value) |
Used to send option into derived receiver. | |
Protected Attributes | |
char | code |
This offers a quick-use class to parse a shell flag, along with a character code that may be saved. Multiple invocations is an error.
Definition at line 314 of file shell.h.
virtual char* ucommon::shell::charopt::assign | ( | char * | value | ) | [protected, virtual] |
Used to send option into derived receiver.
value | option that was received. |
Implements ucommon::shell::Option.