libcopp  1.1.0
Data Structures | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
util::cli::binder::cmd_option_bind_base Class Referenceabstract

#include <cmd_option_list.h>

Inheritance diagram for util::cli::binder::cmd_option_bind_base:
Inheritance graph
Collaboration diagram for util::cli::binder::cmd_option_bind_base:
Collaboration graph

Data Structures

struct  help_msg_t

Public Types

typedef callback_param param_type

Public Member Functions

virtual void operator() (callback_param arg)=0
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

Protected Member Functions

virtual ~cmd_option_bind_base ()

Static Protected Member Functions

static bool sort_by_all_cmds (const help_msg_t &l, const help_msg_t &r)

Protected Attributes

std::string help_msg_

Static Protected Attributes

static const char * ROOT_NODE_CMD = "@Root"

Detailed Description

Definition at line 32 of file cmd_option_list.h.

Member Typedef Documentation

Definition at line 41 of file cmd_option_list.h.

Definition at line 50 of file cmd_option_list.h.

Constructor & Destructor Documentation

virtual util::cli::binder::cmd_option_bind_base::~cmd_option_bind_base ( )

Definition at line 44 of file cmd_option_list.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.

virtual void util::cli::binder::cmd_option_bind_base::operator() ( callback_param  arg)
pure virtual
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

std::string util::cli::binder::cmd_option_bind_base::help_msg_
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 files: