libcopp  1.1.0
Public Types | Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
util::cli::binder::cmd_option_bindt< _F, _PL > Class Template Reference

#include <cmd_option_bindt_base.h>

Inheritance diagram for util::cli::binder::cmd_option_bindt< _F, _PL >:
Inheritance graph
Collaboration diagram for util::cli::binder::cmd_option_bindt< _F, _PL >:
Collaboration graph

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_baseset_help_msg (const char *help_msg)
virtual std::shared_ptr< cmd_option_bind_baseadd_help_msg (const char *help_msg)

Protected Types

typedef std::vector< help_msg_thelp_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"

Detailed Description

template<class _F, class _PL>
class util::cli::binder::cmd_option_bindt< _F, _PL >

Definition at line 30 of file cmd_option_bindt_base.h.

Member Typedef Documentation

typedef std::vector<help_msg_t> util::cli::binder::cmd_option_bind_base::help_list_t

Definition at line 41 of file cmd_option_list.h.

Definition at line 50 of file cmd_option_list.h.

template<class _F , class _PL >
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.

Constructor & Destructor Documentation

template<class _F , class _PL >
util::cli::binder::cmd_option_bindt< _F, _PL >::cmd_option_bindt ( _F  f,
_PL  l 

Definition at line 38 of file cmd_option_bindt_base.h.

Member Function Documentation

virtual std::shared_ptr<cmd_option_bind_base> util::cli::binder::cmd_option_bind_base::add_help_msg ( const char *  help_msg)

Definition at line 64 of file cmd_option_list.h.

virtual std::string util::cli::binder::cmd_option_bind_base::get_help_msg ( const char *  prefix_data = "") const

Reimplemented in util::cli::cmd_option_bind< TCmdStr >.

Definition at line 55 of file cmd_option_list.h.

template<class _F , class _PL >
void util::cli::binder::cmd_option_bindt< _F, _PL >::operator() ( callback_param  args)
virtual std::shared_ptr<cmd_option_bind_base> util::cli::binder::cmd_option_bind_base::set_help_msg ( const char *  help_msg)

Definition at line 58 of file cmd_option_list.h.

static bool util::cli::binder::cmd_option_bind_base::sort_by_all_cmds ( const help_msg_t l,
const help_msg_t r 

Field Documentation

template<class _F , class _PL >
_F util::cli::binder::cmd_option_bindt< _F, _PL >::func_obj_

Definition at line 32 of file cmd_option_bindt_base.h.

std::string util::cli::binder::cmd_option_bind_base::help_msg_
template<class _F , class _PL >
_PL util::cli::binder::cmd_option_bindt< _F, _PL >::param_list_
const char * util::cli::binder::cmd_option_bind_base::ROOT_NODE_CMD = "@Root"

Definition at line 34 of file cmd_option_list.h.

Referenced by util::cli::cmd_option_bind< TCmdStr >::run_cmd().

The documentation for this class was generated from the following file: