Public Member Functions | Public Attributes | Private Attributes

cfg_RMHost Class Reference
[Parser for config files; validation]

This class is member of cfg_RMDrive. More...

#include <cfg_rm.h>

Inheritance diagram for cfg_RMHost:
Inheritance graph
Collaboration diagram for cfg_RMHost:
Collaboration graph

List of all members.

Public Member Functions

 cfg_RMHost ()
 cfg_RMHost (const string &a_name, const pf_Group &a_group)
virtual ~cfg_RMHost ()

Public Attributes

string name
string controlDevice

Private Attributes


Detailed Description

This class is member of cfg_RMDrive.

Definition at line 36 of file cfg_rm.h.

Constructor & Destructor Documentation

cfg_RMHost::cfg_RMHost (  )  [inline]

Definition at line 38 of file cfg_rm.h.


cfg_RMHost::cfg_RMHost ( const string &  a_name,
const pf_Group a_group 

Definition at line 218 of file cfg_rmdrive.cpp.

References val_RuleVec::Add(), val_String::Bind(), cfg_MAX_CTRLDEVICE, cfg_MAX_HOSTNAME, cfg_MIN_CTRLDEVICE, cfg_MIN_HOSTNAME, cfg_Base::CheckMandatory(), controlDevice, val_Value::Conv(), cfg_Base::Convert(), pf_Group::grpType, and name.


    static const string c_controlDevice ("ControlDevice");

    val_Hostname converter(a_group.grpType,
                           val_Limit(cfg_MIN_HOSTNAME, cfg_MAX_HOSTNAME));

    val_RuleVec  rules;

        new val_StrictString(c_controlDevice,
                       val_Limit(cfg_MIN_CTRLDEVICE, cfg_MAX_CTRLDEVICE),

    Convert(a_group, rules);

Here is the call graph for this function:

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

Definition at line 41 of file cfg_rm.h.


Member Data Documentation

Definition at line 44 of file cfg_rm.h.

Referenced by cfg_RMHost().

Reimplemented from cfg_Base.

Definition at line 47 of file cfg_rm.h.

Definition at line 41 of file cfg_rm.h.

Referenced by cfg_RMHost().

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