Back to index

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

#include <AnyURIAttribute.h>

Inheritance diagram for ArcSec::AnyURIAttribute:
Inheritance graph
Collaboration diagram for ArcSec::AnyURIAttribute:
Collaboration graph

List of all members.

Public Member Functions

 AnyURIAttribute ()
 AnyURIAttribute (const std::string &v, const std::string &i)
virtual ~AnyURIAttribute ()
virtual bool equal (AttributeValue *other, bool check_id=true)
 Evluate whether "this" equale to the parameter value.
virtual std::string encode ()
 encode the value in a string format
std::string getValue ()
std::string getId ()
 Get the AttributeId of the <Attribute>
virtual std::string getType ()
 Get the DataType of the <Attribute>

Static Public Member Functions

static const std::string & getIdentifier (void)

Private Attributes

std::string value
std::string id

Static Private Attributes

static std::string identifier = "anyURI"

Detailed Description

Definition at line 7 of file AnyURIAttribute.h.

Constructor & Destructor Documentation

Definition at line 14 of file AnyURIAttribute.h.

{ };
ArcSec::AnyURIAttribute::AnyURIAttribute ( const std::string &  v,
const std::string &  i 
) [inline]

Definition at line 15 of file AnyURIAttribute.h.

: value(v), id(i){ };
virtual ArcSec::AnyURIAttribute::~AnyURIAttribute ( ) [inline, virtual]

Definition at line 16 of file AnyURIAttribute.h.

{ };

Member Function Documentation

virtual std::string ArcSec::AnyURIAttribute::encode ( ) [inline, virtual]

encode the value in a string format

Implements ArcSec::AttributeValue.

Definition at line 19 of file AnyURIAttribute.h.

{return value;};
bool ArcSec::AnyURIAttribute::equal ( AttributeValue value,
bool  check_id = true 
) [virtual]

Evluate whether "this" equale to the parameter value.

Implements ArcSec::AttributeValue.

Definition at line 12 of file AnyURIAttribute.cpp.

  AnyURIAttribute *other;
    other = dynamic_cast<AnyURIAttribute*>(o);
  } catch(std::exception&) { };
    //std::cerr<<"not AnyURIAttribute"<<std::endl;
    return false;
  if(check_id) { if(id != other->id) return false; }
  if((>getValue()))==0)  //Now, deal with it the same as StringAttribute.  
    return true;
    return false;

Here is the call graph for this function:

std::string ArcSec::AnyURIAttribute::getId ( ) [inline, virtual]

Get the AttributeId of the <Attribute>

Implements ArcSec::AttributeValue.

Definition at line 21 of file AnyURIAttribute.h.

{ return id; };
static const std::string& ArcSec::AnyURIAttribute::getIdentifier ( void  ) [inline, static]

Definition at line 23 of file AnyURIAttribute.h.

{ return identifier; };

Here is the caller graph for this function:

virtual std::string ArcSec::AnyURIAttribute::getType ( ) [inline, virtual]

Get the DataType of the <Attribute>

Implements ArcSec::AttributeValue.

Definition at line 22 of file AnyURIAttribute.h.

{return identifier; };
std::string ArcSec::AnyURIAttribute::getValue ( ) [inline]

Definition at line 20 of file AnyURIAttribute.h.

{ return value; };

Here is the caller graph for this function:

Member Data Documentation

std::string ArcSec::AnyURIAttribute::id [private]

Definition at line 11 of file AnyURIAttribute.h.

std::string ArcSec::AnyURIAttribute::identifier = "anyURI" [static, private]

Definition at line 9 of file AnyURIAttribute.h.

std::string ArcSec::AnyURIAttribute::value [private]

Definition at line 10 of file AnyURIAttribute.h.

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