#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 19 of file hashMap.h.
void HashMapSpace::hashMap::addHasher | ( | string | key, | |
string | value | |||
) |
void hashMap::addHasher ( string key, string value )
key | ||
value |
Definition at line 67 of file hashMap.cpp.
References hashValue(), and trouve().
Referenced by TERCpp::terCalc::BuildWordMatches().
stringHasher HashMapSpace::hashMap::getHasher | ( | string | key | ) |
Definition at line 78 of file hashMap.cpp.
References hashValue().
vector<stringHasher> HashMapSpace::hashMap::getHashMap | ( | ) |
string HashMapSpace::hashMap::getValue | ( | string | key | ) |
Definition at line 92 of file hashMap.cpp.
References hashValue().
long HashMapSpace::hashMap::hashValue | ( | string | key | ) |
long hashMap::hashValue ( string key )
key |
Definition at line 54 of file hashMap.cpp.
Referenced by addHasher(), getHasher(), getValue(), setValue(), and trouve().
void HashMapSpace::hashMap::printHash | ( | ) |
Definition at line 141 of file hashMap.cpp.
string HashMapSpace::hashMap::printStringHash | ( | ) |
string HashMapSpace::hashMap::printStringHash2 | ( | ) |
string HashMapSpace::hashMap::printStringHashForLexicon | ( | ) |
string HashMapSpace::hashMap::searchValue | ( | string | key | ) |
Definition at line 106 of file hashMap.cpp.
void HashMapSpace::hashMap::setValue | ( | string | key, | |
string | value | |||
) |
Definition at line 123 of file hashMap.cpp.
References hashValue().
int HashMapSpace::hashMap::trouve | ( | string | key | ) |
Definition at line 36 of file hashMap.cpp.
References hashValue().
int HashMapSpace::hashMap::trouve | ( | long | searchKey | ) |
int hashMap::trouve ( long searchKey )
searchKey |
Definition at line 24 of file hashMap.cpp.
Referenced by addHasher(), and TERCpp::terCalc::BuildWordMatches().