#include <lluuidhashmap.h>
Inheritance diagram for LLUUIDHashMap< DATA_TYPE, SIZE >:
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 |
Definition at line 142 of file lluuidhashmap.h.
LLUUIDHashMap< DATA_TYPE, SIZE >::LLUUIDHashMap | ( | BOOL(*)(const LLUUID &uuid, const DATA_TYPE &data) | equals, | |
const DATA_TYPE & | null_data | |||
) |
Definition at line 172 of file lluuidhashmap.h.
LLUUIDHashMap< DATA_TYPE, SIZE >::~LLUUIDHashMap | ( | ) |
Definition at line 180 of file lluuidhashmap.h.
References LLUUIDHashMap< DATA_TYPE, SIZE >::removeAll().
BOOL LLUUIDHashMap< DATA_TYPE, SIZE >::check | ( | const LLUUID & | uuid | ) | const [inline] |
Definition at line 273 of file lluuidhashmap.h.
References count, i, LLUUIDHashNode< DATA, SIZE >::mCount, LLUUIDHashNode< DATA, SIZE >::mData, LLUUID::mData, LLUUIDHashMap< DATA_TYPE, SIZE >::mEquals, LLUUIDHashNode< DATA, SIZE >::mKey, LLUUIDHashNode< DATA, SIZE >::mNextNodep, LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes, S32, and TRUE.
Referenced by LLMotionRegistry::addMotion().
DATA_TYPE & LLUUIDHashMap< DATA_TYPE, SIZE >::get | ( | const LLUUID & | uuid | ) | [inline] |
Definition at line 243 of file lluuidhashmap.h.
References count, i, LLUUIDHashNode< DATA, SIZE >::mCount, LLUUIDHashNode< DATA, SIZE >::mData, LLUUID::mData, LLUUIDHashMap< DATA_TYPE, SIZE >::mEquals, LLUUIDHashNode< DATA, SIZE >::mKey, LLUUIDHashNode< DATA, SIZE >::mNextNodep, LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes, and S32.
Referenced by LLMotionRegistry::createMotion().
S32 LLUUIDHashMap< DATA_TYPE, SIZE >::getLength | ( | ) | const [inline] |
Definition at line 226 of file lluuidhashmap.h.
References count, LLUUIDHashNode< DATA, SIZE >::mCount, LLUUIDHashNode< DATA, SIZE >::mNextNodep, LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes, and S32.
BOOL LLUUIDHashMap< DATA_TYPE, SIZE >::remove | ( | const LLUUID & | uuid | ) | [inline] |
Definition at line 361 of file lluuidhashmap.h.
References count, i, llendl, llerrs, LLUUIDHashNode< DATA, SIZE >::mCount, LLUUIDHashNode< DATA, SIZE >::mData, LLUUID::mData, LLUUIDHashMap< DATA_TYPE, SIZE >::mEquals, LLUUIDHashMap< DATA_TYPE, SIZE >::mIterCount, LLUUIDHashNode< DATA, SIZE >::mKey, LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes, LLUUIDHashMap< DATA_TYPE, SIZE >::mNull, NULL, and S32.
void LLUUIDHashMap< DATA_TYPE, SIZE >::removeAll | ( | ) |
Definition at line 186 of file lluuidhashmap.h.
References count, FALSE, first, i, LLUUIDHashNode< DATA, SIZE >::mNextNodep, LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes, LLUUIDHashMap< DATA_TYPE, SIZE >::mNull, NULL, S32, and TRUE.
Referenced by LLMotionRegistry::~LLMotionRegistry(), and LLUUIDHashMap< DATA_TYPE, SIZE >::~LLUUIDHashMap().
DATA_TYPE & LLUUIDHashMap< DATA_TYPE, SIZE >::set | ( | const LLUUID & | uuid, | |
const DATA_TYPE & | type | |||
) | [inline] |
Definition at line 305 of file lluuidhashmap.h.
References count, i, LLUUIDHashNode< DATA, SIZE >::mCount, LLUUIDHashNode< DATA, SIZE >::mData, LLUUID::mData, LLUUIDHashMap< DATA_TYPE, SIZE >::mEquals, LLUUIDHashNode< DATA, SIZE >::mKey, LLUUIDHashNode< DATA, SIZE >::mNextNodep, LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes, and S32.
Referenced by LLMotionRegistry::addMotion(), and LLMotionRegistry::markBad().
BOOL(* LLUUIDHashMap< DATA_TYPE, SIZE >::mEquals)(const LLUUID &uuid, const DATA_TYPE &data) |
S32 LLUUIDHashMap< DATA_TYPE, SIZE >::mIterCount |
Definition at line 161 of file lluuidhashmap.h.
Referenced by LLUUIDHashMap< DATA_TYPE, SIZE >::remove().
LLUUIDHashNode<DATA_TYPE, SIZE> LLUUIDHashMap< DATA_TYPE, SIZE >::mNodes[256] |
Definition at line 159 of file lluuidhashmap.h.
Referenced by LLUUIDHashMap< DATA_TYPE, SIZE >::check(), LLUUIDHashMap< DATA_TYPE, SIZE >::get(), LLUUIDHashMap< DATA_TYPE, SIZE >::getLength(), LLUUIDHashMap< DATA_TYPE, SIZE >::remove(), LLUUIDHashMap< DATA_TYPE, SIZE >::removeAll(), and LLUUIDHashMap< DATA_TYPE, SIZE >::set().
DATA_TYPE LLUUIDHashMap< DATA_TYPE, SIZE >::mNull [protected] |
Definition at line 163 of file lluuidhashmap.h.
Referenced by LLUUIDHashMap< DATA_TYPE, SIZE >::remove(), and LLUUIDHashMap< DATA_TYPE, SIZE >::removeAll().