Back to index

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

#include <WSResourceProperties.h>

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

List of all members.

Public Member Functions

 WSRPQueryResourcePropertiesRequest (SOAPEnvelope &soap)
 WSRPQueryResourcePropertiesRequest (const std::string &dialect)
 WSRPQueryResourcePropertiesRequest (void)
 ~WSRPQueryResourcePropertiesRequest (void)
std::string Dialect (void)
void Dialect (const std::string &dialect)
XMLNode Query (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 301 of file WSResourceProperties.h.


Constructor & Destructor Documentation

Definition at line 521 of file WSResourceProperties.cpp.

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

Here is the call graph for this function:

Definition at line 526 of file WSResourceProperties.cpp.

                                                                                              :WSRP(false,WSRPQueryResourcePropertiesRequestAction) {
  XMLNode req = soap_.NewChild("wsrf-rp:QueryResourceProperties");
  if(!req) valid_=false;
  Dialect(dialect);
}

Here is the call graph for this function:

Definition at line 532 of file WSResourceProperties.cpp.

                                                                           {
  XMLNode req = soap_.NewChild("wsrf-rp:QueryResourceProperties");
  if(!req) valid_=false;
}

Definition at line 537 of file WSResourceProperties.cpp.

                                                                            {
}

Member Function Documentation

Definition at line 540 of file WSResourceProperties.cpp.

                                                          {
  if(!valid_) return "";
  return soap_.Child()["wsrf-rp:QueryExpression"].Attribute("Dialect");
}

Here is the caller graph for this function:

void Arc::WSRPQueryResourcePropertiesRequest::Dialect ( const std::string &  dialect)

Definition at line 546 of file WSResourceProperties.cpp.

                                                                             {
  if(!valid_) return;
  XMLNode query = soap_.Child()["wsrf-rp:QueryExpression"];
  if(!query) query=soap_.Child().NewChild("wsrf-rp:QueryExpression");
  XMLNode dialect = query.Attribute("Dialect");
  if(!dialect) dialect=query.NewAttribute("Dialect");
  dialect=dialect_uri;
}

Here is the call graph for this function:

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 555 of file WSResourceProperties.cpp.

                                                      {
  XMLNode query = soap_.Child()["wsrf-rp:QueryExpression"];
  if(!query) {
    query=soap_.Child().NewChild("wsrf-rp:QueryExpression");
    query.NewAttribute("Dialect");
  };
  return query;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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: