#include <cfg_rm.h>


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 | |
| 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 }

| virtual cfg_RMHost::~cfg_RMHost | ( | ) | [inline, virtual] |
| string cfg_RMHost::name |
| string cfg_RMHost::controlDevice |
cfg_RMHost::log_CLASSID_m [private] |
1.5.6