Base class for every WSRF message. More...
#include <WSRF.h>
Public Member Functions | |
WSRF (SOAPEnvelope &soap, const std::string &action="") | |
WSRF (bool fault=false, const std::string &action="") | |
virtual SOAPEnvelope & | SOAP (void) |
virtual | operator bool (void) |
Protected Member Functions | |
void | set_namespaces (void) |
Protected Attributes | |
bool | allocated_ |
bool | valid_ |
Base class for every WSRF message.
This class is not intended to be used directly. Use it like reference while passing through unknown WSRF message or use classes derived from it.
Arc::WSRF::WSRF | ( | SOAPEnvelope & | soap, | |
const std::string & | action = "" | |||
) |
Constructor - creates object out of supplied SOAP tree.
Arc::WSRF::WSRF | ( | bool | fault = false , |
|
const std::string & | action = "" | |||
) |
Constructor - creates new WSRF object
virtual Arc::WSRF::operator bool | ( | void | ) | [inline, virtual] |
Returns true if instance is valid
References valid_.
void Arc::WSRF::set_namespaces | ( | void | ) | [protected] |
true if object represents valid WSRF message set WS Resource namespaces and default prefixes in SOAP message
Reimplemented in Arc::WSRP, and Arc::WSRFBaseFault.
virtual SOAPEnvelope& Arc::WSRF::SOAP | ( | void | ) | [inline, virtual] |
Direct access to underlying SOAP element
bool Arc::WSRF::allocated_ [protected] |
Associated SOAP message - it's SOAP message after all
bool Arc::WSRF::valid_ [protected] |
true if soap_ needs to be deleted in destructor
Referenced by operator bool().