v0.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Pages
CGUL::HashMap< KeyType, ValueType > Class Template Reference
Inheritance diagram for CGUL::HashMap< KeyType, ValueType >:
CGUL::Container< KeyType >

Public Member Functions

 HashMap (const HashMap &copy)
 
 HashMap (Function hash, Size pool)
 
void SetSize (Size pool)
 
void SetHashFunction (Function hash)
 
void Insert (KeyType key, ValueType value)
 
ValueType Get (KeyType key) const
 
bool Get (KeyType key, ValueType *value) const
 
void GetKeys (List< KeyType > *keys) const
 
void GetEntries (List< std::pair< KeyType, ValueType > > *entries) const
 
void Erase (KeyType key)
 
void Clear ()
 
void Clear (Size pool)
 

Friends

std::ostream & operator<< (std::ostream &stream, const HashMap< KeyType, ValueType > &hashMap)
 

The documentation for this class was generated from the following files: