/* * Generic hashmap manipulation functions */ #ifndef __HASHMAP_H__ #define __HASHMAP_H__ #include "stringHasher.h" #include #include #include #include #include using namespace std; namespace HashMapSpace { class hashMap { private: vector m_hasher; public: // ~hashMap(); long hashValue ( string key ); int trouve ( long searchKey ); int trouve ( string key ); void addHasher ( string key, string value ); stringHasher getHasher ( string key ); string getValue ( string key ); string searchValue ( string key ); void setValue ( string key , string value ); void printHash(); vector getHashMap(); string printStringHash(); string printStringHash2(); string printStringHashForLexicon(); }; } #endif // __HASHMAP_H__