Back to index

nordugrid-arc-nox  1.1.0~rc6
ArcAttributeFactory.h
Go to the documentation of this file.
00001 #ifndef __ARC_SEC_ARCATTRIBUTEFACTORY_H__
00002 #define __ARC_SEC_ARCATTRIBUTEFACTORY_H__
00003 
00004 #include <list>
00005 #include <fstream>
00006 #include <arc/XMLNode.h>
00007 #include <arc/Logger.h>
00008 #include <arc/security/ArcPDP/attr/AttributeFactory.h>
00009 
00010 namespace ArcSec {
00011 
00013 class ArcAttributeFactory : public AttributeFactory {
00014 public:
00015   ArcAttributeFactory();
00016   virtual ~ArcAttributeFactory();
00017 
00018 public:
00021   virtual AttributeValue* createValue(const Arc::XMLNode& node, const std::string& type);
00022 
00023 private:
00024   void initDatatypes();
00025 };
00026 
00027 Arc::Plugin* get_arcpdp_attr_factory (Arc::PluginArgument*);
00028 
00029 } // namespace ArcSec
00030 
00031 #endif /* __ARC_SEC_ARCATTRIBUTEFACTORY_H__ */
00032