#include <Iconf.h>
Public Member Functions | |
Group_t () | |
Group_t (const Xml::XmlNode &it) | |
virtual | ~Group_t () |
void | FromXml (const Xml::XmlNode &it) |
const std::string | ToString (const std::string &name="") const |
bool | IsSet () const |
const std::string & | GetName () const |
void | SetName (const std::string &name) |
bool | NameIsSet () const |
Private Attributes | |
std::string | _attribute_name |
bool | _attribute_name_is_set |
Definition at line 42 of file Iconf.h.
AJP13::net_alhem_1_0_server::Security::Group_t::Group_t | ( | ) |
AJP13::net_alhem_1_0_server::Security::Group_t::Group_t | ( | const Xml::XmlNode & | it | ) |
Definition at line 191 of file Iconf.cpp.
References FromXml().
00192 : _attribute_name_is_set(false) 00193 { 00194 FromXml(it); 00195 }
virtual AJP13::net_alhem_1_0_server::Security::Group_t::~Group_t | ( | ) | [inline, virtual] |
void AJP13::net_alhem_1_0_server::Security::Group_t::FromXml | ( | const Xml::XmlNode & | it | ) |
const std::string AJP13::net_alhem_1_0_server::Security::Group_t::ToString | ( | const std::string & | name = "" |
) | const |
Definition at line 206 of file Iconf.cpp.
References GetName().
Referenced by AJP13::net_alhem_1_0_server::Security::ToString().
00207 { 00208 std::string r; 00209 if (!name.empty()) 00210 r += "<" + name; 00211 r += " name='" + GetName() + "'"; 00212 r += ">"; 00213 if (!name.empty()) 00214 r += "</" + name + ">"; 00215 return r; 00216 }
bool AJP13::net_alhem_1_0_server::Security::Group_t::IsSet | ( | ) | const |
Definition at line 220 of file Iconf.cpp.
References NameIsSet().
00221 { 00222 return NameIsSet(); 00223 }
const std::string & AJP13::net_alhem_1_0_server::Security::Group_t::GetName | ( | ) | const |
Definition at line 227 of file Iconf.cpp.
References _attribute_name.
Referenced by ToString().
00228 { 00229 return _attribute_name; 00230 }
void AJP13::net_alhem_1_0_server::Security::Group_t::SetName | ( | const std::string & | name | ) |
Definition at line 233 of file Iconf.cpp.
References _attribute_name, and _attribute_name_is_set.
Referenced by FromXml().
00234 { 00235 _attribute_name = name; 00236 _attribute_name_is_set = true; 00237 }
bool AJP13::net_alhem_1_0_server::Security::Group_t::NameIsSet | ( | ) | const [inline] |
Definition at line 58 of file Iconf.h.
References _attribute_name_is_set.
Referenced by IsSet().
00058 { return _attribute_name_is_set; }
std::string AJP13::net_alhem_1_0_server::Security::Group_t::_attribute_name [private] |