Wm4::THashTable< TKEY, TVALUE > Class Template Reference

#include <Wm4THashTable.h>

List of all members.

Public Member Functions

TVALUE * Find (const TKEY &rtKey) const
TVALUE * GetFirst (TKEY *ptKey) const
TVALUE * GetNext (TKEY *ptKey) const
int GetQuantity () const
bool Insert (const TKEY &rtKey, const TVALUE &rtValue)
bool Remove (const TKEY &rtKey)
void RemoveAll ()
 THashTable (int iTableSize)
 ~THashTable ()

Public Attributes

int(* UserHashFunction )(const TKEY &)

Detailed Description

template<class TKEY, class TVALUE>
class Wm4::THashTable< TKEY, TVALUE >

Definition at line 45 of file Wm4THashTable.h.


Constructor & Destructor Documentation

template<class TKEY , class TVALUE >
Wm4::THashTable< TKEY, TVALUE >::THashTable ( int  iTableSize  )  [inline]

Definition at line 21 of file Wm4THashTable.inl.

References Wm4::THashTable< TKEY, TVALUE >::UserHashFunction, and WM4_NEW.

template<class TKEY , class TVALUE >
Wm4::THashTable< TKEY, TVALUE >::~THashTable (  )  [inline]

Definition at line 35 of file Wm4THashTable.inl.

References Wm4::THashTable< TKEY, TVALUE >::RemoveAll(), and WM4_DELETE.


Member Function Documentation

template<class TKEY , class TVALUE >
TVALUE * Wm4::THashTable< TKEY, TVALUE >::Find ( const TKEY &  rtKey  )  const [inline]

Definition at line 78 of file Wm4THashTable.inl.

template<class TKEY , class TVALUE >
TVALUE * Wm4::THashTable< TKEY, TVALUE >::GetFirst ( TKEY *  ptKey  )  const [inline]

Definition at line 163 of file Wm4THashTable.inl.

template<class TKEY , class TVALUE >
TVALUE * Wm4::THashTable< TKEY, TVALUE >::GetNext ( TKEY *  ptKey  )  const [inline]

Definition at line 182 of file Wm4THashTable.inl.

template<class TKEY , class TVALUE >
int Wm4::THashTable< TKEY, TVALUE >::GetQuantity (  )  const [inline]

Definition at line 42 of file Wm4THashTable.inl.

template<class TKEY , class TVALUE >
bool Wm4::THashTable< TKEY, TVALUE >::Insert ( const TKEY &  rtKey,
const TVALUE &  rtValue 
) [inline]

Definition at line 48 of file Wm4THashTable.inl.

References WM4_NEW.

template<class TKEY , class TVALUE >
bool Wm4::THashTable< TKEY, TVALUE >::Remove ( const TKEY &  rtKey  )  [inline]

Definition at line 99 of file Wm4THashTable.inl.

References WM4_DELETE.

template<class TKEY , class TVALUE >
void Wm4::THashTable< TKEY, TVALUE >::RemoveAll (  )  [inline]

Definition at line 142 of file Wm4THashTable.inl.

References WM4_DELETE.

Referenced by Wm4::THashTable< TKEY, TVALUE >::~THashTable().


Member Data Documentation

template<class TKEY , class TVALUE >
int(* Wm4::THashTable< TKEY, TVALUE >::UserHashFunction)(const TKEY &)

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

Generated on Wed Nov 23 19:02:50 2011 for FreeCAD by  doxygen 1.6.1