SOAPElement Class Reference

#include <SOAPElement.h>

Inheritance diagram for SOAPElement:

SOAPFault List of all members.

Public Member Functions

 SOAPElement ()
 SOAPElement (const SOAPElement &rhs)
SOAPElementoperator= (const SOAPElement &rhs)
virtual ~SOAPElement ()
std::string & accessorName ()
std::string & namespaceName ()
std::string & value ()
bool addAttribute (SOAPAttribute theAttribute)
bool getAttribute (const std::string &szAttributeName, SOAPAttribute &szValue)
bool addElement (SOAPElement *pElement)
bool getElement (const std::string &szElementName, SOAPElement **pValue)
long numElements () const
long numAttributes ()
SOAPElementelementAt (long index)
SOAPAttributeattributeAt (long index)
void serialize (std::ostringstream &stream)
void serialize (std::ostringstream &stream, SOAPElement &element)

Private Types

typedef std::vector< SOAPAttributeAttributeContainer
typedef std::vector< SOAPElement * > ElementContainer

Private Attributes

std::string m_szAccessorName
std::string m_szNamespace
std::string m_szValue
AttributeContainer m_attributes
ElementContainer m_internalElements

Detailed Description

Definition at line 36 of file SOAPElement.h.


Member Typedef Documentation

typedef std::vector< SOAPAttribute > SOAPElement::AttributeContainer [private]
 

Definition at line 194 of file SOAPElement.h.

typedef std::vector<SOAPElement*> SOAPElement::ElementContainer [private]
 

Definition at line 203 of file SOAPElement.h.


Constructor & Destructor Documentation

SOAPElement::SOAPElement  ) 
 

Definition at line 49 of file SOAPElement.cpp.

Referenced by operator=().

SOAPElement::SOAPElement const SOAPElement rhs  ) 
 

Definition at line 63 of file SOAPElement.cpp.

SOAPElement::~SOAPElement  )  [virtual]
 

Definition at line 54 of file SOAPElement.cpp.

References m_internalElements, and numElements().


Member Function Documentation

std::string & SOAPElement::accessorName  ) 
 

Definition at line 87 of file SOAPElement.cpp.

References m_szAccessorName.

Referenced by TestSOAP::MyData::Base64Test::encode(), TestSOAP::MyData::Base64Test::execute(), TestSOAP::MyData::Subtraction::execute(), TestSOAP::MyData::Addition::execute(), SOAPonHTTP::getMethodDetails(), SOAPMethod::ImustUnderstand(), SOAPMethod::unkownMethodFault(), and SOAPMethod::wrongNumberArgumentsFault().

bool SOAPElement::addAttribute SOAPAttribute  theAttribute  ) 
 

Definition at line 92 of file SOAPElement.cpp.

References m_attributes.

Referenced by SOAPParser::extractAttributes().

bool SOAPElement::addElement SOAPElement pElement  ) 
 

Definition at line 127 of file SOAPElement.cpp.

References m_internalElements.

Referenced by operator=().

SOAPAttribute & SOAPElement::attributeAt long  index  ) 
 

Definition at line 193 of file SOAPElement.cpp.

References m_attributes, and numAttributes().

SOAPElement & SOAPElement::elementAt long  index  ) 
 

Definition at line 184 of file SOAPElement.cpp.

References m_internalElements, and numElements().

Referenced by TestSOAP::MyData::Base64Test::encode(), TestSOAP::MyData::Base64Test::execute(), TestSOAP::MyData::Subtraction::execute(), TestSOAP::MyData::Addition::execute(), SOAPMethod::extractMethod(), SOAPonHTTP::getMethodDetails(), and SOAPMethod::mustIUnderstand().

bool SOAPElement::getAttribute const std::string &  szAttributeName,
SOAPAttribute szValue
 

Definition at line 99 of file SOAPElement.cpp.

References m_attributes, and splitNamespaceAndName().

bool SOAPElement::getElement const std::string &  szElementName,
SOAPElement **  pValue
 

Definition at line 133 of file SOAPElement.cpp.

References m_internalElements, and splitNamespaceAndName().

Referenced by SOAPMethod::extractMethod(), SOAPonHTTP::getMethodDetails(), and SOAPMethod::mustIUnderstand().

std::string & SOAPElement::namespaceName  ) 
 

Definition at line 202 of file SOAPElement.cpp.

References m_szNamespace.

long SOAPElement::numAttributes  ) 
 

Definition at line 179 of file SOAPElement.cpp.

References m_attributes.

Referenced by attributeAt().

long SOAPElement::numElements  )  const
 

Definition at line 174 of file SOAPElement.cpp.

References m_internalElements.

Referenced by elementAt(), TestSOAP::MyData::Base64Test::execute(), TestSOAP::MyData::Subtraction::execute(), TestSOAP::MyData::Addition::execute(), SOAPMethod::extractMethod(), SOAPMethod::mustIUnderstand(), operator=(), SOAPMethod::wrongNumberArgumentsFault(), and ~SOAPElement().

SOAPElement & SOAPElement::operator= const SOAPElement rhs  ) 
 

Definition at line 68 of file SOAPElement.cpp.

References addElement(), m_attributes, m_internalElements, m_szAccessorName, m_szNamespace, m_szValue, numElements(), and SOAPElement().

void SOAPElement::serialize std::ostringstream &  stream,
SOAPElement element
 

Definition at line 212 of file SOAPElement.cpp.

References m_szNamespace.

void SOAPElement::serialize std::ostringstream &  stream  ) 
 

Definition at line 207 of file SOAPElement.cpp.

std::string & SOAPElement::value  ) 
 

Definition at line 169 of file SOAPElement.cpp.

References m_szValue.

Referenced by TestSOAP::MyData::Base64Test::execute(), TestSOAP::MyData::Subtraction::execute(), and TestSOAP::MyData::Addition::execute().


Member Data Documentation

AttributeContainer SOAPElement::m_attributes [private]
 

Definition at line 198 of file SOAPElement.h.

Referenced by addAttribute(), attributeAt(), getAttribute(), numAttributes(), and operator=().

ElementContainer SOAPElement::m_internalElements [private]
 

Definition at line 207 of file SOAPElement.h.

Referenced by addElement(), elementAt(), getElement(), numElements(), operator=(), and ~SOAPElement().

std::string SOAPElement::m_szAccessorName [private]
 

Definition at line 183 of file SOAPElement.h.

Referenced by accessorName(), and operator=().

std::string SOAPElement::m_szNamespace [private]
 

Definition at line 187 of file SOAPElement.h.

Referenced by namespaceName(), operator=(), and serialize().

std::string SOAPElement::m_szValue [private]
 

Definition at line 191 of file SOAPElement.h.

Referenced by operator=(), and value().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 09:10:16 2006 for Simple SOAP by  doxygen 1.4.6