LLMap< INDEX_TYPE, MAPPED_TYPE > Class Template Reference

#include <llmap.h>

Inheritance diagram for LLMap< INDEX_TYPE, MAPPED_TYPE >:

Inheritance graph
[legend]
Collaboration diagram for LLMap< INDEX_TYPE, MAPPED_TYPE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLMap ()
 ~LLMap ()
void resetMap ()
MAPPED_TYPE & getNextData ()
const INDEX_TYPE & getNextKey ()
MAPPED_TYPE & getFirstData ()
const INDEX_TYPE & getFirstKey ()
S32 getLength ()
void addData (const INDEX_TYPE &index, MAPPED_TYPE pointed_to)
void addData (const INDEX_TYPE &index)
MAPPED_TYPE & getData (const INDEX_TYPE &index)
MAPPED_TYPE & getData (const INDEX_TYPE &index, BOOL &b_new_entry)
MAPPED_TYPE getIfThere (const INDEX_TYPE &index)
MAPPED_TYPE & operator[] (const INDEX_TYPE &index)
INDEX_TYPE reverseLookup (const MAPPED_TYPE data)
BOOL removeData (const INDEX_TYPE &index)
BOOL checkData (const INDEX_TYPE &index)
BOOL deleteData (const INDEX_TYPE &index)
void deleteAllData ()
void removeAllData ()

Private Types

typedef std::map< INDEX_TYPE,
MAPPED_TYPE > 
stl_map_t
typedef stl_map_t::iterator stl_iter_t
typedef stl_map_t::value_type stl_value_t

Private Attributes

stl_map_t mStlMap
stl_iter_t mCurIter
MAPPED_TYPE dummy_data
INDEX_TYPE dummy_index

Detailed Description

template<class INDEX_TYPE, class MAPPED_TYPE>
class LLMap< INDEX_TYPE, MAPPED_TYPE >

Definition at line 37 of file llmap.h.


Member Typedef Documentation

template<class INDEX_TYPE, class MAPPED_TYPE>
typedef stl_map_t::iterator LLMap< INDEX_TYPE, MAPPED_TYPE >::stl_iter_t [private]

Definition at line 41 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
typedef std::map<INDEX_TYPE, MAPPED_TYPE> LLMap< INDEX_TYPE, MAPPED_TYPE >::stl_map_t [private]

Definition at line 40 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
typedef stl_map_t::value_type LLMap< INDEX_TYPE, MAPPED_TYPE >::stl_value_t [private]

Definition at line 42 of file llmap.h.


Constructor & Destructor Documentation

template<class INDEX_TYPE, class MAPPED_TYPE>
LLMap< INDEX_TYPE, MAPPED_TYPE >::LLMap (  )  [inline]

Definition at line 50 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
LLMap< INDEX_TYPE, MAPPED_TYPE >::~LLMap (  )  [inline]

Definition at line 56 of file llmap.h.


Member Function Documentation

template<class INDEX_TYPE, class MAPPED_TYPE>
void LLMap< INDEX_TYPE, MAPPED_TYPE >::addData ( const INDEX_TYPE &  index  )  [inline]

Definition at line 119 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
void LLMap< INDEX_TYPE, MAPPED_TYPE >::addData ( const INDEX_TYPE &  index,
MAPPED_TYPE  pointed_to 
) [inline]

Definition at line 114 of file llmap.h.

Referenced by LLFloaterScriptQueue::LLFloaterScriptQueue(), LLGroupMoneyTabEventHandler::LLGroupMoneyTabEventHandler(), LLLiveLSLEditor::LLLiveLSLEditor(), and LLPanelGroupLandMoney::LLPanelGroupLandMoney().

template<class INDEX_TYPE, class MAPPED_TYPE>
BOOL LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData ( const INDEX_TYPE &  index  )  [inline]

Definition at line 197 of file llmap.h.

Referenced by LLScriptScope::addEntry(), LLScriptScope::checkEntry(), LLScriptScope::findEntry(), LLScriptScope::findEntryTyped(), and LLFloaterScriptQueue::findInstance().

template<class INDEX_TYPE, class MAPPED_TYPE>
void LLMap< INDEX_TYPE, MAPPED_TYPE >::deleteAllData (  )  [inline]

Definition at line 228 of file llmap.h.

Referenced by LLScriptScope::~LLScriptScope().

template<class INDEX_TYPE, class MAPPED_TYPE>
BOOL LLMap< INDEX_TYPE, MAPPED_TYPE >::deleteData ( const INDEX_TYPE &  index  )  [inline]

Definition at line 212 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::getData ( const INDEX_TYPE &  index,
BOOL b_new_entry 
) [inline]

Definition at line 133 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::getData ( const INDEX_TYPE &  index  )  [inline]

Definition at line 125 of file llmap.h.

Referenced by LLFloaterScriptQueue::findInstance(), and LLMap< long long unsigned int, unsigned int >::operator[]().

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::getFirstData (  )  [inline]

Definition at line 97 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
const INDEX_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::getFirstKey (  )  [inline]

