Public Member Functions | Private Member Functions | Private Attributes

val_CliCommand Class Reference
[Parser for config files; validation]

#include <val.h>

Inheritance diagram for val_CliCommand:
Inheritance graph
Collaboration diagram for val_CliCommand:
Collaboration graph

List of all members.

Public Member Functions

 val_CliCommand (const string &a_name, const val_Limit a_limits, const UInt32_t a_minNumOfVal=1, const UInt64_t a_maxNumOfVal=cfg_INFINITE)
virtual ~val_CliCommand ()
virtual void Bind (ivd_CliCommand_e &a_dest)

Private Member Functions

virtual void Assign (const string &a_strVal)

Private Attributes


Detailed Description

Definition at line 699 of file val.h.

Constructor & Destructor Documentation

val_CliCommand::val_CliCommand ( const string &  a_name,
const val_Limit  a_limits,
const UInt32_t  a_minNumOfVal = 1,
const UInt64_t  a_maxNumOfVal = cfg_INFINITE 

Definition at line 1027 of file cfg_cliarg.cpp.

  : val_Value(a_name, a_limits, a_minNumOfVal, a_maxNumOfVal),
    m_cliCmd_p(NULL) {
    // Empty

val_CliCommand::~val_CliCommand (  )  [virtual]

Definition at line 1037 of file cfg_cliarg.cpp.


Member Function Documentation

void val_CliCommand::Assign ( const string &  a_strVal  )  [private, virtual]

Definition at line 1046 of file cfg_cliarg.cpp.

References log_FUNC_m, and m_cliCmd_p.


//    *m_cliCmd_p = ap_GetCommandType(a_strVal);
    *m_cliCmd_p = (ivd_CliCommand_e)atoi(a_strVal.c_str());

void val_CliCommand::Bind ( ivd_CliCommand_e a_dest  )  [virtual]

Definition at line 1041 of file cfg_cliarg.cpp.

References log_FUNC_m, and m_cliCmd_p.

    m_cliCmd_p = &(a_dest);

Member Data Documentation

Reimplemented from val_Value.

Definition at line 717 of file val.h.

Definition at line 715 of file val.h.

Referenced by Assign(), and Bind().

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