LLAssocList< INDEX_TYPE, VALUE_TYPE > Class Template Reference

#include <llassoclist.h>

Inheritance diagram for LLAssocList< INDEX_TYPE, VALUE_TYPE >:

Inheritance graph
[legend]
Collaboration diagram for LLAssocList< INDEX_TYPE, VALUE_TYPE >:

Collaboration graph
[legend]
List of all members.

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

NodemHead

Friends

std::ostream & operator<< (std::ostream &os, LLAssocList &map)

Classes

class  Node

Detailed Description

template<class INDEX_TYPE, class VALUE_TYPE>
class LLAssocList< INDEX_TYPE, VALUE_TYPE >

Definition at line 51 of file llassoclist.h.


Constructor & Destructor Documentation

template<class INDEX_TYPE, class VALUE_TYPE>
LLAssocList< INDEX_TYPE, VALUE_TYPE >::LLAssocList (  )  [inline]

Definition at line 75 of file llassoclist.h.

template<class INDEX_TYPE, class VALUE_TYPE>
LLAssocList< INDEX_TYPE, VALUE_TYPE >::~LLAssocList (  )  [inline]

Definition at line 81 of file llassoclist.h.


Member Function Documentation

template<class INDEX_TYPE, class VALUE_TYPE>
void LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToHead ( const INDEX_TYPE &  index,
const VALUE_TYPE &  value 
) [inline]

Definition at line 147 of file llassoclist.h.

Referenced by LLCharacter::setAnimationData().

template<class INDEX_TYPE, class VALUE_TYPE>
void LLAssocList< INDEX_TYPE, VALUE_TYPE >::addToTail ( const INDEX_TYPE &  index,
const VALUE_TYPE &  value 
) [inline]

Definition at line 156 of file llassoclist.h.

Referenced by LLPolyMesh::getMesh().

template<class INDEX_TYPE, class VALUE_TYPE>
INDEX_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getIndex ( const INDEX_TYPE &  index  )  [inline]

Definition at line 241 of file llassoclist.h.

template<class INDEX_TYPE, class VALUE_TYPE>
INDEX_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getIndexAt ( U32  i  )  [inline]

Definition at line 255 of file llassoclist.h.

Referenced by LLPolyMesh::dumpDiagInfo().

template<class INDEX_TYPE, class VALUE_TYPE>
VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValue ( const INDEX_TYPE &  index  )  [inline]

Definition at line 211 of file llassoclist.h.

Referenced by LLCharacter::getAnimationData(), LLPolyMesh::getMesh(), and LLCharacter::setAnimationData().

template<class INDEX_TYPE, class VALUE_TYPE>
VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::getValueAt ( U32  i  )  [inline]

Definition at line 225 of file llassoclist.h.

Referenced by LLPolyMesh::dumpDiagInfo(), and LLPolyMesh::freeAllMeshes().

template<class INDEX_TYPE, class VALUE_TYPE>
BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::isEmpty (  )  [inline]

Definition at line 87 of file llassoclist.h.

template<class INDEX_TYPE, class VALUE_TYPE>
U32 LLAssocList< INDEX_TYPE, VALUE_TYPE >::length (  )  [inline]

Definition at line 93 of file llassoclist.h.

Referenced by LLPolyMesh::dumpDiagInfo(), and LLPolyMesh::freeAllMeshes().

template<class INDEX_TYPE, class VALUE_TYPE>
VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::operator[] ( U32  i  )  [inline]

Definition at line 278 of file llassoclist.h.

template<class INDEX_TYPE, class VALUE_TYPE>
VALUE_TYPE* LLAssocList< INDEX_TYPE, VALUE_TYPE >::operator[] ( const INDEX_TYPE &  index  )  [inline]

Definition at line 271 of file llassoclist.h.

template<class INDEX_TYPE, class VALUE_TYPE>
BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::remove ( const INDEX_TYPE &  index  )  [inline]

Definition at line 106 of file llassoclist.h.

Referenced by LLCharacter::removeAnimationData().

template<class INDEX_TYPE, class VALUE_TYPE>
void LLAssocList< INDEX_TYPE, VALUE_TYPE >::removeAll (  )  [inline]

Definition at line 135 of file llassoclist.h.

Referenced by LLPolyMesh::freeAllMeshes(), and LLAssocList< std::string, LLLinkedList< ParameterizedMotion > * >::~LLAssocList().

template<class INDEX_TYPE, class VALUE_TYPE>
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.

template<class INDEX_TYPE, class VALUE_TYPE>
BOOL LLAssocList< INDEX_TYPE, VALUE_TYPE >::setValueAt ( U32  i,
const VALUE_TYPE &  value 
) [inline]

Definition at line 198 of file llassoclist.h.


Friends And Related Function Documentation

template<class INDEX_TYPE, class VALUE_TYPE>
std::ostream& operator<< ( std::ostream &  os,
LLAssocList< INDEX_TYPE, VALUE_TYPE > &  map 
) [friend]

Definition at line 284 of file llassoclist.h.


Member Data Documentation

template<class INDEX_TYPE, class VALUE_TYPE>
Node* LLAssocList< INDEX_TYPE, VALUE_TYPE >::mHead [private]

Definition at line 71 of file llassoclist.h.

Referenced by LLAssocList< std::string, LLLinkedList< ParameterizedMotion > * >::isEmpty(), LLAssocList< std::string, LLLinkedList< ParameterizedMotion > * >::length(), LLAssocList< std::string, LLLinkedList< ParameterizedMotion > * >::LLAssocList(), and LLAssocList< std::string, LLLinkedList< ParameterizedMotion > * >::remove().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:10 2010 for Second Life Viewer by  doxygen 1.4.7