Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Attributes
ArcSec::GACLRequest Class Reference

#include <GACLRequest.h>

Inheritance diagram for ArcSec::GACLRequest:
Inheritance graph
[legend]
Collaboration diagram for ArcSec::GACLRequest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ReqItemList getRequestItems () const
 Get all the RequestItem inside RequestItem container.
virtual void setRequestItems (ReqItemList sl)
 Set the content of the container.
virtual void addRequestItem (Attrs &sub, Attrs &res, Attrs &act, Attrs &ctx)
 Add request tuple from non-XMLNode.
virtual void setAttributeFactory (AttributeFactory *attributefactory)
 Set the attribute factory for the usage of Request.
virtual void make_request ()
 Create the objects included in Request according to the node attached to the Request object.
 GACLRequest ()
 GACLRequest (const Source &source)
virtual ~GACLRequest ()
Arc::XMLNode getXML (void)
virtual const char * getEvalName () const
 Get the name of corresponding evaulator.
virtual const char * getName () const
 Get the name of this request.
virtual Arc::XMLNodegetReqNode ()

Static Public Member Functions

static Arc::Pluginget_request (Arc::PluginArgument *arg)
 get_request (in charge of class-loading of ArcRequest) can only accept two types of argument: NULL, XMLNode

Protected Attributes

ReqItemList rlist

Private Attributes

Arc::XMLNode reqnode

Detailed Description

Definition at line 10 of file GACLRequest.h.


Constructor & Destructor Documentation

Definition at line 35 of file GACLRequest.cpp.

                          {
}

Here is the caller graph for this function:

GACLRequest::GACLRequest ( const Source source)

Definition at line 31 of file GACLRequest.cpp.

                                           : Request(req) {
  req.Get().New(reqnode);
}

Here is the call graph for this function:

Definition at line 38 of file GACLRequest.cpp.

                         {
}

Member Function Documentation

virtual void ArcSec::GACLRequest::addRequestItem ( Attrs sub,
Attrs res,
Attrs act,
Attrs ctx 
) [inline, virtual]

Add request tuple from non-XMLNode.

Reimplemented from ArcSec::Request.

Definition at line 17 of file GACLRequest.h.

{ };

get_request (in charge of class-loading of ArcRequest) can only accept two types of argument: NULL, XMLNode

Definition at line 11 of file GACLRequest.cpp.

                                                                {
  if(arg==NULL) return NULL;
  Arc::ClassLoaderPluginArgument* clarg =
          arg?dynamic_cast<Arc::ClassLoaderPluginArgument*>(arg):NULL;
  if(!clarg) return NULL;
  Arc::XMLNode* xarg = (Arc::XMLNode*)(*clarg);
  if(xarg == NULL) return new ArcSec::GACLRequest();
  ArcSec::Source source(*xarg);
  return new ArcSec::GACLRequest(source);
}

Here is the call graph for this function:

virtual const char* ArcSec::GACLRequest::getEvalName ( ) const [inline, virtual]

Get the name of corresponding evaulator.

Implements ArcSec::Request.

Definition at line 31 of file GACLRequest.h.

{ return "gacl.evaluator"; };
virtual const char* ArcSec::GACLRequest::getName ( ) const [inline, virtual]

Get the name of this request.

Implements ArcSec::Request.

Definition at line 33 of file GACLRequest.h.

{ return "gacl.request"; };
virtual Arc::XMLNode& ArcSec::GACLRequest::getReqNode ( ) [inline, virtual]

Implements ArcSec::Request.

Definition at line 37 of file GACLRequest.h.

{ return reqnode; };
virtual ReqItemList ArcSec::GACLRequest::getRequestItems ( ) const [inline, virtual]

Get all the RequestItem inside RequestItem container.

Reimplemented from ArcSec::Request.

Definition at line 13 of file GACLRequest.h.

{ return rlist; };

Definition at line 29 of file GACLRequest.h.

{ return reqnode; };

Here is the caller graph for this function:

virtual void ArcSec::GACLRequest::make_request ( ) [inline, virtual]

Create the objects included in Request according to the node attached to the Request object.

Implements ArcSec::Request.

Definition at line 21 of file GACLRequest.h.

{ };
virtual void ArcSec::GACLRequest::setAttributeFactory ( AttributeFactory attributefactory) [inline, virtual]

Set the attribute factory for the usage of Request.

Implements ArcSec::Request.

Definition at line 19 of file GACLRequest.h.

{ };
virtual void ArcSec::GACLRequest::setRequestItems ( ReqItemList  sl) [inline, virtual]

Set the content of the container.

Reimplemented from ArcSec::Request.

Definition at line 15 of file GACLRequest.h.

{ };

Member Data Documentation

Definition at line 37 of file GACLRequest.h.

ReqItemList ArcSec::Request::rlist [protected, inherited]

Definition at line 57 of file Request.h.


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