AJP13::net_alhem_1_0_typ0::Network2 Class Reference

#include <Iconf.h>

List of all members.

Public Member Functions

 Network2 ()
 Network2 (const Xml::XmlNode &it)
virtual ~Network2 ()
void FromXml (const Xml::XmlNode &it)
const std::string ToString (const std::string &name="") const
bool IsSet () const
const std::list
< net_alhem_1_0_typ0::Network2::Bind_t > & 
GetBind () const
std::list
< net_alhem_1_0_typ0::Network2::Bind_t > & 
GetBind ()
void SetBind (const std::list< net_alhem_1_0_typ0::Network2::Bind_t > &bind)
bool BindIsSet () const

Private Attributes

std::list
< net_alhem_1_0_typ0::Network2::Bind_t
_element_bind

Classes

class  Bind_t


Detailed Description

Definition at line 846 of file Iconf.h.


Constructor & Destructor Documentation

AJP13::net_alhem_1_0_typ0::Network2::Network2 (  ) 

Definition at line 2810 of file Iconf.cpp.

02811 {
02812 }

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

Definition at line 2816 of file Iconf.cpp.

References FromXml().

02817 {
02818         FromXml(it);
02819 }

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

Definition at line 890 of file Iconf.h.

00890 {}


Member Function Documentation

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

Definition at line 2823 of file Iconf.cpp.

References _element_bind.

Referenced by Network2().

02824 {
02825         if (!it.Exists("bind"))
02826                 throw Xml::XmlException("missing required node in element 'network2': bind");
02827         {
02828                 Xml::XmlNode n(it, "bind");
02829                 while (n)
02830                 {
02831                         net_alhem_1_0_typ0::Network2::Bind_t tmp(n);
02832                         _element_bind.push_back( tmp );
02833                         ++n;
02834                 }
02835         }
02836 }

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

Definition at line 2840 of file Iconf.cpp.

References _element_bind, and AJP13::net_alhem_1_0_typ0::Network2::Bind_t::ToString().

02841 {
02842         std::string r;
02843         if (!name.empty())
02844                 r += "<" + name + ">";
02845         for (std::list<net_alhem_1_0_typ0::Network2::Bind_t>::const_iterator it = _element_bind.begin(); it != _element_bind.end(); it++)
02846         {
02847                 const net_alhem_1_0_typ0::Network2::Bind_t& ref = *it;
02848                 r += ref.ToString("bind");
02849         }
02850         if (!name.empty())
02851                 r += "</" + name + ">";
02852         return r;
02853 }

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

Definition at line 2857 of file Iconf.cpp.

References BindIsSet().

02858 {
02859         return BindIsSet();
02860 }

const std::list< net_alhem_1_0_typ0::Network2::Bind_t > & AJP13::net_alhem_1_0_typ0::Network2::GetBind (  )  const

Definition at line 2864 of file Iconf.cpp.

References _element_bind.

02865 {
02866         return _element_bind;
02867 }

std::list< net_alhem_1_0_typ0::Network2::Bind_t > & AJP13::net_alhem_1_0_typ0::Network2::GetBind (  ) 

Definition at line 2870 of file Iconf.cpp.

References _element_bind.

02871 {
02872         return _element_bind;
02873 }

void AJP13::net_alhem_1_0_typ0::Network2::SetBind ( const std::list< net_alhem_1_0_typ0::Network2::Bind_t > &  bind  ) 

Definition at line 2876 of file Iconf.cpp.

References _element_bind.

02877 {
02878         _element_bind = bind;
02879 }

bool AJP13::net_alhem_1_0_typ0::Network2::BindIsSet (  )  const

Definition at line 2883 of file Iconf.cpp.

References _element_bind.

Referenced by IsSet().

02884 {
02885         return !_element_bind.empty();
02886 }


Member Data Documentation

Definition at line 905 of file Iconf.h.

Referenced by BindIsSet(), FromXml(), GetBind(), SetBind(), and ToString().


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