Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

sglHashTable Class Template Reference

Hash table. More...

#include <sglHashTable.hpp>

List of all members.

Public Methods

 sglHashTable (unsigned int hashsize)
virtual ~sglHashTable ()
T* search (T *t)
T* searchagain (T *t, T *u)
void add (T *t)


Detailed Description

template<class T> class sglHashTable

Hash table.

Definition at line 34 of file sglHashTable.hpp.


Constructor & Destructor Documentation

template<class T>
sglHashTable<T>::~sglHashTable<T> ( ) [inline, virtual]
 

Destructor.

Definition at line 45 of file sglHashTable.hpp.


Member Function Documentation

template<class T>
T * sglHashTable<T>::search ( T * t ) [inline]
 

find hash table entry with same hash value as t, return NULL if none.

Definition at line 48 of file sglHashTable.hpp.

Referenced by sglTriStripper::triStripify().

template<class T>
T * sglHashTable<T>::searchagain ( T * t,
T * u ) [inline]
 

find hash table entry with same hash value as t, and after u return NULL if none.

Definition at line 63 of file sglHashTable.hpp.

Referenced by sglTriStripper::triStripify().

template<class T>
void sglHashTable<T>::add ( T * t ) [inline]
 

add t to hash table.

Definition at line 80 of file sglHashTable.hpp.

Referenced by sglTriStripper::triStripify().


The documentation for this class was generated from the following file:
Generated at Mon Jul 1 18:00:08 2002 for SGL by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001