#include <lldarray.h>
Collaboration diagram for LLDynamicArrayIndexed< Type, Key, BlockSize >:
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, U32 > | mIndexMap |
Definition at line 168 of file lldarray.h.
typedef std::vector<Type>::const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::const_iterator |
Definition at line 172 of file lldarray.h.
typedef std::vector<Type>::const_reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::const_reverse_iterator |
Definition at line 174 of file lldarray.h.
typedef std::vector<Type>::iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::iterator |
Definition at line 171 of file lldarray.h.
typedef std::vector<Type>::reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::reverse_iterator |
Definition at line 173 of file lldarray.h.
typedef std::vector<Type>::size_type LLDynamicArrayIndexed< Type, Key, BlockSize >::size_type |
Definition at line 175 of file lldarray.h.
LLDynamicArrayIndexed< Type, Key, BlockSize >::LLDynamicArrayIndexed | ( | ) | [inline] |
Definition at line 181 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::begin | ( | ) | const [inline] |
Definition at line 184 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
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().
bool LLDynamicArrayIndexed< Type, Key, BlockSize >::empty | ( | ) | const [inline] |
Definition at line 194 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
const_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::end | ( | ) | const [inline] |
Definition at line 186 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
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().
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().
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.
const_reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rbegin | ( | ) | const [inline] |
Definition at line 189 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rbegin | ( | ) | [inline] |
Definition at line 188 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
const_reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rend | ( | ) | const [inline] |
Definition at line 191 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
reverse_iterator LLDynamicArrayIndexed< Type, Key, BlockSize >::rend | ( | ) | [inline] |
Definition at line 190 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
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.
size_type LLDynamicArrayIndexed< Type, Key, BlockSize >::size | ( | ) | const [inline] |
Definition at line 195 of file lldarray.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::mVector.
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().
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().