#include <cli_arg.h>


Definition at line 231 of file cli_arg.h.
Public Member Functions | |
| cfg_CliSystem (UInt32_t a_argc, char *a_argv[]) | |
| virtual | ~cfg_CliSystem () |
| virtual void | HelpDump () |
| it it called at cc_HELP command each cli must implement its own method base HelpDump display common help | |
Public Attributes | |
| string | sysDbgLevel |
| string | sysDbgFlags |
| string | sysDbgPath |
| string | sysDbgIVDFS |
Private Attributes | |
| log_CLASSID_m | |
| cfg_CliSystem::cfg_CliSystem | ( | UInt32_t | a_argc, | |
| char * | a_argv[] | |||
| ) |
Definition at line 1673 of file cfg_cliarg.cpp.
References val_RuleVec::Add(), ap_paSysDbgIVDFS, cfg_MAX_CLI_ARGLEN, dbg_DETAIL, cfg_CliBase::GetRules(), log_DBG_m, log_FUNC_m, ap_Argument::m_long, ap_Argument::Parse(), cfg_CliBase::Refresh(), sysDbgFlags, sysDbgIVDFS, sysDbgLevel, and sysDbgPath.
01674 : cfg_CliBase() { 01675 01676 log_FUNC_m(cfg_CliSystem); 01677 01678 pf_ValueList parsed; 01679 ivdSystem.Parse(a_argc, a_argv, parsed); 01680 01681 log_DBG_m(dbg_DETAIL, 01682 "Parsed options: " << endl << parsed ); 01683 01684 GetRules().Add( 01685 new val_StrictString( 01686 ap_paSysDbgLevel.m_long, val_Limit(1, 1)), 01687 this->sysDbgLevel 01688 ); 01689 GetRules().Add( 01690 new val_Path( 01691 ap_paSysDbgPath.m_long, val_Limit(0, cfg_MAX_CLI_ARGLEN)), 01692 this->sysDbgPath 01693 ); 01694 GetRules().Add( 01695 new val_StrictString( 01696 ap_paSysDbgFlags.m_long, val_Limit(0, 10)), 01697 this->sysDbgFlags 01698 ); 01699 GetRules().Add( 01700 new val_StrictString( 01701 ap_paSysDbgIVDFS.m_long, val_Limit(0, 10)), 01702 this->sysDbgIVDFS 01703 ); 01704 01705 01706 // Validate and convert options 01707 Refresh(parsed); 01708 }

| virtual cfg_CliSystem::~cfg_CliSystem | ( | ) | [inline, virtual] |
| void cfg_CliSystem::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 1711 of file cfg_cliarg.cpp.
01711 { 01712 cout << ivdSystem << endl; 01713 }
| string cfg_CliSystem::sysDbgLevel |
| string cfg_CliSystem::sysDbgFlags |
| string cfg_CliSystem::sysDbgPath |
| string cfg_CliSystem::sysDbgIVDFS |
cfg_CliSystem::log_CLASSID_m [private] |
1.5.6