Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

FeatureMap.h

Go to the documentation of this file.
00001 // FeatureMap.h
00002 // Author: Xiaoyi Ma, Steven Bird
00003 // Copyright (C) 2001 Linguistic Data Consortium, U Penn.
00004 // Web: http://www.ldc.upenn.edu/; Email: ldc@ldc.upenn.edu
00005 // For license information, see the file `LICENSE' included
00006 // with the distribution.
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

Generated at Wed Jul 3 14:54:03 2002 for Annotation Graph API by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001