AJP13::net_alhem_1_0_typ0::Log2 Class Reference

#include <Iconf.h>

List of all members.

Public Member Functions

 Log2 ()
 Log2 (const Xml::XmlNode &it)
virtual ~Log2 ()
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


Detailed Description

Definition at line 812 of file Iconf.h.


Constructor & Destructor Documentation

AJP13::net_alhem_1_0_typ0::Log2::Log2 (  ) 

Definition at line 2715 of file Iconf.cpp.

02716 : _attribute_filename_is_set(false)
02717 , _attribute_type_is_set(false)
02718 , _attribute_format_is_set(false)
02719 {
02720 }

AJP13::net_alhem_1_0_typ0::Log2::Log2 ( const Xml::XmlNode &  it  ) 

Definition at line 2724 of file Iconf.cpp.

References FromXml().

02725 : _attribute_filename_is_set(false)
02726 , _attribute_type_is_set(false)
02727 , _attribute_format_is_set(false)
02728 {
02729         FromXml(it);
02730 }

virtual AJP13::net_alhem_1_0_typ0::Log2::~Log2 (  )  [inline, virtual]

Definition at line 817 of file Iconf.h.

00817 {}


Member Function Documentation

void AJP13::net_alhem_1_0_typ0::Log2::FromXml ( const Xml::XmlNode &  it  ) 

Definition at line 2734 of file Iconf.cpp.

References SetFilename(), SetFormat(), and SetType().

Referenced by Log2().

02735 {
02736         SetFilename(it.GetProperty("filename"));
02737         SetType(it.GetProperty("type"));
02738         if (it.PropertyExists("format"))
02739                 SetFormat(it.GetProperty("format"));
02740 }

const std::string AJP13::net_alhem_1_0_typ0::Log2::ToString ( const std::string &  name = ""  )  const

Definition at line 2744 of file Iconf.cpp.

References FormatIsSet(), GetFilename(), GetFormat(), and GetType().

02745 {
02746         std::string r;
02747         if (!name.empty())
02748                 r += "<" + name;
02749         r += " filename='" + GetFilename() + "'";
02750         r += " type='" + GetType() + "'";
02751         if (FormatIsSet())
02752                 r += " format='" + GetFormat() + "'";
02753         r += ">";
02754         if (!name.empty())
02755                 r += "</" + name + ">";
02756         return r;
02757 }

bool AJP13::net_alhem_1_0_typ0::Log2::IsSet (  )  const

Definition at line 2761 of file Iconf.cpp.

References FilenameIsSet(), FormatIsSet(), and TypeIsSet().

02762 {
02763         return FilenameIsSet() || TypeIsSet() || FormatIsSet();
02764 }

const std::string & AJP13::net_alhem_1_0_typ0::Log2::GetFilename (  )  const

Definition at line 2768 of file Iconf.cpp.

References _attribute_filename.

Referenced by ToString().

02769 {
02770         return _attribute_filename;
02771 }

void AJP13::net_alhem_1_0_typ0::Log2::SetFilename ( const std::string &  filename  ) 

Definition at line 2774 of file Iconf.cpp.

References _attribute_filename, and _attribute_filename_is_set.

Referenced by FromXml().

02775 {
02776         _attribute_filename = filename;
02777         _attribute_filename_is_set = true;
02778 }

const std::string & AJP13::net_alhem_1_0_typ0::Log2::GetType (  )  const

Definition at line 2782 of file Iconf.cpp.

References _attribute_type.

Referenced by ToString().

02783 {
02784         return _attribute_type;
02785 }

void AJP13::net_alhem_1_0_typ0::Log2::SetType ( const std::string &  type  ) 

Definition at line 2788 of file Iconf.cpp.

References _attribute_type, and _attribute_type_is_set.

Referenced by FromXml().

02789 {
02790         _attribute_type = type;
02791         _attribute_type_is_set = true;
02792 }

const std::string & AJP13::net_alhem_1_0_typ0::Log2::GetFormat (  )  const

Definition at line 2796 of file Iconf.cpp.

References _attribute_format.

Referenced by ToString().

02797 {
02798         return _attribute_format;
02799 }

void AJP13::net_alhem_1_0_typ0::Log2::SetFormat ( const std::string &  format  ) 

Definition at line 2802 of file Iconf.cpp.

References _attribute_format, and _attribute_format_is_set.

Referenced by FromXml().

02803 {
02804         _attribute_format = format;
02805         _attribute_format_is_set = true;
02806 }

bool AJP13::net_alhem_1_0_typ0::Log2::FilenameIsSet (  )  const [inline]

Definition at line 832 of file Iconf.h.

References _attribute_filename_is_set.

Referenced by IsSet().

00832 { return _attribute_filename_is_set; }

bool AJP13::net_alhem_1_0_typ0::Log2::TypeIsSet (  )  const [inline]

Definition at line 833 of file Iconf.h.

References _attribute_type_is_set.

Referenced by IsSet().

00833 { return _attribute_type_is_set; }

bool AJP13::net_alhem_1_0_typ0::Log2::FormatIsSet (  )  const [inline]

Definition at line 834 of file Iconf.h.

References _attribute_format_is_set.

Referenced by IsSet(), and ToString().

00834 { return _attribute_format_is_set; }


Member Data Documentation

Definition at line 837 of file Iconf.h.

Referenced by GetFilename(), and SetFilename().

Definition at line 838 of file Iconf.h.

Referenced by GetType(), and SetType().

Definition at line 839 of file Iconf.h.

Referenced by GetFormat(), and SetFormat().

Definition at line 840 of file Iconf.h.

Referenced by FilenameIsSet(), and SetFilename().

Definition at line 841 of file Iconf.h.

Referenced by SetType(), and TypeIsSet().

Definition at line 842 of file Iconf.h.

Referenced by FormatIsSet(), and SetFormat().


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

Generated on Sun Oct 11 10:59:07 2009 for Xml Schema class generator by  doxygen 1.5.5