LLDynamicArray< Type, BlockSize > Class Template Reference

#include <lldarray.h>

Inheritance diagram for LLDynamicArray< Type, BlockSize >:

Inheritance graph
[legend]

List of all members.

Public Types

enum  { OKAY = 0, FAIL = -1 }

Public Member Functions

 LLDynamicArray (S32 size=0)
void reset ()
const Type & get (S32 index) const
Type & get (S32 index)
S32 find (const Type &obj) const
S32 count () const
S32 getLength () const
S32 getMax () const
S32 put (const Type &obj)
Type * reserve_block (U32 num)
S32 remove (S32 index)
S32 removeObj (const Type &obj)
S32 removeLast ()
void operator+= (const LLDynamicArray< Type, BlockSize > &other)


Detailed Description

template<typename Type, int BlockSize = 32>
class LLDynamicArray< Type, BlockSize >

Definition at line 49 of file lldarray.h.


Member Enumeration Documentation

template<typename Type, int BlockSize = 32>
anonymous enum

Enumerator:
OKAY 
FAIL 

Definition at line 52 of file lldarray.h.


Constructor & Destructor Documentation

template<typename Type, int BlockSize = 32>
LLDynamicArray< Type, BlockSize >::LLDynamicArray ( S32  size = 0  )  [inline]

Definition at line 58 of file lldarray.h.


Member Function Documentation

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

template<typename Type, int BlockSize = 32>
const Type& LLDynamicArray< Type, BlockSize >::get ( S32  index  )  const [inline]

Definition at line 63 of file lldarray.h.

