1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-05 19:18:01 +08:00
ULib/include/ulib/xml/soap/soap_fault.h
stefanocasazza 877766b00d bug fixing
2015-07-10 19:16:37 +02:00

59 lines
1.2 KiB
C++

// ============================================================================
//
// = LIBRARY
// ULib - c++ library
//
// = FILENAME
// soap_fault.h
//
// = AUTHOR
// Stefano Casazza
//
// ============================================================================
#ifndef ULIB_SOAP_FAULT_H
#define ULIB_SOAP_FAULT_H 1
#include <ulib/net/rpc/rpc_fault.h>
/**
* @class USOAPFault
*/
class U_EXPORT USOAPFault : public URPCFault {
public:
// COSTRUTTORI
USOAPFault()
{
U_TRACE_REGISTER_OBJECT(0, USOAPFault, "", 0)
}
virtual ~USOAPFault()
{
U_TRACE_UNREGISTER_OBJECT(0, USOAPFault)
}
// Encodes the complete fault into a string
virtual void encode(UString& response) U_DECL_OVERRIDE;
// DEBUG
#if defined(U_STDCPP_ENABLE) && defined(DEBUG)
const char* dump(bool reset) const { return URPCFault::dump(reset); }
#endif
private:
#ifdef U_COMPILER_DELETE_MEMBERS
USOAPFault(const USOAPFault&) = delete;
USOAPFault& operator=(const USOAPFault&) = delete;
#else
USOAPFault(const USOAPFault&) : URPCFault() {}
USOAPFault& operator=(const USOAPFault&) { return *this; }
#endif
};
#endif