#include <cli_arg.h>


Definition at line 314 of file cli_arg.h.
Public Member Functions | |
| cfg_Cli_hsm (UInt32_t a_argc, char *a_argv[]) | |
| virtual | ~cfg_Cli_hsm () |
| 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 | hsmLogLevel |
| set the new debug level for HSM | |
| bool | shDirty |
| bool | shMigCan |
Private Attributes | |
| log_CLASSID_m | |
| cfg_Cli_hsm::cfg_Cli_hsm | ( | UInt32_t | a_argc, | |
| char * | a_argv[] | |||
| ) |
Definition at line 1938 of file cfg_cliarg.cpp.
References val_RuleVec::Add(), ap_ooDirty, ap_ooMigCan, cfg_MAX_CLI_ARGLEN, cfg_MIN_CLI_ARGLEN, dbg_DETAIL, cfg_CliBase::GetRules(), hsmLogLevel, log_DBG_m, log_FUNC_m, ap_Argument::m_long, ap_Argument::Parse(), cfg_CliBase::Refresh(), shDirty, and shMigCan.
01939 : 01940 cfg_CliBase(), 01941 shDirty(false), 01942 shMigCan(false) 01943 { 01944 01945 log_FUNC_m(cfg_Cli_hsm); 01946 01947 pf_ValueList parsed; 01948 ivd_hsm.Parse(a_argc, a_argv, parsed); 01949 01950 log_DBG_m(dbg_DETAIL, 01951 "Parsed options: " << endl << parsed ); 01952 01953 GetRules().Add( 01954 new val_StrictString( 01955 ap_pohsmDbgLevel.m_long, val_Limit(1, 1)), 01956 this->hsmLogLevel 01957 ); 01958 01959 GetRules().Add( 01960 new val_Bool( 01961 ap_ooDirty.m_long,val_Limit(cfg_MIN_CLI_ARGLEN, cfg_MAX_CLI_ARGLEN)), 01962 this->shDirty 01963 ); 01964 01965 GetRules().Add( 01966 new val_Bool( 01967 ap_ooMigCan.m_long,val_Limit(cfg_MIN_CLI_ARGLEN, cfg_MAX_CLI_ARGLEN)), 01968 this->shMigCan 01969 ); 01970 01971 // Validate and convert options 01972 Refresh(parsed); 01973 } //============================================================================//

| virtual cfg_Cli_hsm::~cfg_Cli_hsm | ( | ) | [inline, virtual] |
| void cfg_Cli_hsm::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 1976 of file cfg_cliarg.cpp.
References g_cmn, ivd_Product::m_nameShortLC, and cmn_Global::prod.
01976 { 01977 cout << ivd_hsm << endl; 01978 cout << endl << "Option description:" << endl; 01979 cout << " -s show current configuration parameters in " 01980 << g_cmn.prod.m_nameShortLC << "-hsm" << endl; 01981 cout << " -l <DbgLevel> change log level in " 01982 << g_cmn.prod.m_nameShortLC << "-hsm" << endl; 01983 cout << " DbgLevel values : L - Low | N - Normal | A - API | D - Detail" << endl; 01984 cout << " -i show filter que information for each partition" << endl; 01985 cout << endl; 01986 }
| string cfg_Cli_hsm::hsmLogLevel |
set the new debug level for HSM
Definition at line 322 of file cli_arg.h.
Referenced by cfg_Cli_hsm(), and main().
| bool cfg_Cli_hsm::shDirty |
cfg_Cli_hsm::log_CLASSID_m [private] |
1.5.6