cfg_CliBak Class Reference
[Parser for config files; validation]

#include <cli_arg.h>

Inheritance diagram for cfg_CliBak:

Inheritance graph
[legend]
Collaboration diagram for cfg_CliBak:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 268 of file cli_arg.h.


Public Member Functions

 cfg_CliBak (UInt32_t a_argc, char *a_argv[])
virtual ~cfg_CliBak ()
virtual void HelpDump ()
 it it called at cc_HELP command each cli must implement its own method base HelpDump display common help

Public Attributes

UInt32_t statusCode

Private Attributes

 log_CLASSID_m

Constructor & Destructor Documentation

cfg_CliBak::cfg_CliBak ( UInt32_t  a_argc,
char *  a_argv[] 
)

Definition at line 1769 of file cfg_cliarg.cpp.

References val_RuleVec::Add(), ap_paStatusCode, dbg_DETAIL, cfg_CliBase::GetRules(), log_DBG_m, log_FUNC_m, ap_Argument::m_long, ap_Argument::Parse(), cfg_CliBase::Refresh(), and statusCode.

01770     : cfg_CliBase() {
01771 
01772     log_FUNC_m(cfg_CliBak);
01773 
01774     pf_ValueList parsed;
01775     ivdBak.Parse(a_argc, a_argv, parsed);
01776 
01777     log_DBG_m(dbg_DETAIL,
01778         "Parsed options: " << endl <<  parsed );
01779 
01780     GetRules().Add(
01781         new val_Integer(
01782             ap_paStatusCode.m_long, val_Limit(0, UINT_MAX)),
01783         this->statusCode
01784     );
01785 
01786     // Validate and convert options
01787     Refresh(parsed);
01788 }

Here is the call graph for this function:

virtual cfg_CliBak::~cfg_CliBak (  )  [inline, virtual]

Definition at line 271 of file cli_arg.h.

00271 {};


Member Function Documentation

void cfg_CliBak::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 1792 of file cfg_cliarg.cpp.

01792                           {
01793     cout << ivdBak << endl;
01794 }


Member Data Documentation

Definition at line 271 of file cli_arg.h.

Referenced by cfg_CliBak(), and main().

Reimplemented from cfg_CliBase.

Definition at line 278 of file cli_arg.h.


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

Generated on Mon Feb 27 19:03:11 2012 for OPENARCHIVE by  doxygen 1.5.6