AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t Class Reference

#include <Iconf.h>

List of all members.

Public Member Functions

 Secure_t ()
 Secure_t (const Xml::XmlNode &it)
virtual ~Secure_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 & GetBasicAuthentication () const
void SetBasicAuthentication (const std::string &basicAuthentication)
const std::string & GetAuthorization () const
void SetAuthorization (const std::string &authorization)
bool UriIsSet () const
bool BasicAuthenticationIsSet () const
bool AuthorizationIsSet () const

Private Attributes

std::string _attribute_uri
std::string _attribute_basicAuthentication
std::string _attribute_authorization
bool _attribute_uri_is_set
bool _attribute_basicAuthentication_is_set
bool _attribute_authorization_is_set


Detailed Description

Definition at line 403 of file Iconf.h.


Constructor & Destructor Documentation

AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::Secure_t (  ) 

Definition at line 1674 of file Iconf.cpp.

01675 : _attribute_uri_is_set(false)
01676 , _attribute_basicAuthentication_is_set(false)
01677 , _attribute_authorization_is_set(false)
01678 {
01679 }

AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::Secure_t ( const Xml::XmlNode &  it  ) 

Definition at line 1683 of file Iconf.cpp.

References FromXml().

01684 : _attribute_uri_is_set(false)
01685 , _attribute_basicAuthentication_is_set(false)
01686 , _attribute_authorization_is_set(false)
01687 {
01688         FromXml(it);
01689 }

virtual AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::~Secure_t (  )  [inline, virtual]

Definition at line 408 of file Iconf.h.

00408 {}


Member Function Documentation

void AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::FromXml ( const Xml::XmlNode &  it  ) 

Definition at line 1693 of file Iconf.cpp.

References SetAuthorization(), SetBasicAuthentication(), and SetUri().

Referenced by Secure_t().

01694 {
01695         SetUri(it.GetProperty("uri"));
01696         if (it.PropertyExists("basicAuthentication"))
01697                 SetBasicAuthentication(it.GetProperty("basicAuthentication"));
01698         if (it.PropertyExists("authorization"))
01699                 SetAuthorization(it.GetProperty("authorization"));
01700 }

const std::string AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::ToString ( const std::string &  name = ""  )  const

Definition at line 1704 of file Iconf.cpp.

References AuthorizationIsSet(), BasicAuthenticationIsSet(), GetAuthorization(), GetBasicAuthentication(), and GetUri().

Referenced by AJP13::net_alhem_1_0_server::Hosts::Host_t::ToString().

01705 {
01706         std::string r;
01707         if (!name.empty())
01708                 r += "<" + name;
01709         r += " uri='" + GetUri() + "'";
01710         if (BasicAuthenticationIsSet())
01711                 r += " basicAuthentication='" + GetBasicAuthentication() + "'";
01712         if (AuthorizationIsSet())
01713                 r += " authorization='" + GetAuthorization() + "'";
01714         r += ">";
01715         if (!name.empty())
01716                 r += "</" + name + ">";
01717         return r;
01718 }

bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::IsSet (  )  const

Definition at line 1722 of file Iconf.cpp.

References AuthorizationIsSet(), BasicAuthenticationIsSet(), and UriIsSet().

01723 {
01724         return UriIsSet() || BasicAuthenticationIsSet() || AuthorizationIsSet();
01725 }

const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::GetUri (  )  const

Definition at line 1729 of file Iconf.cpp.

References _attribute_uri.

Referenced by ToString().

01730 {
01731         return _attribute_uri;
01732 }

void AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::SetUri ( const std::string &  uri  ) 

Definition at line 1735 of file Iconf.cpp.

References _attribute_uri, and _attribute_uri_is_set.

Referenced by FromXml().

01736 {
01737         _attribute_uri = uri;
01738         _attribute_uri_is_set = true;
01739 }

const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::GetBasicAuthentication (  )  const

Definition at line 1743 of file Iconf.cpp.

References _attribute_basicAuthentication.

Referenced by ToString().

01744 {
01745         return _attribute_basicAuthentication;
01746 }

void AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::SetBasicAuthentication ( const std::string &  basicAuthentication  ) 

Definition at line 1749 of file Iconf.cpp.

References _attribute_basicAuthentication, and _attribute_basicAuthentication_is_set.

Referenced by FromXml().

01750 {
01751         _attribute_basicAuthentication = basicAuthentication;
01752         _attribute_basicAuthentication_is_set = true;
01753 }

const std::string & AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::GetAuthorization (  )  const

Definition at line 1757 of file Iconf.cpp.

References _attribute_authorization.

Referenced by ToString().

01758 {
01759         return _attribute_authorization;
01760 }

void AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::SetAuthorization ( const std::string &  authorization  ) 

Definition at line 1763 of file Iconf.cpp.

References _attribute_authorization, and _attribute_authorization_is_set.

Referenced by FromXml().

01764 {
01765         _attribute_authorization = authorization;
01766         _attribute_authorization_is_set = true;
01767 }

bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::UriIsSet (  )  const [inline]

Definition at line 423 of file Iconf.h.

References _attribute_uri_is_set.

Referenced by IsSet().

00423 { return _attribute_uri_is_set; }

bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::BasicAuthenticationIsSet (  )  const [inline]

Definition at line 424 of file Iconf.h.

References _attribute_basicAuthentication_is_set.

Referenced by IsSet(), and ToString().

bool AJP13::net_alhem_1_0_server::Hosts::Host_t::Secure_t::AuthorizationIsSet (  )  const [inline]

Definition at line 425 of file Iconf.h.

References _attribute_authorization_is_set.

Referenced by IsSet(), and ToString().


Member Data Documentation

Definition at line 428 of file Iconf.h.

Referenced by GetUri(), and SetUri().

Definition at line 429 of file Iconf.h.

Referenced by GetBasicAuthentication(), and SetBasicAuthentication().

Definition at line 430 of file Iconf.h.

Referenced by GetAuthorization(), and SetAuthorization().

Definition at line 431 of file Iconf.h.

Referenced by SetUri(), and UriIsSet().

Definition at line 432 of file Iconf.h.

Referenced by BasicAuthenticationIsSet(), and SetBasicAuthentication().

Definition at line 433 of file Iconf.h.

Referenced by AuthorizationIsSet(), and SetAuthorization().


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

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