Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

hash< Key, T > Class Template Reference

#include <hash.h>

Inheritance diagram for hash< Key, T >:

basic_hash< Key, HashElt< Key, T > > List of all members.

Public Member Functions

 hash (typename basic_hash< Key, HashElt< Key, T > >::size_type size=31, typename basic_hash< Key, HashElt< Key, T > >::hashfun_t f=hashfun)
 hash (const hash &S)
 ~hash ()
hashoperator= (const hash &S)
T & operator[] (const Key &k)
operator[] (const Key &k) const
list_typeinsert (const Key &k, const T &v)
list_typeinsert (const list_type *e)
list_typeinsert (const typename hash< Key, T >::iterator &i)
list_typeinsert (const typename hash< Key, T >::const_iterator &i)

Private Types

typedef basicHashElt< Key > list_elem
typedef HashElt< Key, T > list_type

Private Member Functions

void construct (const hash &S)
void resize (typename basic_hash< Key, HashElt< Key, T > >::size_type new_size)

template<class Key, class T>
class hash< Key, T >


Member Typedef Documentation

template<class Key, class T>
typedef basicHashElt<Key> hash< Key, T >::list_elem [private]
 

template<class Key, class T>
typedef HashElt<Key,T> hash< Key, T >::list_type [private]
 

Reimplemented from basic_hash< Key, HashElt< Key, T > >.


Constructor & Destructor Documentation

template<class Key, class T>
hash< Key, T >::hash typename basic_hash< Key, HashElt< Key, T > >::size_type  size = 31,
typename basic_hash< Key, HashElt< Key, T > >::hashfun_t  f = hashfun
[inline]
 

template<class Key, class T>
hash< Key, T >::hash const hash< Key, T > &  S  )  [inline]
 

template<class Key, class T>
hash< Key, T >::~hash  )  [inline]
 


Member Function Documentation

template<class Key, class T>
void hash< Key, T >::construct const hash< Key, T > &  S  )  [inline, private]
 

template<class Key, class T>
list_type* hash< Key, T >::insert const typename hash< Key, T >::const_iterator i  )  [inline]
 

template<class Key, class T>
list_type* hash< Key, T >::insert const typename hash< Key, T >::iterator i  )  [inline]
 

template<class Key, class T>
list_type* hash< Key, T >::insert const list_type e  )  [inline]
 

template<class Key, class T>
list_type* hash< Key, T >::insert const Key &  k,
const T &  v
[inline]
 

template<class Key, class T>
hash& hash< Key, T >::operator= const hash< Key, T > &  S  )  [inline]
 

template<class Key, class T>
T hash< Key, T >::operator[] const Key &  k  )  const [inline]
 

template<class Key, class T>
T& hash< Key, T >::operator[] const Key &  k  )  [inline]
 

template<class Key, class T>
void hash< Key, T >::resize typename basic_hash< Key, HashElt< Key, T > >::size_type  new_size  )  [inline, private]
 


The documentation for this class was generated from the following file:
Generated on Thu Feb 23 23:56:10 2006 for liby2util by doxygen 1.3.6