Back to index

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

#include <WSResourceProperties.h>

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

List of all members.

Public Member Functions

 WSRPGetMultipleResourcePropertiesResponse (SOAPEnvelope &soap)
 WSRPGetMultipleResourcePropertiesResponse (void)
 ~WSRPGetMultipleResourcePropertiesResponse (void)
int Size (void)
void Property (const XMLNode &prop, int pos=-1)
XMLNode Property (int pos)
XMLNode Properties (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 161 of file WSResourceProperties.h.


Constructor & Destructor Documentation

Definition at line 236 of file WSResourceProperties.cpp.

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

Here is the call graph for this function:

Definition at line 241 of file WSResourceProperties.cpp.

                                                                                        :WSRP(false,WSRPGetMultipleResourcePropertiesResponseAction) {
  XMLNode resp = soap_.NewChild("wsrf-rp:GetMultipleResourcePropertiesResponse");
  if(!resp) valid_=false;
}

Definition at line 246 of file WSResourceProperties.cpp.

                                                                                          {
}

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_; };

Definition at line 265 of file WSResourceProperties.cpp.

                                                                  {
  if(!valid_) return XMLNode();
  return soap_.Child();
}
void Arc::WSRPGetMultipleResourcePropertiesResponse::Property ( const XMLNode prop,
int  pos = -1 
)

Definition at line 254 of file WSResourceProperties.cpp.

                                                                                    {
  if(!valid_) return;
  XMLNode resp = soap_.Child();
  if(resp) resp.NewChild(prop,pos);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 260 of file WSResourceProperties.cpp.

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

Definition at line 249 of file WSResourceProperties.cpp.

                                                        {
  if(!valid_) return 0;
  return soap_.Child().Size();  
}
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: