LLDynamicArrayIndexed< Type, Key, BlockSize > Class Template Reference

#include <lldarray.h>

Collaboration diagram for LLDynamicArrayIndexed< Type, Key, BlockSize >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< Type
>::iterator 
iterator
typedef std::vector< Type
>::const_iterator 
const_iterator
typedef std::vector< Type
>::reverse_iterator 
reverse_iterator
typedef std::vector< Type
>::const_reverse_iterator 
const_reverse_iterator
typedef std::vector< Type
>::size_type 
size_type

Public Member Functions

 LLDynamicArrayIndexed ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
void reset ()
bool empty () const
size_type size () const
Type & operator[] (const Key &k)
const_iterator find (const Key &k) const

Protected Attributes

std::vector< Type > mVector
std::map< Key, U32mIndexMap

Detailed Description

template<typename Type, typename Key, int BlockSize = 32>
class LLDynamicArrayIndexed< Type, Key, BlockSize >

Definition at line 168 of file lldarray.h.


Member Typedef Documentation

template<typename Type, typename Key, int BlockSize = 32>
typedef std::vector<Type>::const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::const_iterator

Definition at line 172 of file lldarray.h.

template<typename Type, typename Key, int BlockSize = 32>
typedef std::vector<Type>::const_reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::const_reverse_iterator

Definition at line 174 of file lldarray.h.

template<typename Type, typename Key, int BlockSize = 32>
typedef std::vector<Type>::iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::iterator

Definition at line 171 of file lldarray.h.

template<typename Type, typename Key, int BlockSize = 32>
typedef std::vector<Type>::reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::reverse_iterator

Definition at line 173 of file lldarray.h.

template<typename Type, typename Key, int BlockSize = 32>
typedef std::vector<Type>::size_type LLDynamicArrayIndexed< Type, Key, BlockSize >::size_type

Definition at line 175 of file lldarray.h.


Constructor & Destructor Documentation

template<typename Type, typename Key, int BlockSize = 32>
LLDynamicArrayIndexed< Type, Key, BlockSize >::LLDynamicArrayIndexed (  )  [inline]

Definition at line 181 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.


Member Function Documentation

template<typename Type, typename Key, int BlockSize = 32>
const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::begin (  )  const [inline]

Definition at line 184 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::begin (  )  [inline]

Definition at line 183 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

Referenced by LLMessageBlock::~LLMessageBlock(), LLMessageTemplate::~LLMessageTemplate(), and LLMsgBlkData::~LLMsgBlkData().

template<typename Type, typename Key, int BlockSize = 32>
bool LLDynamicArrayIndexed< Type, Key, BlockSize >::empty (  )  const [inline]

Definition at line 194 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::end (  )  const [inline]

Definition at line 186 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::end (  )  [inline]

Definition at line 185 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

Referenced by LLMessageTemplate::getBlock(), LLMessageBlock::getVariable(), LLMessageBlock::~LLMessageBlock(), LLMessageTemplate::~LLMessageTemplate(), and LLMsgBlkData::~LLMsgBlkData().

template<typename Type, typename Key, int BlockSize = 32>
const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::find ( const Key k  )  const [inline]

Definition at line 214 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mIndexMap, and LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

Referenced by LLMessageTemplate::getBlock(), and LLMessageBlock::getVariable().

template<typename Type, typename Key, int BlockSize = 32>
Type& LLDynamicArrayIndexed< Type, Key, BlockSize >::operator[] ( const Key k  )  [inline]

Definition at line 197 of file lldarray.h.

References llassert, LLDynamicArrayIndexed< Type, Key, BlockSize >::mIndexMap, LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector, and n.

template<typename Type, typename Key, int BlockSize = 32>
const_reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rbegin (  )  const [inline]

Definition at line 189 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rbegin (  )  [inline]

Definition at line 188 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
const_reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rend (  )  const [inline]

Definition at line 191 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rend (  )  [inline]

Definition at line 190 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
void LLDynamicArrayIndexed< Type, Key, BlockSize >::reset (  )  [inline]

Definition at line 193 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mIndexMap, and LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.

template<typename Type, typename Key, int BlockSize = 32>
size_type LLDynamicArrayIndexed< Type, Key, BlockSize >::size (  )  const [inline]

Definition at line 195 of file lldarray.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.


Member Data Documentation

template<typename Type, typename Key, int BlockSize = 32>
std::map<Key, U32> LLDynamicArrayIndexed< Type, Key, BlockSize >::mIndexMap [protected]

Definition at line 178 of file lldarray.h.

Referenced by LLDynamicArrayIndexed< Type, Key, BlockSize >::find(), LLDynamicArrayIndexed< Type, Key, BlockSize >::operator[](), and LLDynamicArrayIndexed< Type, Key, BlockSize >::reset().

template<typename Type, typename Key, int BlockSize = 32>
std::vector<Type> LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector [protected]

Definition at line 177 of file lldarray.h.

Referenced by LLDynamicArrayIndexed< Type, Key, BlockSize >::begin(), LLDynamicArrayIndexed< Type, Key, BlockSize >::empty(), LLDynamicArrayIndexed< Type, Key, BlockSize >::end(), LLDynamicArrayIndexed< Type, Key, BlockSize >::find(), LLDynamicArrayIndexed< Type, Key, BlockSize >::LLDynamicArrayIndexed(), LLDynamicArrayIndexed< Type, Key, BlockSize >::operator[](), LLDynamicArrayIndexed< Type, Key, BlockSize >::rbegin(), LLDynamicArrayIndexed< Type, Key, BlockSize >::rend(), LLDynamicArrayIndexed< Type, Key, BlockSize >::reset(), and LLDynamicArrayIndexed< Type, Key, BlockSize >::size().


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