#include <hashMapInfos.h>
Public Member Functions | |
long | hashValue (string key) |
int | trouve (long searchKey) |
int | trouve (string key) |
void | addHasher (string key, vector< int > value) |
void | addValue (string key, vector< int > value) |
infosHasher | getHasher (string key) |
vector< int > | getValue (string key) |
void | setValue (string key, vector< int > value) |
void | printHash () |
vector< infosHasher > | getHashMap () |
string | printStringHash () |
string | printStringHash2 () |
string | printStringHashForLexicon () |
Definition at line 17 of file hashMapInfos.h.
void HashMapSpace::hashMapInfos::addHasher | ( | string | key, | |
vector< int > | value | |||
) |
void hashMapInfos::addHasher ( string key, string value )
key | ||
value |
Definition at line 68 of file hashMapInfos.cpp.
References hashValue(), and trouve().
Referenced by addValue().
void HashMapSpace::hashMapInfos::addValue | ( | string | key, | |
vector< int > | value | |||
) |
Definition at line 79 of file hashMapInfos.cpp.
References addHasher().
Referenced by TERCpp::terCalc::BuildWordMatches().
infosHasher HashMapSpace::hashMapInfos::getHasher | ( | string | key | ) |
Definition at line 83 of file hashMapInfos.cpp.
References hashValue().
vector<infosHasher> HashMapSpace::hashMapInfos::getHashMap | ( | ) |
vector< int > HashMapSpace::hashMapInfos::getValue | ( | string | key | ) |
Definition at line 98 of file hashMapInfos.cpp.
References hashValue().
Referenced by TERCpp::terCalc::BuildWordMatches(), and TERCpp::terCalc::GatherAllPossShifts().
long HashMapSpace::hashMapInfos::hashValue | ( | string | key | ) |
long hashMapInfos::hashValue ( string key )
key |
Definition at line 55 of file hashMapInfos.cpp.
Referenced by addHasher(), getHasher(), getValue(), setValue(), and trouve().
void HashMapSpace::hashMapInfos::printHash | ( | ) |
Definition at line 150 of file hashMapInfos.cpp.
string HashMapSpace::hashMapInfos::printStringHash | ( | ) |
string HashMapSpace::hashMapInfos::printStringHash2 | ( | ) |
string HashMapSpace::hashMapInfos::printStringHashForLexicon | ( | ) |
void HashMapSpace::hashMapInfos::setValue | ( | string | key, | |
vector< int > | value | |||
) |
Definition at line 132 of file hashMapInfos.cpp.
References hashValue().
Referenced by TERCpp::terCalc::BuildWordMatches().
int HashMapSpace::hashMapInfos::trouve | ( | string | key | ) |
Definition at line 36 of file hashMapInfos.cpp.
References hashValue().
int HashMapSpace::hashMapInfos::trouve | ( | long | searchKey | ) |
int hashMapInfos::trouve ( long searchKey )
searchKey |
Definition at line 24 of file hashMapInfos.cpp.
Referenced by addHasher(), and TERCpp::terCalc::GatherAllPossShifts().