#include <llassoclist.h>

Public Member Functions | |
| LLAssocList () | |
| ~LLAssocList () | |
| BOOL | isEmpty () |
| U32 | length () |
| BOOL | remove (const INDEX_TYPE &index) |
| void | removeAll () |
| void | addToHead (const INDEX_TYPE &index, const VALUE_TYPE &value) |
| void | addToTail (const INDEX_TYPE &index, const VALUE_TYPE &value) |
| BOOL | setValue (const INDEX_TYPE &index, const VALUE_TYPE &value, BOOL addIfNotFound=FALSE) |
| BOOL | setValueAt (U32 i, const VALUE_TYPE &value) |
| VALUE_TYPE * | getValue (const INDEX_TYPE &index) |
| VALUE_TYPE * | getValueAt (U32 i) |
| INDEX_TYPE * | getIndex (const INDEX_TYPE &index) |
| INDEX_TYPE * | getIndexAt (U32 i) |
| VALUE_TYPE * | operator[] (const INDEX_TYPE &index) |
| VALUE_TYPE * | operator[] (U32 i) |
Private Attributes | |
| Node * | mHead |
Friends | |
| std::ostream & | operator<< (std::ostream &os, LLAssocList &map) |
Classes | |
| class | Node |
Definition at line 51 of file llassoclist.h.
| LLAssocList< INDEX_TYPE, VALUE_TYPE >::LLAssocList | ( | ) | [inline] |
Definition at line 75 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, and NULL.
| LLAssocList< INDEX_TYPE, VALUE_TYPE >::~LLAssocList | ( | ) | [inline] |
Definition at line 81 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::removeAll().

| BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::isEmpty | ( | ) | [inline] |
Definition at line 87 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, and NULL.
| U32 LLAssocList< INDEX_TYPE, VALUE_TYPE >::length | ( | ) | [inline] |
Definition at line 93 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, and LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext.
| BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::remove | ( | const INDEX_TYPE & | index | ) | [inline] |
Definition at line 106 of file llassoclist.h.
References FALSE, LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mIndex, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext, and TRUE.
| void LLAssocList< INDEX_TYPE, VALUE_TYPE >::removeAll | ( | ) | [inline] |
Definition at line 135 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, and LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext.
Referenced by LLAssocList< INDEX_TYPE, VALUE_TYPE >::~LLAssocList().

| void LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToHead | ( | const INDEX_TYPE & | index, | |
| const VALUE_TYPE & | value | |||
| ) | [inline] |
Definition at line 147 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead.
| void LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToTail | ( | const INDEX_TYPE & | index, | |
| const VALUE_TYPE & | value | |||
| ) | [inline] |
Definition at line 156 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext, and NULL.
Referenced by LLAssocList< INDEX_TYPE, VALUE_TYPE >::setValue().

| BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::setValue | ( | const INDEX_TYPE & | index, | |
| const VALUE_TYPE & | value, | |||
| BOOL | addIfNotFound = FALSE | |||
| ) | [inline] |
Definition at line 181 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToTail(), FALSE, LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValue(), and TRUE.

| BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::setValueAt | ( | U32 | i, | |
| const VALUE_TYPE & | value | |||
| ) | [inline] |
Definition at line 198 of file llassoclist.h.
References FALSE, LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValueAt(), and TRUE.

| VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValue | ( | const INDEX_TYPE & | index | ) | [inline] |
Definition at line 211 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext, and NULL.
Referenced by LLAssocList< INDEX_TYPE, VALUE_TYPE >::operator[](), and LLAssocList< INDEX_TYPE, VALUE_TYPE >::setValue().

| VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValueAt | ( | U32 | i | ) | [inline] |
Definition at line 225 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext, and NULL.
Referenced by LLAssocList< INDEX_TYPE, VALUE_TYPE >::operator[](), and LLAssocList< INDEX_TYPE, VALUE_TYPE >::setValueAt().

| INDEX_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getIndex | ( | const INDEX_TYPE & | index | ) | [inline] |
Definition at line 241 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext, and NULL.
| INDEX_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getIndexAt | ( | U32 | i | ) | [inline] |
Definition at line 255 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead, LLAssocList< INDEX_TYPE, VALUE_TYPE >::Node::mNext, and NULL.
| VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::operator[] | ( | const INDEX_TYPE & | index | ) | [inline] |
Definition at line 271 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValue().

| VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::operator[] | ( | U32 | i | ) | [inline] |
Definition at line 278 of file llassoclist.h.
References LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValueAt().

| std::ostream& operator<< | ( | std::ostream & | os, | |
| LLAssocList< INDEX_TYPE, VALUE_TYPE > & | map | |||
| ) | [friend] |
Definition at line 284 of file llassoclist.h.
Node* LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead [private] |
Definition at line 71 of file llassoclist.h.
Referenced by LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToHead(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToTail(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::getIndex(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::getIndexAt(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValue(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValueAt(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::isEmpty(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::length(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::LLAssocList(), LLAssocList< INDEX_TYPE, VALUE_TYPE >::remove(), and LLAssocList< INDEX_TYPE, VALUE_TYPE >::removeAll().
1.5.5