Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

HASH< T > Class Template Reference

#include <hash.H>

List of all members.

Public Methods

 HASH (int size)
 HASH (const HASH< T > &hash_table)
 ~HASH ()
void clear ()
int add (long key, T data)
int add (const char *key, T data)
int add (const char *key, T data, char *&loc, int create_new=1)
int del (long key)
int del (char *key)
find (long key) const
find (char *key) const
T * find_addr (long key) const
T * find_addr (const char *key) const
int bfind (long key, T &data) const
void get_items (ARRAY< long > &keys, ARRAY< T > &data) const

template<class T>
class HASH< T >


Constructor & Destructor Documentation

template<class T>
TEMPLATE_INLINE HASH< T >::HASH int    size
 

template<class T>
TEMPLATE_INLINE HASH< T >::HASH const HASH< T > &    hash_table
 

template<class T>
TEMPLATE_INLINE HASH< T >::~HASH  
 


Member Function Documentation

template<class T>
TEMPLATE_INLINE int HASH< T >::add const char *    key,
  data,
char *&    loc,
int    create_new = 1
 

template<class T>
int HASH< T >::add const char *    key,
  data
[inline]
 

template<class T>
TEMPLATE_INLINE int HASH< T >::add long    key,
  data
 

template<class T>
TEMPLATE_INLINE int HASH< T >::bfind long    key,
T &    data
const
 

template<class T>
TEMPLATE_INLINE void HASH< T >::clear  
 

template<class T>
TEMPLATE_INLINE int HASH< T >::del char *    key
 

template<class T>
TEMPLATE_INLINE int HASH< T >::del long    key
 

template<class T>
T HASH< T >::find char *    key const [inline]
 

template<class T>
T HASH< T >::find long    key const [inline]
 

template<class T>
TEMPLATE_INLINE T * HASH< T >::find_addr const char *    key const
 

template<class T>
TEMPLATE_INLINE T * HASH< T >::find_addr long    key const
 

template<class T>
TEMPLATE_INLINE void HASH< T >::get_items ARRAY< long > &    keys,
ARRAY< T > &    data
const
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:26:00 2003 for gluebase by doxygen1.2.18