Definition at line 103 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE LLMap< INDEX_TYPE, MAPPED_TYPE >::getIfThere ( const INDEX_TYPE &  index  )  [inline]

Definition at line 144 of file llmap.h.

Referenced by LLLiveLSLEditor::find(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLLiveLSLEditor::onSaveTextComplete(), LLPanelGroupLandMoney::processGroupAccountDetailsReply(), LLPanelGroupLandMoney::processGroupAccountSummaryReply(), LLPanelGroupLandMoney::processGroupAccountTransactionsReply(), and LLPanelGroupLandMoney::processPlacesReply().

template<class INDEX_TYPE, class MAPPED_TYPE>
S32 LLMap< INDEX_TYPE, MAPPED_TYPE >::getLength (  )  [inline]

Definition at line 109 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::getNextData (  )  [inline]

Definition at line 73 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::getFirstData().

template<class INDEX_TYPE, class MAPPED_TYPE>
const INDEX_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::getNextKey (  )  [inline]

Definition at line 85 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::getFirstKey().

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE& LLMap< INDEX_TYPE, MAPPED_TYPE >::operator[] ( const INDEX_TYPE &  index  )  [inline]

Definition at line 160 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
void LLMap< INDEX_TYPE, MAPPED_TYPE >::removeAllData (  )  [inline]

Definition at line 243 of file llmap.h.

template<class INDEX_TYPE, class MAPPED_TYPE>
BOOL LLMap< INDEX_TYPE, MAPPED_TYPE >::removeData ( const INDEX_TYPE &  index  )  [inline]

Definition at line 181 of file llmap.h.

Referenced by LLFloaterScriptQueue::~LLFloaterScriptQueue(), LLGroupMoneyTabEventHandler::~LLGroupMoneyTabEventHandler(), LLLiveLSLEditor::~LLLiveLSLEditor(), and LLPanelGroupLandMoney::~LLPanelGroupLandMoney().

template<class INDEX_TYPE, class MAPPED_TYPE>
void LLMap< INDEX_TYPE, MAPPED_TYPE >::resetMap (  )  [inline]

Definition at line 62 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::getFirstData(), and LLMap< long long unsigned int, unsigned int >::getFirstKey().

template<class INDEX_TYPE, class MAPPED_TYPE>
INDEX_TYPE LLMap< INDEX_TYPE, MAPPED_TYPE >::reverseLookup ( const MAPPED_TYPE  data  )  [inline]

Definition at line 166 of file llmap.h.


Member Data Documentation

template<class INDEX_TYPE, class MAPPED_TYPE>
MAPPED_TYPE LLMap< INDEX_TYPE, MAPPED_TYPE >::dummy_data [private]

Definition at line 46 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::addData(), LLMap< long long unsigned int, unsigned int >::getData(), LLMap< long long unsigned int, unsigned int >::getNextData(), and LLMap< long long unsigned int, unsigned int >::LLMap().

template<class INDEX_TYPE, class MAPPED_TYPE>
INDEX_TYPE LLMap< INDEX_TYPE, MAPPED_TYPE >::dummy_index [private]

Definition at line 47 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::getNextKey(), and LLMap< long long unsigned int, unsigned int >::LLMap().

template<class INDEX_TYPE, class MAPPED_TYPE>
stl_iter_t LLMap< INDEX_TYPE, MAPPED_TYPE >::mCurIter [private]

Definition at line 45 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::checkData(), LLMap< long long unsigned int, unsigned int >::deleteAllData(), LLMap< long long unsigned int, unsigned int >::deleteData(), LLMap< long long unsigned int, unsigned int >::getNextData(), LLMap< long long unsigned int, unsigned int >::getNextKey(), LLMap< long long unsigned int, unsigned int >::LLMap(), LLMap< long long unsigned int, unsigned int >::removeData(), and LLMap< long long unsigned int, unsigned int >::resetMap().

template<class INDEX_TYPE, class MAPPED_TYPE>
stl_map_t LLMap< INDEX_TYPE, MAPPED_TYPE >::mStlMap [private]

Definition at line 44 of file llmap.h.

Referenced by LLMap< long long unsigned int, unsigned int >::addData(), LLMap< long long unsigned int, unsigned int >::checkData(), LLMap< long long unsigned int, unsigned int >::deleteAllData(), LLMap< long long unsigned int, unsigned int >::deleteData(), LLMap< long long unsigned int, unsigned int >::getData(), LLMap< long long unsigned int, unsigned int >::getIfThere(), LLMap< long long unsigned int, unsigned int >::getLength(), LLMap< long long unsigned int, unsigned int >::getNextData(), LLMap< long long unsigned int, unsigned int >::getNextKey(), LLMap< long long unsigned int, unsigned int >::LLMap(), LLMap< long long unsigned int, unsigned int >::removeAllData(), LLMap< long long unsigned int, unsigned int >::removeData(), LLMap< long long unsigned int, unsigned int >::resetMap(), LLMap< long long unsigned int, unsigned int >::reverseLookup(), and LLMap< long long unsigned int, unsigned int >::~LLMap().


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