libcopp
2.2.0
|
#include <cmd_option_bindt_base.h>
Public Types | |
typedef cmd_option_bindt | this_type |
typedef callback_param | param_type |
Public Member Functions | |
cmd_option_bindt (_F f, _PL l) | |
void | operator() (callback_param args) |
virtual std::string | get_help_msg (const char *prefix_data="") const |
virtual std::shared_ptr< cmd_option_bind_base > | set_help_msg (const char *help_msg) |
virtual std::shared_ptr< cmd_option_bind_base > | add_help_msg (const char *help_msg) |
Protected Types | |
typedef std::vector< help_msg_t > | help_list_t |
Static Protected Member Functions | |
static bool | sort_by_all_cmds (const help_msg_t &l, const help_msg_t &r) |
Protected Attributes | |
_F | func_obj_ |
_PL | param_list_ |
std::string | help_msg_ |
Static Protected Attributes | |
static const char * | ROOT_NODE_CMD = "@Root" |
Definition at line 30 of file cmd_option_bindt_base.h.
|
protectedinherited |
Definition at line 41 of file cmd_option_list.h.
|
inherited |
Definition at line 50 of file cmd_option_list.h.
typedef cmd_option_bindt util::cli::binder::cmd_option_bindt< _F, _PL >::this_type |
Definition at line 36 of file cmd_option_bindt_base.h.
|
inline |
Definition at line 38 of file cmd_option_bindt_base.h.
|
inlinevirtualinherited |
Definition at line 64 of file cmd_option_list.h.
References util::cli::binder::cmd_option_bind_base::help_msg_.
|
inlinevirtualinherited |
Reimplemented in util::cli::cmd_option_bind< TCmdStr >.
Definition at line 55 of file cmd_option_list.h.
References util::cli::binder::cmd_option_bind_base::help_msg_.
|
inlinevirtual |
Implements util::cli::binder::cmd_option_bind_base.
Definition at line 40 of file cmd_option_bindt_base.h.
References util::cli::binder::cmd_option_bindt< _F, _PL >::func_obj_, and util::cli::binder::cmd_option_bindt< _F, _PL >::param_list_.
|
inlinevirtualinherited |
Definition at line 58 of file cmd_option_list.h.
References util::cli::binder::cmd_option_bind_base::help_msg_.
|
inlinestaticprotectedinherited |
Definition at line 46 of file cmd_option_list.h.
References util::cli::binder::cmd_option_bind_base::help_msg_t::all_cmds.
Referenced by util::cli::cmd_option_bind< TCmdStr >::dump().
|
protected |
Definition at line 32 of file cmd_option_bindt_base.h.
Referenced by util::cli::binder::cmd_option_bindt< _F, _PL >::operator()().
|
protectedinherited |
|
protected |
Definition at line 33 of file cmd_option_bindt_base.h.
Referenced by util::cli::binder::cmd_option_bindt< _F, _PL >::operator()().
|
staticprotectedinherited |
Definition at line 34 of file cmd_option_list.h.
Referenced by util::cli::cmd_option_bind< TCmdStr >::run_cmd().