cfg_RMHost Class Reference
[Parser for config files; validation]

#include <cfg_rm.h>

Inheritance diagram for cfg_RMHost:

Inheritance graph
[legend]
Collaboration diagram for cfg_RMHost:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class is member of cfg_RMDrive.

Definition at line 22 of file cfg_rm.h.


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

 log_CLASSID_m

Constructor & Destructor Documentation

cfg_RMHost::cfg_RMHost (  )  [inline]

Definition at line 24 of file cfg_rm.h.

00024 {};

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

Definition at line 204 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.

00204                                                                     {
00205 
00206     static const string c_controlDevice ("ControlDevice");
00207 
00208     val_Hostname converter(a_group.grpType,
00209                            val_Limit(cfg_MIN_HOSTNAME, cfg_MAX_HOSTNAME));
00210     converter.Bind(this->name);
00211     converter.Conv(a_name);
00212 
00213     val_RuleVec  rules;
00214 
00215     rules.Add(
00216         new val_StrictString(c_controlDevice,
00217                        val_Limit(cfg_MIN_CTRLDEVICE, cfg_MAX_CTRLDEVICE),
00218                        1,
00219                        1),
00220         this->controlDevice);
00221 
00222     Convert(a_group, rules);
00223     CheckMandatory(rules);
00224 }

Here is the call graph for this function:

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

Definition at line 27 of file cfg_rm.h.

00027 {};


Member Data Documentation

Definition at line 27 of file cfg_rm.h.

Referenced by cfg_RMHost().

Definition at line 30 of file cfg_rm.h.

Referenced by cfg_RMHost().

Reimplemented from cfg_Base.

Definition at line 33 of file cfg_rm.h.


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

Generated on Mon Feb 27 19:04:07 2012 for OPENARCHIVE by  doxygen 1.5.6