Back to index

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

#include <WSResourceProperties.h>

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

List of all members.

Public Member Functions

 WSRPPutResourcePropertyDocumentResponse (SOAPEnvelope &soap)
 WSRPPutResourcePropertyDocumentResponse (const XMLNode &prop_doc=XMLNode())
 ~WSRPPutResourcePropertyDocumentResponse (void)
void Document (const XMLNode &prop_doc)
XMLNode Document (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

Definition at line 183 of file WSResourceProperties.h.


Constructor & Destructor Documentation

Definition at line 299 of file WSResourceProperties.cpp.

                                                                                                  :WSRP(soap,WSRPPutResourcePropertyDocumentResponseAction) {
  if(!valid_) return;
  if(!MatchXMLName(soap_.Child(),"wsrf-rp:PutResourcePropertyDocumentResponse")) valid_=false;
}

Here is the call graph for this function:

Definition at line 304 of file WSResourceProperties.cpp.

                                                                                                       :WSRP(false,WSRPPutResourcePropertyDocumentResponseAction) {
  XMLNode resp = soap_.NewChild("wsrf-rp:PutResourcePropertyDocumentResponse");
  if(!resp) { valid_=false; return; };
  if(prop_doc) resp.NewChild(prop_doc);
}

Here is the call graph for this function:

Definition at line 310 of file WSResourceProperties.cpp.

                                                                                      {
}

Member Function Documentation

Definition at line 313 of file WSResourceProperties.cpp.

                                                                              {
  if(!valid_) return;
  XMLNode resp = soap_.Child();
  resp.Child().Destroy();
  if(prop_doc) resp.NewChild(prop_doc);
}

Here is the call graph for this function:

Definition at line 320 of file WSResourceProperties.cpp.

                                                              {
  if(!valid_) return XMLNode();
  return soap_.Child().Child();
}
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, inherited]

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: