Back to index

nordugrid-arc-nox  1.1.0~rc6
AttributeValue.h
Go to the documentation of this file.
00001 #ifndef __ARC_SEC_ATTRIBUTEVALUE_H__
00002 #define __ARC_SEC_ATTRIBUTEVALUE_H__
00003 
00004 #include <string>
00005 
00006 namespace ArcSec {
00008 
00015 class AttributeValue {
00016 public:
00017   AttributeValue(){};
00018   virtual ~AttributeValue(){};
00019 
00021   virtual bool equal(AttributeValue* value, bool check_id = true) = 0;
00022 
00023   //virtual int compare(AttributeValue* other){};
00024 
00026   virtual std::string encode() = 0;
00027 
00029   virtual std::string getType() = 0;
00030 
00032   virtual std::string getId() = 0;
00033 
00034 };
00035 
00036 } // namespace ArcSec
00037 
00038 #endif /* __ARC_SEC_ATTRIBUTEVALUE_H__ */
00039