SOAPFault Class Reference

#include <SOAPFault.h>

Inheritance diagram for SOAPFault:

SOAPElement List of all members.

Public Types

enum  FaultCode { Client, Server, MustUnderstand, VersionMismatch }

Public Member Functions

 SOAPFault ()
virtual ~SOAPFault ()
std::string getFaultCode ()
void setFaultCode (FaultCode faultCode)
void setSpecificFault (const std::string &szSpecificFault, FaultCode faultCode=Client)
std::string & faultString ()
std::string & faultActor ()
std::string & detail ()

Private Attributes

FaultCode m_faultCode
std::string m_szSpecificFault
std::string m_szFaultString
std::string m_szFaultActor
std::string m_szDetail

Detailed Description

Definition at line 28 of file SOAPFault.h.

Member Enumeration Documentation

enum SOAPFault::FaultCode


Definition at line 45 of file SOAPFault.h.

Constructor & Destructor Documentation

SOAPFault::SOAPFault  ) 

SimpleSOAP Library: Implements a simplified version of SOAP (Simple Object Access Protocol).

Copyright (C) 2000 Scott Seely, modifications by Gerard J. Cerchio

This library is public domain software

Definition at line 25 of file SOAPFault.cpp.

SOAPFault::~SOAPFault  )  [virtual]

Definition at line 30 of file SOAPFault.cpp.

Member Function Documentation

std::string & SOAPFault::detail  ) 

Definition at line 82 of file SOAPFault.cpp.

References m_szDetail.

Referenced by SOAPMethod::extractMethod(), SOAPMethod::ImustUnderstand(), SOAPMethod::unkownMethodFault(), and SOAPMethod::wrongNumberArgumentsFault().

std::string & SOAPFault::faultActor  ) 

Definition at line 77 of file SOAPFault.cpp.

References m_szFaultActor.

Referenced by SOAPEncoder::encodeFaultContent().

std::string & SOAPFault::faultString  ) 

Definition at line 72 of file SOAPFault.cpp.

References m_szFaultString.

Referenced by SOAPEncoder::encodeFaultContent(), SOAPMethod::extractMethod(), SOAPMethod::ImustUnderstand(), SOAPParser::parseMessage(), SOAPMethod::unkownMethodFault(), and SOAPMethod::wrongNumberArgumentsFault().

std::string SOAPFault::getFaultCode  ) 

Definition at line 46 of file SOAPFault.cpp.

References Client, m_faultCode, m_szSpecificFault, MustUnderstand, Server, and VersionMismatch.

Referenced by SOAPEncoder::encodeFaultContent().

void SOAPFault::setFaultCode FaultCode  faultCode  ) 

Definition at line 35 of file SOAPFault.cpp.

References m_faultCode.

Referenced by SOAPMethod::extractMethod().

void SOAPFault::setSpecificFault const std::string &  szSpecificFault,
FaultCode  faultCode = Client

Definition at line 40 of file SOAPFault.cpp.

References m_faultCode, and m_szSpecificFault.

Referenced by SOAPMethod::ImustUnderstand(), SOAPParser::parseMessage(), SOAPMethod::unkownMethodFault(), and SOAPMethod::wrongNumberArgumentsFault().

Member Data Documentation

FaultCode SOAPFault::m_faultCode [private]

Definition at line 99 of file SOAPFault.h.

Referenced by getFaultCode(), setFaultCode(), and setSpecificFault().

std::string SOAPFault::m_szDetail [private]

Definition at line 115 of file SOAPFault.h.

Referenced by detail().

std::string SOAPFault::m_szFaultActor [private]

Definition at line 111 of file SOAPFault.h.

Referenced by faultActor().

std::string SOAPFault::m_szFaultString [private]

Definition at line 107 of file SOAPFault.h.

Referenced by faultString().

std::string SOAPFault::m_szSpecificFault [private]

Definition at line 103 of file SOAPFault.h.

Referenced by getFaultCode(), and setSpecificFault().

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