Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions
ArcSec::XACMLAttributeProxy< TheAttribute > Class Template Reference

XACML specific AttributeProxy class. More...

#include <XACMLAttributeProxy.h>

Inheritance diagram for ArcSec::XACMLAttributeProxy< TheAttribute >:
Inheritance graph
Collaboration diagram for ArcSec::XACMLAttributeProxy< TheAttribute >:
Collaboration graph

List of all members.

Public Member Functions

 XACMLAttributeProxy ()
virtual ~XACMLAttributeProxy ()
virtual AttributeValuegetAttribute (const Arc::XMLNode &node)
 Implementation of getAttribute method.

Detailed Description

template<class TheAttribute>
class ArcSec::XACMLAttributeProxy< TheAttribute >

XACML specific AttributeProxy class.

Definition at line 14 of file XACMLAttributeProxy.h.

Constructor & Destructor Documentation

template<class TheAttribute >
ArcSec::XACMLAttributeProxy< TheAttribute >::XACMLAttributeProxy ( ) [inline]

Definition at line 16 of file XACMLAttributeProxy.h.

template<class TheAttribute >
virtual ArcSec::XACMLAttributeProxy< TheAttribute >::~XACMLAttributeProxy ( ) [inline, virtual]

Definition at line 17 of file XACMLAttributeProxy.h.


Member Function Documentation

template<class TheAttribute >
AttributeValue * ArcSec::XACMLAttributeProxy< TheAttribute >::getAttribute ( const Arc::XMLNode node) [virtual]

Implementation of getAttribute method.

Implements ArcSec::AttributeProxy.

Definition at line 24 of file XACMLAttributeProxy.h.

  Arc::XMLNode x;
  std::string value;
  if((bool)(const_cast<Arc::XMLNode&>(node).Child())) {
  } else {
  value = (std::string)x;
  std::string attrid =
  std::size_t start;
  start = value.find_first_not_of(" \n\r\t");
  value = value.substr(start);
  std::size_t end;
  end = value.find_last_not_of(" \n\r\t");
  value = value.substr(0, end+1);
  return new TheAttribute(value, attrid);

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