#include <lldarray.h>
Inheritance diagram for LLDynamicArray< Type, BlockSize >:
Public Types | |
OKAY = 0 | |
FAIL = -1 | |
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) |
Definition at line 49 of file lldarray.h.
anonymous enum |
LLDynamicArray< Type, BlockSize >::LLDynamicArray | ( | S32 | size = 0 |
) | [inline] |
Definition at line 58 of file lldarray.h.
S32 LLDynamicArray< Type, BlockSize >::count | ( | ) | const [inline] |
Definition at line 67 of file lldarray.h.
Referenced by LLInventoryModel::accountForUpdate(), LLToolDragAndDrop::beginDrag(), LLToolDragAndDrop::beginMultiDrag(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), 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(), LLViewerObjectList::dirtyAllObjectInventory(), LLFetchInWelcomeArea::done(), LLCategoryDropDescendentsObserver::done(), LLFolderBridge::dragCategoryIntoFolder(), LLPanelGroups::enableButtons(), LLFolderView::extendSelection(), LLFloaterTexturePicker::findItemID(), LLFloaterLandmark::findItemID(), LLViewerObjectList::findReferences(), LLInventoryView::getActiveInventory(), LLViewerJointMesh::getBoundJointsByIndex(), LLAgent::getGroupContribution(), LLAgent::getGroupData(), LLViewerObjectList::getNumObjects(), LLAgent::getPowerInGroup(), LLToolDragAndDrop::giveInventoryCategory(), LLInventoryClipboard::hasContents(), LLAgent::hasPowerInGroup(), LLInventoryView::incrementalFind(), init_group_list(), init_landmark_menu(), 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::noteOfflineUsers(), LLViewerParcelMgr::notifyObservers(), LLInventoryView::onClose(), LLCanCache::operator()(), LLFolderBridge::pasteFromClipboard(), LLFloaterScriptQueue::popNext(), LLFloaterLandHoldings::postBuild(), LLPanelGroups::postBuild(), LLHUDManager::processViewerEffect(), LLInventoryModel::purgeDescendentsOf(), LLViewerObjectList::relightAllObjects(), remove_inventory_category_from_avatar_step2(), 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().
S32 LLDynamicArray< Type, BlockSize >::find | ( | const Type & | obj | ) | const [inline] |
Definition at line 88 of file lldarray.h.
References end, and LLDynamicArray< Type, BlockSize >::FAIL.
Referenced by LLAgentGroupDataUpdateViewerNode::post(), LLAgent::processAgentDropGroup(), LLAgent::processAgentGroupDataUpdate(), and LLFolderView::removeSelectedItems().
Type& LLDynamicArray< Type, BlockSize >::get | ( | S32 | index | ) | [inline] |
Definition at line 64 of file lldarray.h.
const Type& LLDynamicArray< Type, BlockSize >::get | ( | S32 | index | ) | const [inline] |
Definition at line 63 of file lldarray.h.
Referenced by LLToolDragAndDrop::beginDrag(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), LLInventoryView::cleanup(), LLInventoryModel::collectDescendentsIf(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLGestureList::deleteAll(), LLScriptEdCore::deleteBridges(), LLInventoryModel::deleteFromServer(), LLCategoryDropDescendentsObserver::done(), LLGestureList::get(), LLInventoryView::getActiveInventory(), LLAgent::getGroupContribution(), LLAgent::getGroupData(), LLAgent::getPowerInGroup(), LLToolDragAndDrop::giveInventoryCategory(), LLAgent::hasPowerInGroup(), init_group_list(), init_landmark_menu(), LLFloaterIMPanel::inviteToSession(), LLAgent::isInGroup(), LLPanelGroups::leave(), LLTextEditor::loadKeywords(), LLIMMgr::noteOfflineUsers(), LLViewerParcelMgr::notifyObservers(), LLFolderBridge::pasteFromClipboard(), LLFloaterScriptQueue::popNext(), LLFloaterLandHoldings::postBuild(), LLInventoryModel::purgeDescendentsOf(), remove_inventory_category_from_avatar_step2(), 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().
S32 LLDynamicArray< Type, BlockSize >::getLength | ( | ) | const [inline] |
Definition at line 68 of file lldarray.h.
Referenced by LLIMMgr::addSession(), LLSelectMgr::demoteSelectionToIndividuals(), and LLFolderViewFolder::extendSelection().
S32 LLDynamicArray< Type, BlockSize >::getMax | ( | ) | const [inline] |
Definition at line 69 of file lldarray.h.
void LLDynamicArray< Type, BlockSize >::operator+= | ( | const LLDynamicArray< Type, BlockSize > & | other | ) | [inline] |
Definition at line 158 of file lldarray.h.
S32 LLDynamicArray< Type, BlockSize >::put | ( | const Type & | obj | ) | [inline] |
Definition at line 151 of file lldarray.h.
References size.
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(), LLFloaterIMPanel::dropCallingCard(), LLFloaterIMPanel::dropCategory(), LLFolderViewFolder::extendSelection(), LLVOAvatar::getAnimLabels(), LLVOAvatar::getAnimNames(), LLMakeOutfitDialog::getIncludedItems(), LLBeginIMSession::handleEvent(), LLFloaterCompileQueue::handleInventory(), LLInventoryView::init(), 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().
S32 LLDynamicArray< Type, BlockSize >::remove | ( | S32 | index | ) | [inline] |
Definition at line 100 of file lldarray.h.
References LLDynamicArray< Type, BlockSize >::FAIL, S32, and size.
Referenced by LLViewerObjectList::cleanDeadObjects(), LLVLManager::cleanupData(), LLHUDManager::cleanupEffects(), LLFloaterScriptQueue::popNext(), LLAgentGroupDataUpdateViewerNode::post(), LLAgent::processAgentDropGroup(), LLAgent::processAgentGroupDataUpdate(), LLHUDManager::processViewerEffect(), and LLFloaterCompileQueue::removeItemByAssetID().
S32 LLDynamicArray< Type, BlockSize >::removeLast | ( | ) | [inline] |
Definition at line 132 of file lldarray.h.
References LLDynamicArray< Type, BlockSize >::FAIL, and LLDynamicArray< Type, BlockSize >::OKAY.
S32 LLDynamicArray< Type, BlockSize >::removeObj | ( | const Type & | obj | ) | [inline] |
Definition at line 117 of file lldarray.h.
References end, and LLDynamicArray< Type, BlockSize >::FAIL.
Referenced by LLViewerObjectList::cleanupReferences(), LLInventoryModel::deleteObject(), LLInventoryModel::moveObject(), LLViewerObjectList::removeFromMap(), LLViewerParcelMgr::removeObserver(), LLInventoryModel::updateCategory(), LLInventoryModel::updateItem(), and LLInventoryView::~LLInventoryView().
Type * LLDynamicArray< Type, BlockSize >::reserve_block | ( | U32 | num | ) | [inline] |
Definition at line 143 of file lldarray.h.
References size.
Referenced by LLViewerObjectList::addDebugBeacon(), and LLGestureList::deserialize().
void LLDynamicArray< Type, BlockSize >::reset | ( | ) | [inline] |
Definition at line 60 of file lldarray.h.
Referenced by LLFloaterWorldMap::buildLandmarkIDLists(), LLDrawable::cleanupDeadDrawables(), LLGestureList::deleteAll(), LLScriptEdCore::deleteBridges(), CoarseLocationUpdate::post(), LLInventoryClipboard::reset(), LLViewerObjectList::resetObjectBeacons(), LLInventoryClipboard::retrieve(), LLVLManager::unpackData(), LLHUDManager::~LLHUDManager(), and LLVLManager::~LLVLManager().