Back to index

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

Arc specific AttributeProxy class. More...

#include <ArcAttributeProxy.h>

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

List of all members.

Public Member Functions

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

Detailed Description

template<class TheAttribute>
class ArcSec::ArcAttributeProxy< TheAttribute >

Arc specific AttributeProxy class.

Definition at line 14 of file ArcAttributeProxy.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file ArcAttributeProxy.h.

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

Definition at line 17 of file ArcAttributeProxy.h.


Member Function Documentation

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

Implementation of getAttribute method.

Implements ArcSec::AttributeProxy.

Definition at line 24 of file ArcAttributeProxy.h.

  Arc::XMLNode x = node;
  std::string value = (std::string)x;
  if(value.empty()) x=x.Child(0); // ???
  value = (std::string)x;
  std::string attrid = (std::string)(x.Attribute("AttributeId"));
    attrid = (std::string)(x.Attribute("Id"));
  return new TheAttribute(value, attrid);

Here is the call graph for this function:

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