Public Member Functions | |
command_line (const char *name) | |
~command_line () | |
void | print_help () |
void | add_option (option_base &o) |
option_base * | find_option (char o) const |
bool | handle (int argc, char **argv) |
bool | got_help () const |
Protected Types | |
typedef std::map< char, option_base * > | option_map |
Protected Attributes | |
option_map | _options |
std::string | _name |
option< bool > | _help_opt |
|
|
|
Definition at line 91 of file server.cc. References _help_opt, _name, _options, and add_option(). |
|
|
|
Definition at line 106 of file server.cc. References _options, find_option(), and option_base::opt(). Referenced by command_line(), and main(). |
|
Definition at line 114 of file server.cc. References _options. Referenced by add_option(), and handle(). |
|
Definition at line 140 of file server.cc. References _help_opt. Referenced by main(). |
|
Definition at line 119 of file server.cc. References _help_opt, _name, find_option(), option_base::handle(), option_base::need_arg(), and print_help(). Referenced by main(). |
|
Definition at line 99 of file server.cc. References _name, and _options. Referenced by handle(). |
|
Definition at line 145 of file server.cc. Referenced by command_line(), got_help(), and handle(). |
|
Definition at line 144 of file server.cc. Referenced by command_line(), handle(), and print_help(). |
|
Definition at line 143 of file server.cc. Referenced by add_option(), command_line(), find_option(), and print_help(). |