LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE > Class Template Reference

#include <llsimplehash.h>

Inheritance diagram for LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 LLSimpleHash ()
virtual ~LLSimpleHash ()
virtual int getIndex (HASH_KEY_TYPE key)
bool insert (LLSimpleHashEntry< HASH_KEY_TYPE > *entry)
LLSimpleHashEntry
< HASH_KEY_TYPE > * 
find (HASH_KEY_TYPE key)
bool erase (LLSimpleHashEntry< HASH_KEY_TYPE > *entry)
bool erase (HASH_KEY_TYPE key)
LLSimpleHashEntry
< HASH_KEY_TYPE > * 
pop_element ()
LLSimpleHashEntry
< HASH_KEY_TYPE > * 
get_element_at_index (S32 index) const

Private Attributes

LLSimpleHashEntry
< HASH_KEY_TYPE > * 
mEntryTable [TABLE_SIZE]


Detailed Description

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
class LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >

Definition at line 66 of file llsimplehash.h.


Constructor & Destructor Documentation

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::LLSimpleHash (  )  [inline]

Definition at line 69 of file llsimplehash.h.

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
virtual LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::~LLSimpleHash (  )  [inline, virtual]

Definition at line 75 of file llsimplehash.h.


Member Function Documentation

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
virtual int LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::getIndex ( HASH_KEY_TYPE  key  )  [inline, virtual]

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
bool LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::insert ( LLSimpleHashEntry< HASH_KEY_TYPE > *  entry  )  [inline]

Definition at line 84 of file llsimplehash.h.

Referenced by LLQueuedThread::addRequest().

Here is the caller graph for this function:

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
LLSimpleHashEntry<HASH_KEY_TYPE>* LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::find ( HASH_KEY_TYPE  key  )  [inline]

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
bool LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::erase ( LLSimpleHashEntry< HASH_KEY_TYPE > *  entry  )  [inline]

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
bool LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::erase ( HASH_KEY_TYPE  key  )  [inline]

Definition at line 106 of file llsimplehash.h.

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
LLSimpleHashEntry<HASH_KEY_TYPE>* LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::pop_element (  )  [inline]

Definition at line 136 of file llsimplehash.h.

Referenced by LLQueuedThread::shutdown().

Here is the caller graph for this function:

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
LLSimpleHashEntry<HASH_KEY_TYPE>* LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::get_element_at_index ( S32  index  )  const [inline]

Definition at line 150 of file llsimplehash.h.

Referenced by LLQueuedThread::check().

Here is the caller graph for this function:


Member Data Documentation

template<typename HASH_KEY_TYPE, int TABLE_SIZE>
LLSimpleHashEntry<HASH_KEY_TYPE>* LLSimpleHash< HASH_KEY_TYPE, TABLE_SIZE >::mEntryTable[TABLE_SIZE] [private]


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

Generated on Fri May 16 09:04:37 2008 for SecondLife by  doxygen 1.5.5