#include <cli_arg.h>


Definition at line 181 of file cli_arg.h.
Public Member Functions | |
| cfg_CliPool (UInt32_t a_argc, char *a_argv[]) | |
| virtual | ~cfg_CliPool () |
| virtual void | HelpDump () |
| it it called at cc_HELP command each cli must implement its own method base HelpDump display common help | |
Public Attributes | |
| bool | force |
Private Attributes | |
| log_CLASSID_m | |
| cfg_CliPool::cfg_CliPool | ( | UInt32_t | a_argc, | |
| char * | a_argv[] | |||
| ) |
Definition at line 1490 of file cfg_cliarg.cpp.
References val_RuleVec::Add(), ap_ooForce, cfg_MAX_CLI_ARGLEN, cfg_MIN_CLI_ARGLEN, dbg_DETAIL, force, cfg_CliBase::GetRules(), log_DBG_m, log_FUNC_m, ap_Argument::m_long, ap_Argument::Parse(), and cfg_CliBase::Refresh().
01491 : cfg_CliBase(), 01492 force(false) { 01493 01494 log_FUNC_m(cfg_CliPool); 01495 01496 pf_ValueList parsed; 01497 ivdPool.Parse(a_argc, a_argv, parsed); 01498 01499 log_DBG_m(dbg_DETAIL, 01500 "Parsed options: " << endl << parsed ); 01501 01502 GetRules().Add( 01503 new val_Bool( 01504 ap_ooForce.m_long,val_Limit(cfg_MIN_CLI_ARGLEN, cfg_MAX_CLI_ARGLEN)), 01505 this->force 01506 ); 01507 // Validate and convert options 01508 Refresh(parsed); 01509 }

| virtual cfg_CliPool::~cfg_CliPool | ( | ) | [inline, virtual] |
| void cfg_CliPool::HelpDump | ( | ) | [virtual] |
it it called at cc_HELP command each cli must implement its own method base HelpDump display common help
Reimplemented from cfg_CliBase.
Definition at line 1513 of file cfg_cliarg.cpp.
01513 { 01514 cout << ivdPool << endl; 01515 }
| bool cfg_CliPool::force |
cfg_CliPool::log_CLASSID_m [private] |
1.5.6