SOAPParser Class Reference

#include <SOAPParser.h>

List of all members.

Public Types

typedef std::map< std::string,
std::string > 

Public Member Functions

 SOAPParser ()
virtual ~SOAPParser ()
virtual bool parseMessage (const std::string &szMessage, SOAPElement &soapMessage)
XMLNStoURNgetNamespacesInUse ()
SOAPFaultgetFault ()

Protected Member Functions

virtual bool parseMessage (const std::string &szMessage, SOAPElement &soapElement, long &nCurrentPos)
void setFailed ()
std::string extractQuotedString (const std::string &szString, long &nPos)
void splitNSAndAccessor (std::string szFullString, std::string &szNamespace, std::string &szOther)
bool extractValue (SOAPElement &theElement, const std::string &szMessage, long &nCurrentPos)
bool extractAttributes (SOAPElement &theElement, std::string szBeginTag)
bool extractNamespaces (std::string &szCompleteAccessor)
bool extractBeginTag (std::string &szBeginTag, std::string &szNamespace, std::string &szAccessorName, std::string szMessage, long &nCurrentPos, bool &bIsEmptyTag, bool &bIsEndTag)

Protected Attributes

XMLNStoURN m_namespaceMap
std::auto_ptr< SOAPFaultm_pFault

Detailed Description

Definition at line 39 of file SOAPParser.h.

Member Typedef Documentation

typedef std::map<std::string, std::string> SOAPParser::XMLNStoURN

Definition at line 47 of file SOAPParser.h.

Constructor & Destructor Documentation

SOAPParser::SOAPParser  ) 

Definition at line 76 of file SOAPParser.cpp.

SOAPParser::~SOAPParser  )  [virtual]

Definition at line 81 of file SOAPParser.cpp.

Member Function Documentation

bool SOAPParser::extractAttributes SOAPElement theElement,
std::string  szBeginTag

Definition at line 480 of file SOAPParser.cpp.

References SOAPElement::addAttribute(), extractQuotedString(), and splitNSAndAccessor().

bool SOAPParser::extractBeginTag std::string &  szBeginTag,
std::string &  szNamespace,
std::string &  szAccessorName,
std::string  szMessage,
long &  nCurrentPos,
bool &  bIsEmptyTag,
bool &  bIsEndTag

Definition at line 350 of file SOAPParser.cpp.

bool SOAPParser::extractNamespaces std::string &  szCompleteAccessor  )  [protected]

Definition at line 428 of file SOAPParser.cpp.

References extractQuotedString(), and m_namespaceMap.

std::string SOAPParser::extractQuotedString const std::string &  szString,
long &  nPos

Definition at line 592 of file SOAPParser.cpp.

Referenced by extractAttributes(), and extractNamespaces().

bool SOAPParser::extractValue SOAPElement theElement,
const std::string &  szMessage,
long &  nCurrentPos

Definition at line 514 of file SOAPParser.cpp.

SOAPFault * SOAPParser::getFault  ) 

Definition at line 621 of file SOAPParser.cpp.

References m_pFault.

Referenced by parseMessage().

SOAPParser::XMLNStoURN & SOAPParser::getNamespacesInUse  ) 

Definition at line 611 of file SOAPParser.cpp.

References m_namespaceMap.

bool SOAPParser::parseMessage const std::string &  szMessage,
SOAPElement soapElement,
long &  nCurrentPos
[protected, virtual]

Definition at line 95 of file SOAPParser.cpp.

References SOAPFault::faultString(), getFault(), setFailed(), and SOAPFault::setSpecificFault().

bool SOAPParser::parseMessage const std::string &  szMessage,
SOAPElement soapMessage

Definition at line 86 of file SOAPParser.cpp.

References m_namespaceMap.

Referenced by SOAPonHTTP::getMethodDetails().

void SOAPParser::setFailed  )  [protected]

Definition at line 616 of file SOAPParser.cpp.

References m_pFault.

Referenced by parseMessage().

void SOAPParser::splitNSAndAccessor std::string  szFullString,
std::string &  szNamespace,
std::string &  szOther

Definition at line 575 of file SOAPParser.cpp.

Referenced by extractAttributes().

Member Data Documentation

XMLNStoURN SOAPParser::m_namespaceMap [protected]

Definition at line 219 of file SOAPParser.h.

Referenced by extractNamespaces(), getNamespacesInUse(), and parseMessage().

std::auto_ptr<SOAPFault> SOAPParser::m_pFault [protected]

Definition at line 223 of file SOAPParser.h.

Referenced by getFault(), and setFailed().

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