#include <Iconf.h>
Public Member Functions | |
LogTyp () | |
LogTyp (const Xml::XmlNode &it) | |
virtual | ~LogTyp () |
void | FromXml (const Xml::XmlNode &it) |
const std::string | ToString (const std::string &name="") const |
bool | IsSet () const |
const std::string & | GetFilename () const |
void | SetFilename (const std::string &filename) |
const std::string & | GetType () const |
void | SetType (const std::string &type) |
const std::string & | GetFormat () const |
void | SetFormat (const std::string &format) |
bool | FilenameIsSet () const |
bool | TypeIsSet () const |
bool | FormatIsSet () const |
Private Attributes | |
std::string | _attribute_filename |
std::string | _attribute_type |
std::string | _attribute_format |
bool | _attribute_filename_is_set |
bool | _attribute_type_is_set |
bool | _attribute_format_is_set |
Definition at line 710 of file Iconf.h.
AJP13::net_alhem_1_0_server_typ::LogTyp::LogTyp | ( | ) |
Definition at line 2418 of file Iconf.cpp.
02419 : _attribute_filename_is_set(false) 02420 , _attribute_type_is_set(false) 02421 , _attribute_format_is_set(false) 02422 { 02423 }
AJP13::net_alhem_1_0_server_typ::LogTyp::LogTyp | ( | const Xml::XmlNode & | it | ) |
Definition at line 2427 of file Iconf.cpp.
References FromXml().
02428 : _attribute_filename_is_set(false) 02429 , _attribute_type_is_set(false) 02430 , _attribute_format_is_set(false) 02431 { 02432 FromXml(it); 02433 }
virtual AJP13::net_alhem_1_0_server_typ::LogTyp::~LogTyp | ( | ) | [inline, virtual] |
void AJP13::net_alhem_1_0_server_typ::LogTyp::FromXml | ( | const Xml::XmlNode & | it | ) |
Definition at line 2437 of file Iconf.cpp.
References SetFilename(), SetFormat(), and SetType().
Referenced by LogTyp().
02438 { 02439 SetFilename(it.GetProperty("filename")); 02440 SetType(it.GetProperty("type")); 02441 if (it.PropertyExists("format")) 02442 SetFormat(it.GetProperty("format")); 02443 }
const std::string AJP13::net_alhem_1_0_server_typ::LogTyp::ToString | ( | const std::string & | name = "" |
) | const |
Definition at line 2447 of file Iconf.cpp.
References FormatIsSet(), GetFilename(), GetFormat(), and GetType().
02448 { 02449 std::string r; 02450 if (!name.empty()) 02451 r += "<" + name; 02452 r += " filename='" + GetFilename() + "'"; 02453 r += " type='" + GetType() + "'"; 02454 if (FormatIsSet()) 02455 r += " format='" + GetFormat() + "'"; 02456 r += ">"; 02457 if (!name.empty()) 02458 r += "</" + name + ">"; 02459 return r; 02460 }
bool AJP13::net_alhem_1_0_server_typ::LogTyp::IsSet | ( | ) | const |
Definition at line 2464 of file Iconf.cpp.
References FilenameIsSet(), FormatIsSet(), and TypeIsSet().
02465 { 02466 return FilenameIsSet() || TypeIsSet() || FormatIsSet(); 02467 }
const std::string & AJP13::net_alhem_1_0_server_typ::LogTyp::GetFilename | ( | ) | const |
Definition at line 2471 of file Iconf.cpp.
References _attribute_filename.
Referenced by ToString().
02472 { 02473 return _attribute_filename; 02474 }
void AJP13::net_alhem_1_0_server_typ::LogTyp::SetFilename | ( | const std::string & | filename | ) |
Definition at line 2477 of file Iconf.cpp.
References _attribute_filename, and _attribute_filename_is_set.
Referenced by FromXml().
02478 { 02479 _attribute_filename = filename; 02480 _attribute_filename_is_set = true; 02481 }
const std::string & AJP13::net_alhem_1_0_server_typ::LogTyp::GetType | ( | ) | const |
Definition at line 2485 of file Iconf.cpp.
References _attribute_type.
Referenced by ToString().
02486 { 02487 return _attribute_type; 02488 }
void AJP13::net_alhem_1_0_server_typ::LogTyp::SetType | ( | const std::string & | type | ) |
Definition at line 2491 of file Iconf.cpp.
References _attribute_type, and _attribute_type_is_set.
Referenced by FromXml().
02492 { 02493 _attribute_type = type; 02494 _attribute_type_is_set = true; 02495 }
const std::string & AJP13::net_alhem_1_0_server_typ::LogTyp::GetFormat | ( | ) | const |
Definition at line 2499 of file Iconf.cpp.
References _attribute_format.
Referenced by ToString().
02500 { 02501 return _attribute_format; 02502 }
void AJP13::net_alhem_1_0_server_typ::LogTyp::SetFormat | ( | const std::string & | format | ) |
Definition at line 2505 of file Iconf.cpp.
References _attribute_format, and _attribute_format_is_set.
Referenced by FromXml().
02506 { 02507 _attribute_format = format; 02508 _attribute_format_is_set = true; 02509 }
bool AJP13::net_alhem_1_0_server_typ::LogTyp::FilenameIsSet | ( | ) | const [inline] |
Definition at line 730 of file Iconf.h.
References _attribute_filename_is_set.
Referenced by IsSet().
00730 { return _attribute_filename_is_set; }
bool AJP13::net_alhem_1_0_server_typ::LogTyp::TypeIsSet | ( | ) | const [inline] |
Definition at line 731 of file Iconf.h.
References _attribute_type_is_set.
Referenced by IsSet().
00731 { return _attribute_type_is_set; }
bool AJP13::net_alhem_1_0_server_typ::LogTyp::FormatIsSet | ( | ) | const [inline] |
Definition at line 732 of file Iconf.h.
References _attribute_format_is_set.
Referenced by IsSet(), and ToString().
00732 { return _attribute_format_is_set; }
std::string AJP13::net_alhem_1_0_server_typ::LogTyp::_attribute_filename [private] |
std::string AJP13::net_alhem_1_0_server_typ::LogTyp::_attribute_type [private] |
std::string AJP13::net_alhem_1_0_server_typ::LogTyp::_attribute_format [private] |