#include <Iconf.h>
Public Member Functions | |
Mount_t () | |
Mount_t (const Xml::XmlNode &it) | |
virtual | ~Mount_t () |
void | FromXml (const Xml::XmlNode &it) |
const std::string | ToString (const std::string &name="") const |
bool | IsSet () const |
const std::string & | GetUri () const |
void | SetUri (const std::string &uri) |
const std::string & | GetJobber () const |
void | SetJobber (const std::string &jobber) |
const std::string & | GetStrip () const |
void | SetStrip (const std::string &strip) |
const std::string & | GetPath () const |
void | SetPath (const std::string &path) |
bool | UriIsSet () const |
bool | JobberIsSet () const |
bool | StripIsSet () const |
bool | PathIsSet () const |
Private Attributes | |
std::string | _attribute_uri |
std::string | _attribute_jobber |
std::string | _attribute_strip |
std::string | _attribute_path |
bool | _attribute_uri_is_set |
bool | _attribute_jobber_is_set |
bool | _attribute_strip_is_set |
bool | _attribute_path_is_set |
Definition at line 364 of file Iconf.h.
AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::Mount_t | ( | ) |
Definition at line 1559 of file Iconf.cpp.
01560 : _attribute_uri_is_set(false) 01561 , _attribute_jobber_is_set(false) 01562 , _attribute_strip_is_set(false) 01563 , _attribute_path_is_set(false) 01564 { 01565 }
AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::Mount_t | ( | const Xml::XmlNode & | it | ) |
Definition at line 1569 of file Iconf.cpp.
References FromXml().
01570 : _attribute_uri_is_set(false) 01571 , _attribute_jobber_is_set(false) 01572 , _attribute_strip_is_set(false) 01573 , _attribute_path_is_set(false) 01574 { 01575 FromXml(it); 01576 }
virtual AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::~Mount_t | ( | ) | [inline, virtual] |
void AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::FromXml | ( | const Xml::XmlNode & | it | ) |
Definition at line 1580 of file Iconf.cpp.
References SetJobber(), SetPath(), SetStrip(), and SetUri().
Referenced by Mount_t().
01581 { 01582 SetUri(it.GetProperty("uri")); 01583 SetJobber(it.GetProperty("jobber")); 01584 if (it.PropertyExists("strip")) 01585 SetStrip(it.GetProperty("strip")); 01586 if (it.PropertyExists("path")) 01587 SetPath(it.GetProperty("path")); 01588 }
const std::string AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::ToString | ( | const std::string & | name = "" |
) | const |
Definition at line 1592 of file Iconf.cpp.
References GetJobber(), GetPath(), GetStrip(), GetUri(), PathIsSet(), and StripIsSet().
Referenced by AJP13::net_alhem_1_0_server::Hosts::Host_t::ToString().
01593 { 01594 std::string r; 01595 if (!name.empty()) 01596 r += "<" + name; 01597 r += " uri='" + GetUri() + "'"; 01598 r += " jobber='" + GetJobber() + "'"; 01599 if (StripIsSet()) 01600 r += " strip='" + GetStrip() + "'"; 01601 if (PathIsSet()) 01602 r += " path='" + GetPath() + "'"; 01603 r += ">"; 01604 if (!name.empty()) 01605 r += "</" + name + ">"; 01606 return r; 01607 }
bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::IsSet | ( | ) | const |
Definition at line 1611 of file Iconf.cpp.
References JobberIsSet(), PathIsSet(), StripIsSet(), and UriIsSet().
01612 { 01613 return UriIsSet() || JobberIsSet() || StripIsSet() || PathIsSet(); 01614 }
const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::GetUri | ( | ) | const |
Definition at line 1618 of file Iconf.cpp.
References _attribute_uri.
Referenced by ToString().
01619 { 01620 return _attribute_uri; 01621 }
void AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::SetUri | ( | const std::string & | uri | ) |
Definition at line 1624 of file Iconf.cpp.
References _attribute_uri, and _attribute_uri_is_set.
Referenced by FromXml().
01625 { 01626 _attribute_uri = uri; 01627 _attribute_uri_is_set = true; 01628 }
const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::GetJobber | ( | ) | const |
Definition at line 1632 of file Iconf.cpp.
References _attribute_jobber.
Referenced by ToString().
01633 { 01634 return _attribute_jobber; 01635 }
void AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::SetJobber | ( | const std::string & | jobber | ) |
Definition at line 1638 of file Iconf.cpp.
References _attribute_jobber, and _attribute_jobber_is_set.
Referenced by FromXml().
01639 { 01640 _attribute_jobber = jobber; 01641 _attribute_jobber_is_set = true; 01642 }
const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::GetStrip | ( | ) | const |
Definition at line 1646 of file Iconf.cpp.
References _attribute_strip.
Referenced by ToString().
01647 { 01648 return _attribute_strip; 01649 }
void AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::SetStrip | ( | const std::string & | strip | ) |
Definition at line 1652 of file Iconf.cpp.
References _attribute_strip, and _attribute_strip_is_set.
Referenced by FromXml().
01653 { 01654 _attribute_strip = strip; 01655 _attribute_strip_is_set = true; 01656 }
const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::GetPath | ( | ) | const |
Definition at line 1660 of file Iconf.cpp.
References _attribute_path.
Referenced by ToString().
01661 { 01662 return _attribute_path; 01663 }
void AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::SetPath | ( | const std::string & | path | ) |
Definition at line 1666 of file Iconf.cpp.
References _attribute_path, and _attribute_path_is_set.
Referenced by FromXml().
01667 { 01668 _attribute_path = path; 01669 _attribute_path_is_set = true; 01670 }
bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::UriIsSet | ( | ) | const [inline] |
Definition at line 386 of file Iconf.h.
References _attribute_uri_is_set.
Referenced by IsSet().
00386 { return _attribute_uri_is_set; }
bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::JobberIsSet | ( | ) | const [inline] |
Definition at line 387 of file Iconf.h.
References _attribute_jobber_is_set.
Referenced by IsSet().
00387 { return _attribute_jobber_is_set; }
bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::StripIsSet | ( | ) | const [inline] |
Definition at line 388 of file Iconf.h.
References _attribute_strip_is_set.
Referenced by IsSet(), and ToString().
00388 { return _attribute_strip_is_set; }
bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::PathIsSet | ( | ) | const [inline] |
Definition at line 389 of file Iconf.h.
References _attribute_path_is_set.
Referenced by IsSet(), and ToString().
00389 { return _attribute_path_is_set; }
std::string AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::_attribute_uri [private] |
std::string AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::_attribute_jobber [private] |
std::string AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::_attribute_strip [private] |
std::string AJP13::net_alhem_1_0_server::Hosts::Host_t::Mount_t::_attribute_path [private] |