lout::container::typed::HashTable< K, V > Class Template Reference

Typed version of container::untyped::HashTable. More...

#include <container.hh>

List of all members.

Public Member Functions

 HashTable (bool ownerOfKeys, bool ownerOfValues, int tableSize=251)
 ~HashTable ()
void put (K *key, V *value)
bool contains (K *key)
V * get (K *key)
bool remove (K *key)
K * getKey (K *key)


Detailed Description

template<class K, class V>
class lout::container::typed::HashTable< K, V >

Typed version of container::untyped::HashTable.

Constructor & Destructor Documentation

template<class K, class V>
lout::container::typed::HashTable< K, V >::HashTable ( bool  ownerOfKeys,
bool  ownerOfValues,
int  tableSize = 251 
) [inline]

template<class K, class V>
lout::container::typed::HashTable< K, V >::~HashTable (  )  [inline]


Member Function Documentation

template<class K, class V>
bool lout::container::typed::HashTable< K, V >::contains ( K *  key  )  [inline]

template<class K, class V>
V* lout::container::typed::HashTable< K, V >::get ( K *  key  )  [inline]

template<class K, class V>
K* lout::container::typed::HashTable< K, V >::getKey ( K *  key  )  [inline]

template<class K, class V>
void lout::container::typed::HashTable< K, V >::put ( K *  key,
V *  value 
) [inline]

template<class K, class V>
bool lout::container::typed::HashTable< K, V >::remove ( K *  key  )  [inline]


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

Generated on Wed Sep 7 02:00:38 2011 for Dillo by  doxygen 1.5.9