00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #ifndef FeatureMap_h
00010 #define FeatureMap_h
00011 
00012 #include <string>
00013 #include <vector>
00014 #include <set>
00015 
00016 #include "AGTypes.h"
00017 #include "Hash.h"
00018 #include "AGException.h"
00019 
00020 using namespace std;
00021 
00026 class FeatureMap : public hash_map<string,string,hashString,StringEqual> {
00027  public:
00029   FeatureValue getFeature(FeatureName name) const throw (AGException);
00030 
00038   FeatureValue getFeatures() ;
00040   void unsetFeatures();
00042   string toString();
00043 
00044 };
00045 
00046 typedef set<string> StringSet;
00047 
00048 #endif