Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Protected Attributes
Arc::WSRP Class Reference

Base class for WS-ResourceProperties structures. More...

#include <WSResourceProperties.h>

Inheritance diagram for Arc::WSRP:
Inheritance graph
[legend]
Collaboration diagram for Arc::WSRP:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WSRP (bool fault=false, const std::string &action="")
 Constructor - prepares object for creation of new WSRP request/response/fault.
 WSRP (SOAPEnvelope &soap, const std::string &action="")
 Constructor - creates object out of supplied SOAP tree.
 ~WSRP (void)
virtual SOAPEnvelope & SOAP (void)
 Direct access to underlying SOAP element.
virtual operator bool (void)
 Returns true if instance is valid.
virtual bool operator! (void)

Protected Member Functions

void set_namespaces (void)
 set WS-ResourceProperties namespaces and default prefixes in SOAP message

Protected Attributes

SOAPEnvelope & soap_
bool allocated_
 Associated SOAP message - it's SOAP message after all.
bool valid_
 true if soap_ needs to be deleted in destructor

Detailed Description

Base class for WS-ResourceProperties structures.

Inheriting classes implement specific WS-ResourceProperties messages and their properties/elements. Refer to WS-ResourceProperties specifications for things specific to every message.

Definition at line 14 of file WSResourceProperties.h.


Constructor & Destructor Documentation

Arc::WSRP::WSRP ( bool  fault = false,
const std::string &  action = "" 
)

Constructor - prepares object for creation of new WSRP request/response/fault.

Definition at line 43 of file WSResourceProperties.cpp.

                                            :WSRF(fault,action) {
  set_namespaces();
}

Here is the call graph for this function:

Arc::WSRP::WSRP ( SOAPEnvelope &  soap,
const std::string &  action = "" 
)

Constructor - creates object out of supplied SOAP tree.

It does not check if 'soap' represents valid WS-ResourceProperties structure. Actual check for validity of structure has to be done by derived class.

Definition at line 47 of file WSResourceProperties.cpp.

                                                    :WSRF(soap,action) {
  set_namespaces();
}

Here is the call graph for this function:

Arc::WSRP::~WSRP ( void  ) [inline]

Definition at line 25 of file WSResourceProperties.h.

{ };

Member Function Documentation

virtual Arc::WSRF::operator bool ( void  ) [inline, virtual, inherited]

Returns true if instance is valid.

Definition at line 27 of file WSRF.h.

{ return valid_; };
virtual bool Arc::WSRF::operator! ( void  ) [inline, virtual, inherited]

Definition at line 28 of file WSRF.h.

{ return !valid_; };
void Arc::WSRP::set_namespaces ( void  ) [protected]

set WS-ResourceProperties namespaces and default prefixes in SOAP message

Reimplemented from Arc::WSRF.

Definition at line 34 of file WSResourceProperties.cpp.

                              {
  NS ns;
  ns["wsrf-bf"]="http://docs.oasis-open.org/wsrf/bf-2";
  ns["wsrf-rp"]="http://docs.oasis-open.org/wsrf/rp-2";
  ns["wsrf-rpw"]="http://docs.oasis-open.org/wsrf/rpw-2";
  ns["wsrf-rw"]="http://docs.oasis-open.org/wsrf/rw-2";
  soap_.Namespaces(ns);
}

Here is the caller graph for this function:

virtual SOAPEnvelope& Arc::WSRF::SOAP ( void  ) [inline, virtual, inherited]

Direct access to underlying SOAP element.

Definition at line 25 of file WSRF.h.

{ return soap_; };

Here is the caller graph for this function:


Member Data Documentation

bool Arc::WSRF::allocated_ [protected, inherited]

Associated SOAP message - it's SOAP message after all.

Definition at line 14 of file WSRF.h.

SOAPEnvelope& Arc::WSRF::soap_ [protected, inherited]

Definition at line 13 of file WSRF.h.

bool Arc::WSRF::valid_ [protected, inherited]

true if soap_ needs to be deleted in destructor

Definition at line 15 of file WSRF.h.


The documentation for this class was generated from the following files: