LLUUIDHashMap< DATA_TYPE, SIZE > Class Template Reference

#include <lluuidhashmap.h>

Inheritance diagram for LLUUIDHashMap< DATA_TYPE, SIZE >:

Inheritance graph
[legend]
Collaboration diagram for LLUUIDHashMap< DATA_TYPE, SIZE >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLUUIDHashMap (BOOL(*equals)(const LLUUID &uuid, const DATA_TYPE &data), const DATA_TYPE &null_data)
 ~LLUUIDHashMap ()
DATA_TYPE & get (const LLUUID &uuid)
BOOL check (const LLUUID &uuid) const
DATA_TYPE & set (const LLUUID &uuid, const DATA_TYPE &type)
BOOL remove (const LLUUID &uuid)
void removeAll ()
S32 getLength () const

Public Attributes

BOOL(* mEquals )(const LLUUID &uuid, const DATA_TYPE &data)
LLUUIDHashNode< DATA_TYPE, SIZE > mNodes [256]
S32 mIterCount

Protected Attributes

DATA_TYPE mNull


Detailed Description

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

Definition at line 142 of file lluuidhashmap.h.


Constructor & Destructor Documentation

template<class DATA_TYPE, int SIZE>
LLUUIDHashMap< DATA_TYPE, SIZE >::LLUUIDHashMap ( BOOL(*)(const LLUUID &uuid, const DATA_TYPE &data)  equals,
const DATA_TYPE &  null_data 
) [inline]

Definition at line 172 of file lluuidhashmap.h.

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

Definition at line 180 of file lluuidhashmap.h.

References LLUUIDHashMap< DATA_TYPE, SIZE >::removeAll().

Here is the call graph for this function:


Member Function Documentation

template<class DATA_TYPE, int SIZE>
DATA_TYPE & LLUUIDHashMap< DATA_TYPE, SIZE >::get ( const LLUUID uuid  )  [inline]

template<class DATA_TYPE, int SIZE>
BOOL LLUUIDHashMap< DATA_TYPE, SIZE >::check ( const LLUUID uuid  )  const [inline]

template<class DATA_TYPE, int SIZE>
DATA_TYPE & LLUUIDHashMap< DATA_TYPE, SIZE >::set ( const LLUUID uuid,
const DATA_TYPE &  type 
) [inline]

template<class DATA_TYPE, int SIZE>
BOOL LLUUIDHashMap< DATA_TYPE, SIZE >::remove ( const LLUUID uuid  )  [inline]

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

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


Member Data Documentation

template<class DATA_TYPE, int SIZE>
BOOL(* LLUUIDHashMap< DATA_TYPE, SIZE >::mEquals)(const LLUUID &uuid, const DATA_TYPE &data)

template<class DATA_TYPE, int SIZE>
LLUUIDHashNode<DATA_TYPE, SIZE> LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes[256]

template<class DATA_TYPE, int SIZE>
S32 LLUUIDHashMap< DATA_TYPE, SIZE >::mIterCount

Definition at line 161 of file lluuidhashmap.h.

Referenced by LLUUIDHashMap< DATA_TYPE, SIZE >::remove().

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


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

Generated on Fri May 16 09:21:22 2008 for SecondLife by  doxygen 1.5.5