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