Referenced by LLInventoryModel::backgroundFetch(), LLToolDragAndDrop::beginDrag(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), LLInventoryModel::bulkFetch(), LLInventoryView::cleanup(), LLInventoryModel::collectDescendentsIf(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLGestureList::deleteAll(), LLScriptEdCore::deleteBridges(), LLInventoryModel::deleteFromServer(), derez_objects(), LLCategoryDropDescendentsObserver::done(), LLNetMap::draw(), LLInventoryModel::findCatUUID(), LLGestureList::get(), LLInventoryView::getActiveInventory(), LLAgent::getGroupContribution(), LLAgent::getGroupData(), LLAgent::getPowerInGroup(), LLToolDragAndDrop::giveInventoryCategory(), LLAgent::hasPowerInGroup(), init_group_list(), init_landmark_menu(), LLPanelInventory::inventoryChanged(), LLFloaterIMPanel::inviteToSession(), LLAgent::isInGroup(), LLPanelGroups::leave(), LLTextEditor::loadKeywords(), LLIMMgr::noteMutedUsers(), LLIMMgr::noteOfflineUsers(), LLViewerParcelMgr::notifyObservers(), LLFolderBridge::pasteFromClipboard(), LLFloaterScriptQueue::popNext(), LLFloaterLandHoldings::postBuild(), LLInventoryModel::purgeDescendentsOf(), remove_inventory_category_from_avatar_step2(), LLInvFVBridge::removeBatch(), LLInvFVBridge::removeBatchNoCheck(), LLFloaterCompileQueue::removeItemByAssetID(), LLFolderView::removeSelectedItems(), LLPanelAvatar::resetGroupList(), LLFloaterCompileQueue::saveItemByAssetID(), send_start_session_messages(), LLAgent::setGroupContribution(), LLAgent::setUserGroupFlags(), LLInventoryView::toggleVisibility(), LLFloaterWorldMap::trackLandmark(), LLGestureList::trigger(), LLGestureList::triggerAndReviseString(), LLFloaterCompileQueue::updateAssetID(), LLViewerParcelOverlay::updatePropertyLines(), wear_inventory_category_on_avatar_step2(), and wear_outfit_by_name().

template<typename Type, int BlockSize = 32>
Type& LLDynamicArray< Type, BlockSize >::get ( S32  index  )  [inline]

Definition at line 64 of file lldarray.h.

template<typename Type, int BlockSize>
S32 LLDynamicArray< Type, BlockSize >::find ( const Type &  obj  )  const [inline]

template<typename Type, int BlockSize = 32>
S32 LLDynamicArray< Type, BlockSize >::count (  )  const [inline]

Definition at line 67 of file lldarray.h.

Referenced by LLInventoryModel::accountForUpdate(), LLInventoryModel::backgroundFetch(), LLToolDragAndDrop::beginDrag(), LLToolDragAndDrop::beginMultiDrag(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), LLInventoryModel::bulkFetch(), callback_choose_gender(), LLVOAvatar::canGrabLocalTexture(), LLFolderBridge::checkFolderForContentsOfType(), LLViewerObjectList::cleanDeadObjects(), LLInventoryView::cleanup(), LLVLManager::cleanupData(), LLHUDManager::cleanupEffects(), LLViewerObjectList::clearDebugText(), LLInventoryModel::collectDescendentsIf(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLGestureList::count(), LLPanelInventory::createViewsForCategory(), LLGestureList::deleteAll(), LLScriptEdCore::deleteBridges(), LLInventoryModel::deleteFromServer(), derez_objects(), LLViewerObjectList::dirtyAllObjectInventory(), LLFetchInWelcomeArea::done(), LLCategoryDropDescendentsObserver::done(), LLFolderBridge::dragCategoryIntoFolder(), LLPanelGroups::enableButtons(), LLFolderView::extendSelection(), LLInventoryModel::findCatUUID(), LLFloaterTexturePicker::findItemID(), LLFloaterLandmark::findItemID(), LLViewerObjectList::findReferences(), LLInventoryView::getActiveInventory(), LLAgent::getGroupContribution(), LLAgent::getGroupData(), LLViewerObjectList::getNumObjects(), LLAgent::getPowerInGroup(), LLVOAvatar::getSpatialExtents(), LLToolDragAndDrop::giveInventoryCategory(), LLInventoryClipboard::hasContents(), LLAgent::hasPowerInGroup(), LLInventoryView::incrementalFind(), init_group_list(), init_landmark_menu(), LLPanelInventory::inventoryChanged(), LLFloaterIMPanel::inviteToSession(), LLInventoryModel::isCategoryComplete(), LLInventoryFetchDescendentsObserver::isComplete(), LLFloaterScriptQueue::isDone(), LLAgent::isInGroup(), LLFolderBridge::isItemRemovable(), join_group_callback(), LLViewerObjectList::killAllObjects(), LLViewerObjectList::killObjects(), LLPanelGroups::leave(), LLTextEditor::loadKeywords(), LLInventoryModel::loadSkeleton(), LLAgent::makeNewOutfit(), LLFloaterScriptQueue::nextObject(), LLIMMgr::noteMutedUsers(), LLIMMgr::noteOfflineUsers(), LLViewerParcelMgr::notifyObservers(), LLInventoryView::onClose(), LLCanCache::operator()(), LLFolderBridge::pasteFromClipboard(), LLFloaterScriptQueue::popNext(), LLFloaterLandHoldings::postBuild(), LLPanelGroups::postBuild(), LLHUDManager::processViewerEffect(), LLInventoryModel::purgeDescendentsOf(), remove_inventory_category_from_avatar_step2(), LLInvFVBridge::removeBatch(), LLInvFVBridge::removeBatchNoCheck(), LLFolderBridge::removeItem(), LLFloaterCompileQueue::removeItemByAssetID(), LLViewerObjectList::renderObjectBeacons(), LLViewerObjectList::renderObjectsForMap(), LLViewerObjectList::renderObjectsForSelect(), LLPanelGroups::reset(), LLPanelAvatar::resetGroupList(), LLInventoryClipboard::retrieve(), LLFloaterCompileQueue::saveItemByAssetID(), LLInventoryModel::saveToFile(), LLAgent::sendAnimationRequests(), LLHUDManager::sendEffects(), LLGestureList::serialize(), LLAgent::setGroupContribution(), LLViewerJointMesh::setupJoint(), LLAgent::setUserGroupFlags(), LLAgent::setWearableOutfit(), LLViewerObjectList::shiftObjects(), LLInventoryView::showAgentInventory(), LLGenePool::spawn(), LLFloaterScriptQueue::start(), LLInventoryClipboard::store(), LLInventoryView::toggleVisibility(), LLFloaterWorldMap::trackLandmark(), LLGestureList::trigger(), LLGestureList::triggerAndReviseString(), LLVLManager::unpackData(), LLViewerObjectList::update(), LLViewerObjectList::updateApparentAngles(), LLFloaterCompileQueue::updateAssetID(), LLHUDManager::updateEffects(), LLViewerJointMesh::updateGeometryVectorized(), LLViewerParcelOverlay::updatePropertyLines(), LLViewerJointMesh::uploadJointMatrices(), wear_inventory_category_on_avatar_step2(), wear_inventory_category_on_avatar_step3(), wear_outfit_by_name(), LLGenePool::~LLGenePool(), LLPolyMesh::~LLPolyMesh(), and LLVLManager::~LLVLManager().

template<typename Type, int BlockSize = 32>
S32 LLDynamicArray< Type, BlockSize >::getLength (  )  const [inline]

Definition at line 68 of file lldarray.h.

Referenced by LLIMMgr::addSession(), LLSelectMgr::demoteSelectionToIndividuals(), and LLFolderViewFolder::extendSelection().

Here is the caller graph for this function:

template<typename Type, int BlockSize = 32>
S32 LLDynamicArray< Type, BlockSize >::getMax (  )  const [inline]

Definition at line 69 of file lldarray.h.

template<typename Type, int BlockSize>
S32 LLDynamicArray< Type, BlockSize >::put ( const Type &  obj  )  [inline]

Definition at line 152 of file lldarray.h.

Referenced by LLInventoryClipboard::add(), LLVLManager::addLayerData(), LLFloaterScriptQueue::addObject(), LLViewerParcelMgr::addObserver(), LLViewerParcelOverlay::addPropertyLine(), LLIMMgr::addSession(), LLViewerObject::addThisAndAllChildren(), LLViewerObject::addThisAndNonJointChildren(), LLViewerObjectList::addToMap(), LLFloaterWorldMap::buildLandmarkIDLists(), LLInventoryModel::buildParentChildMap(), LLInventoryModel::cache(), LLInventoryModel::collectDescendentsIf(), LLViewerObjectList::createObject(), LLViewerObjectList::createObjectViewer(), LLHUDManager::createViewerEffect(), LLPanelInventory::createViewsForCategory(), derez_objects(), LLFloaterIMPanel::dropCallingCard(), LLFloaterIMPanel::dropCategory(), LLFolderViewFolder::extendSelection(), LLVOAvatar::getAnimLabels(), LLVOAvatar::getAnimNames(), LLMakeOutfitDialog::getIncludedItems(), LLBeginIMSession::handleEvent(), LLFloaterCompileQueue::handleInventory(), LLInventoryView::init(), LLPanelInventory::inventoryChanged(), LLInventoryModel::loadFromFile(), LLGenePool::loadNodeArchetype(), LLInventoryModel::moveObject(), LLViewerParcelMgr::notifyObservers(), CoarseLocationUpdate::post(), LLAgentGroupDataUpdateViewerNode::post(), LLAgent::processAgentGroupDataUpdate(), LLGestureList::put(), LLFolderView::removeSelectedItems(), LLInventoryClipboard::retrieve(), LLViewerJointMesh::setupJoint(), LLAgent::stopFidget(), LLInventoryClipboard::store(), LLInventoryModel::updateCategory(), LLInventoryModel::updateItem(), wear_inventory_category_on_avatar_step2(), and wear_inventory_category_on_avatar_step3().

Here is the caller graph for this function:

template<typename Type, int BlockSize>
Type * LLDynamicArray< Type, BlockSize >::reserve_block ( U32  num  )  [inline]

Definition at line 144 of file lldarray.h.

Referenced by LLViewerObjectList::addDebugBeacon(), and LLGestureList::deserialize().

Here is the caller graph for this function:

template<typename Type, int BlockSize>
S32 LLDynamicArray< Type, BlockSize >::remove ( S32  index  )  [inline]

template<typename Type, int BlockSize>
S32 LLDynamicArray< Type, BlockSize >::removeObj ( const Type &  obj  )  [inline]

template<typename Type, int BlockSize>
S32 LLDynamicArray< Type, BlockSize >::removeLast (  )  [inline]

template<typename Type, int BlockSize>
void LLDynamicArray< Type, BlockSize >::operator+= ( const LLDynamicArray< Type, BlockSize > &  other  )  [inline]

Definition at line 159 of file lldarray.h.


The documentation for this class was generated from the following file:

Generated on Fri May 16 08:44:12 2008 for SecondLife by  doxygen 1.5.5