#include <hashMap.h>
Public Member Functions | |
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< stringHasher > | getHashMap () |
string | printStringHash () |
string | printStringHash2 () |
string | printStringHashForLexicon () |
Definition at line 38 of file hashMap.h.
void TERCPPNS_HashMapSpace::hashMap::addHasher | ( | string | key, | |
string | value | |||
) |
void hashMap::addHasher ( string key, string value )
key | ||
value |
Definition at line 87 of file hashMap.cpp.
References hashValue(), and trouve().
Referenced by TERCPPNS_TERCpp::terCalc::createConcordMots().
stringHasher TERCPPNS_HashMapSpace::hashMap::getHasher | ( | string | key | ) |
Definition at line 98 of file hashMap.cpp.
References hashValue().
vector<stringHasher> TERCPPNS_HashMapSpace::hashMap::getHashMap | ( | ) |
string TERCPPNS_HashMapSpace::hashMap::getValue | ( | string | key | ) |
Definition at line 112 of file hashMap.cpp.
References hashValue().
long TERCPPNS_HashMapSpace::hashMap::hashValue | ( | string | key | ) |
long hashMap::hashValue ( string key )
key |
Definition at line 74 of file hashMap.cpp.
Referenced by addHasher(), getHasher(), getValue(), setValue(), and trouve().
void TERCPPNS_HashMapSpace::hashMap::printHash | ( | ) |
Definition at line 161 of file hashMap.cpp.
string TERCPPNS_HashMapSpace::hashMap::printStringHash | ( | ) |
string TERCPPNS_HashMapSpace::hashMap::printStringHash2 | ( | ) |
string TERCPPNS_HashMapSpace::hashMap::printStringHashForLexicon | ( | ) |
string TERCPPNS_HashMapSpace::hashMap::searchValue | ( | string | key | ) |
Definition at line 126 of file hashMap.cpp.
void TERCPPNS_HashMapSpace::hashMap::setValue | ( | string | key, | |
string | value | |||
) |
Definition at line 143 of file hashMap.cpp.
References hashValue().
int TERCPPNS_HashMapSpace::hashMap::trouve | ( | string | key | ) |
Definition at line 56 of file hashMap.cpp.
References hashValue().
int TERCPPNS_HashMapSpace::hashMap::trouve | ( | long | searchKey | ) |
int hashMap::trouve ( long searchKey )
searchKey |
Definition at line 44 of file hashMap.cpp.
Referenced by addHasher(), and TERCPPNS_TERCpp::terCalc::createConcordMots().