LLLocalIDHashMap< DATA_TYPE, SIZE > Class Template Reference

#include <lllocalidhashmap.h>

Collaboration diagram for LLLocalIDHashMap< DATA_TYPE, SIZE >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLLocalIDHashMap ()
 LLLocalIDHashMap (const DATA_TYPE &null_data)
 ~LLLocalIDHashMap ()
DATA_TYPE & get (const U32 local_id)
BOOL check (const U32 local_id) const
DATA_TYPE & set (const U32 local_id, const DATA_TYPE data)
BOOL remove (const U32 local_id)
void removeAll ()
void setNull (const DATA_TYPE data)
S32 getLength () const
void dumpIter ()
void dumpBin (U32 bin)

Protected Member Functions

void addIter (LLLocalIDHashMapIter< DATA_TYPE, SIZE > *iter)
void removeIter (LLLocalIDHashMapIter< DATA_TYPE, SIZE > *iter)
BOOL removeWithShift (const U32 local_id)

Protected Attributes

LLLocalIDHashNode< DATA_TYPE,
SIZE > 
mNodes [256]
S32 mIterCount
LLLocalIDHashMapIter
< DATA_TYPE, SIZE > * 
mIters [MAX_ITERS]
DATA_TYPE mNull

Friends

class LLLocalIDHashMapIter< DATA_TYPE, SIZE >


Detailed Description

template<class DATA_TYPE, int SIZE>
class LLLocalIDHashMap< DATA_TYPE, SIZE >

Definition at line 113 of file lllocalidhashmap.h.


Constructor & Destructor Documentation

template<class DATA_TYPE, int SIZE>
LLLocalIDHashMap< DATA_TYPE, SIZE >::LLLocalIDHashMap (  )  [inline]

Definition at line 163 of file lllocalidhashmap.h.

References i, MAX_ITERS, LLLocalIDHashMap< DATA_TYPE, SIZE >::mIters, NULL, and S32.

template<class DATA_TYPE, int SIZE>
LLLocalIDHashMap< DATA_TYPE, SIZE >::LLLocalIDHashMap ( const DATA_TYPE &  null_data  )  [inline]

Definition at line 175 of file lllocalidhashmap.h.

References i, MAX_ITERS, LLLocalIDHashMap< DATA_TYPE, SIZE >::mIters, NULL, and S32.

template<class DATA_TYPE, int SIZE>
LLLocalIDHashMap< DATA_TYPE, SIZE >::~LLLocalIDHashMap (  )  [inline]


Member Function Documentation

template<class DATA_TYPE, int SIZE>
DATA_TYPE & LLLocalIDHashMap< DATA_TYPE, SIZE >::get ( const U32  local_id  )  [inline]

template<class DATA_TYPE, int SIZE>
BOOL LLLocalIDHashMap< DATA_TYPE, SIZE >::check ( const U32  local_id  )  const [inline]

template<class DATA_TYPE, int SIZE>
DATA_TYPE & LLLocalIDHashMap< DATA_TYPE, SIZE >::set ( const U32  local_id,
const DATA_TYPE  data 
) [inline]

template<class DATA_TYPE, int SIZE>
BOOL LLLocalIDHashMap< DATA_TYPE, SIZE >::remove ( const U32  local_id  )  [inline]

template<class DATA_TYPE, int SIZE>
void LLLocalIDHashMap< DATA_TYPE, SIZE >::removeAll (  )  [inline]

template<class DATA_TYPE, int SIZE>
void LLLocalIDHashMap< DATA_TYPE, SIZE >::setNull ( const DATA_TYPE  data  )  [inline]

template<class DATA_TYPE, int SIZE>
S32 LLLocalIDHashMap< DATA_TYPE, SIZE >::getLength (  )  const [inline]

template<class DATA_TYPE, int SIZE>
void LLLocalIDHashMap< DATA_TYPE, SIZE >::dumpIter (  )  [inline]

template<class DATA_TYPE, int SIZE>
void LLLocalIDHashMap< DATA_TYPE, SIZE >::dumpBin ( U32  bin  )  [inline]

template<class DATA_TYPE, int SIZE>
void LLLocalIDHashMap< DATA_TYPE, SIZE >::addIter ( LLLocalIDHashMapIter< DATA_TYPE, SIZE > *  iter  )  [inline, protected]

template<class DATA_TYPE, int SIZE>
void LLLocalIDHashMap< DATA_TYPE, SIZE >::removeIter ( LLLocalIDHashMapIter< DATA_TYPE, SIZE > *  iter  )  [inline, protected]

template<class DATA_TYPE, int SIZE>
BOOL LLLocalIDHashMap< DATA_TYPE, SIZE >::removeWithShift ( const U32  local_id  )  [inline, protected]


Friends And Related Function Documentation

template<class DATA_TYPE, int SIZE>
friend class LLLocalIDHashMapIter< DATA_TYPE, SIZE > [friend]

Definition at line 116 of file lllocalidhashmap.h.


Member Data Documentation

template<class DATA_TYPE, int SIZE>
LLLocalIDHashNode<DATA_TYPE, SIZE> LLLocalIDHashMap< DATA_TYPE, SIZE >::mNodes[256] [protected]

template<class DATA_TYPE, int SIZE>
S32 LLLocalIDHashMap< DATA_TYPE, SIZE >::mIterCount [protected]

template<class DATA_TYPE, int SIZE>
LLLocalIDHashMapIter<DATA_TYPE, SIZE>* LLLocalIDHashMap< DATA_TYPE, SIZE >::mIters[MAX_ITERS] [protected]

template<class DATA_TYPE, int SIZE>
DATA_TYPE LLLocalIDHashMap< DATA_TYPE, SIZE >::mNull [protected]


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

Generated on Fri May 16 08:51:51 2008 for SecondLife by  doxygen 1.5.5