#include <llinventory.h>
Inheritance diagram for LLInventoryObject:
Public Member Functions | |
MEM_TYPE_NEW (LLMemType::MTYPE_INVENTORY) | |
LLInventoryObject (const LLUUID &uuid, const LLUUID &parent_uuid, LLAssetType::EType type, const LLString &name) | |
LLInventoryObject () | |
virtual void | copy (const LLInventoryObject *other) |
const LLUUID & | getUUID () const |
const LLUUID & | getParentUUID () const |
const LLString & | getName () const |
LLAssetType::EType | getType () const |
void | setUUID (const LLUUID &new_uuid) |
void | rename (const LLString &new_name) |
void | setParent (const LLUUID &new_parent) |
void | setType (LLAssetType::EType type) |
virtual BOOL | exportFile (FILE *fp, BOOL include_asset_key=TRUE) const |
virtual BOOL | importLegacyStream (std::istream &input_stream) |
virtual BOOL | exportLegacyStream (std::ostream &output_stream, BOOL include_asset_key=TRUE) const |
virtual void | removeFromServer () |
virtual void | updateParentOnServer (BOOL) const |
virtual void | updateServer (BOOL) const |
Protected Member Functions | |
virtual | ~LLInventoryObject (void) |
Protected Attributes | |
LLUUID | mUUID |
LLUUID | mParentUUID |
LLAssetType::EType | mType |
LLString | mName |
Definition at line 72 of file llinventory.h.
LLInventoryObject::~LLInventoryObject | ( | void | ) | [protected, virtual] |
Definition at line 97 of file llinventory.cpp.
LLInventoryObject::LLInventoryObject | ( | const LLUUID & | uuid, | |
const LLUUID & | parent_uuid, | |||
LLAssetType::EType | type, | |||
const LLString & | name | |||
) |
---------------------------------------------------------------------------- Class LLInventoryObject ----------------------------------------------------------------------------
Definition at line 76 of file llinventory.cpp.
References DB_INV_ITEM_NAME_STR_LEN, mName, LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), LLStringBase< char >::trim(), and LLStringBase< char >::truncate().
LLInventoryObject::LLInventoryObject | ( | ) |
Definition at line 92 of file llinventory.cpp.
void LLInventoryObject::copy | ( | const LLInventoryObject * | other | ) | [virtual] |
Definition at line 101 of file llinventory.cpp.
References mName, mParentUUID, mType, and mUUID.
Referenced by LLInventoryCategory::copy(), and LLInventoryItem::copy().
Reimplemented in LLInventoryItem, and LLInventoryCategory.
Definition at line 219 of file llinventory.cpp.
References LLAssetType::lookup(), mName, mParentUUID, mType, mUUID, LLUUID::toString(), TRUE, and UUID_STR_LENGTH.
BOOL LLInventoryObject::exportLegacyStream | ( | std::ostream & | output_stream, | |
BOOL | include_asset_key = TRUE | |||
) | const [virtual] |
Reimplemented in LLInventoryItem, and LLInventoryCategory.
Definition at line 233 of file llinventory.cpp.
References LLAssetType::lookup(), mName, mParentUUID, mType, mUUID, LLUUID::toString(), TRUE, and UUID_STR_LENGTH.
const LLString & LLInventoryObject::getName | ( | ) | const |
Definition at line 119 of file llinventory.cpp.
References mName.
Referenced by LLInventoryModel::accountForUpdate(), LLInventoryModel::appendPath(), LLEmbeddedItems::bindEmbeddedChars(), LLItemBridge::buildDisplayName(), LLFloaterGesture::buildGestureList(), LLInventoryModel::buildParentChildMap(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), confirm_replace_attachment_rez(), container_inventory_arrived(), LLPanelInventory::createFolderViews(), LLTaskInvFVBridge::createObjectBridge(), LLWearableList::createWearableMatchedToInventoryItem(), LLPanelPlace::displayItemInfo(), LLOutfitObserver::done(), LLEmbeddedNotecardOpener::fire(), LLTaskInvFVBridge::getDisplayName(), LLViewerTextEditor::getEmbeddedItemToolTipAtPos(), LLPreviewLandmark::getName(), LLInvFVBridge::getName(), LLViewerTextEditor::handleDragAndDrop(), LLPreviewGesture::handleDragAndDrop(), LLBeginIMSession::handleEvent(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLWearable::isMatchedToInventoryItem(), landmark_menu_action(), LLInventoryModel::loadSkeleton(), LLFloaterLandmark::onBtnEdit(), LLFloaterGesture::onClickEdit(), LLFloaterProperties::onCommitName(), open_offer(), LLTaskLSLBridge::openItem(), LLLSLTextBridge::openItem(), LLAnimationBridge::openItem(), LLGestureBridge::openItem(), LLTextureBridge::openItem(), LLNameCategoryCollector::operator()(), LLInventoryItem::packBinaryBucket(), LLAnimationBridge::performAction(), LLCallingCardBridge::performAction(), LLFloaterProperties::refreshFromItem(), remove_inventory_category_from_avatar(), LLObjectBridge::renameItem(), LLFolderBridge::renameItem(), LLItemBridge::renameItem(), LLPreviewAnim::saveAnim(), LLViewerObject::saveScript(), LLInventoryModel::updateCategory(), LLViewerObject::updateInventory(), LLInventoryModel::updateItem(), LLUpdateAgentInventoryResponder::uploadComplete(), wear_inventory_category(), wear_inventory_category_on_avatar(), wear_inventory_category_on_avatar_step2(), and wear_inventory_item_on_avatar().
const LLUUID & LLInventoryObject::getParentUUID | ( | ) | const |
Definition at line 114 of file llinventory.cpp.
References mParentUUID.
Referenced by LLInventoryModel::appendPath(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), LLInvFVBridge::changeCategoryParent(), LLInvFVBridge::changeItemParent(), LLAgent::copyWearableToInventory(), LLFolderBridge::dragCategoryIntoFolder(), LLFolderBridge::dragItemIntoFolder(), LLToolDragAndDrop::dropObject(), LLInventoryModel::isObjectDescendentOf(), LLAgent::makeNewOutfit(), LLInventoryModel::messageUpdateCore(), LLInventoryModel::moveObject(), LLFloaterLandmark::onBtnDelete(), LLPreview::onDiscardBtn(), LLCanCache::operator()(), LLItemBridge::performAction(), process_logout_reply(), LLInventoryModel::processBulkUpdateInventory(), LLInventoryModel::processMoveInventoryItem(), LLInventoryModel::processRemoveInventoryFolder(), LLInventoryModel::processRemoveInventoryItem(), LLInventoryModel::processSaveAssetIntoInventory(), LLInventoryModel::processUpdateInventoryFolder(), LLInvFVBridge::removeBatchNoCheck(), LLAgent::saveWearableAs(), LLTracker::setLandmarkVisited(), LLInventoryModel::updateCategory(), LLInventoryModel::updateItem(), and LLToolDragAndDrop::willObjectAcceptInventory().
LLAssetType::EType LLInventoryObject::getType | ( | ) | const |
Definition at line 124 of file llinventory.cpp.
References mType.
Referenced by LLEmbeddedItems::bindEmbeddedChars(), LLWearableBridge::buildContextMenu(), LLInventoryPanel::buildNewViews(), LLTaskInvFVBridge::buyItem(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), container_inventory_arrived(), copy_inventory_from_notecard(), LLTaskInvFVBridge::createObjectBridge(), LLViewerObject::doUpdateInventory(), LLFolderBridge::dragItemIntoFolder(), LLItemBridge::getLabelSuffix(), LLPreview::handleHover(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), LLToolDragAndDrop::isInventoryGiveAcceptable(), LLToolDragAndDrop::isInventoryGroupGiveAcceptable(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLPanelEstateCovenant::loadInvItem(), LLPreview::onCommit(), LLViewerTextEditor::openEmbeddedItem(), LLGiveable::operator()(), LLDropCopyableItems::operator()(), LLUncopyableItems::operator()(), LLDroppableItem::operator()(), LLParticularBuddyCollector::operator()(), LLUniqueBuddyCollector::operator()(), LLBuddyCollector::operator()(), LLIsTypeWithPermissions::operator()(), LLIsNotType::operator()(), LLIsType::operator()(), LLFindWearables::operator()(), SetNotForSale::operator()(), SetItemOwnerAndGroup::operator()(), LLIsClothing::operator()(), LLInventoryItem::packBinaryBucket(), LLFloaterProperties::refreshFromItem(), LLFolderBridge::restoreItem(), LLItemBridge::restoreItem(), LLViewerObject::saveScript(), LLInvFVBridge::startDrag(), LLViewerObject::updateInventory(), LLInventoryModel::updateItem(), wear_inventory_item_on_avatar(), and LLToolDragAndDrop::willObjectAcceptInventory().
const LLUUID & LLInventoryObject::getUUID | ( | ) | const |
Definition at line 109 of file llinventory.cpp.
References mUUID.
Referenced by LLInventoryModel::addCategory(), LLInventoryModel::addItem(), LLInventoryModel::backgroundFetch(), LLToolDragAndDrop::beginMultiDrag(), LLFolderBridge::buildContextMenu(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), LLInventoryModel::categoryHasChildren(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), confirm_replace_attachment_rez(), copy_inventory_from_notecard(), LLTaskInvFVBridge::createObjectBridge(), LLPanelInventory::createViewsForCategory(), LLToolDragAndDrop::dad3dActivateGesture(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLToolDragAndDrop::dad3dRezAttachmentFromInv(), LLToolDragAndDrop::dad3dRezObjectOnLand(), LLToolDragAndDrop::dad3dRezObjectOnObject(), LLToolDragAndDrop::dad3dUpdateInventoryCategory(), LLToolDragAndDrop::dad3dWearCategory(), LLToolDragAndDrop::dad3dWearItem(), LLTextureCtrl::doDrop(), LLOutfitObserver::done(), LLViewerObject::doUpdateInventory(), LLFolderBridge::dragCategoryIntoFolder(), LLFolderBridge::dragItemIntoFolder(), LLCallingCardBridge::dragOrDrop(), LLFloaterIMPanel::dropCategory(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), LLEmbeddedNotecardOpener::fire(), LLToolDragAndDrop::giveInventory(), LLToolDragAndDrop::giveInventoryCategory(), LLToolDragAndDrop::handleCopyProtectedCategory(), LLPreviewGesture::handleDragAndDrop(), LLGroupDropTarget::handleDragAndDrop(), LLDropTarget::handleDragAndDrop(), LLToolDragAndDrop::handleDropTextureProtections(), LLAttachObject::handleEvent(), LLPreview::handleHover(), LLInventoryFetchDescendentsObserver::isComplete(), LLToolDragAndDrop::isInventoryGiveAcceptable(), LLToolDragAndDrop::isInventoryGroupGiveAcceptable(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLPanelEstateCovenant::loadInvItem(), LLInventoryModel::loadSkeleton(), LLAgent::makeNewOutfit(), LLPreview::onBtnCopyToInv(), LLPreview::onCommit(), LLFloaterLandmark::onSelectionChange(), open_landmark(), open_notecard(), LLViewerTextEditor::openEmbeddedLandmark(), LLViewerTextEditor::openEmbeddedTexture(), LLWearableBridge::openItem(), LLGiveable::operator()(), LLDropCopyableItems::operator()(), LLUncopyableItems::operator()(), LLDroppableItem::operator()(), LLIsNotWorn::operator()(), LLObjectBridge::performAction(), remove_inventory_category_from_avatar(), LLInvFVBridge::removeBatchNoCheck(), LLObjectBridge::renameItem(), rez_attachment(), LLViewerObject::saveScript(), LLAgent::saveWearableAs(), send_group_notice(), LLTracker::setLandmarkVisited(), LLAgent::setWearable(), LLAgent::setWearableFinal(), LLInvFVBridge::startDrag(), LLInventoryModel::updateCategory(), LLViewerObject::updateInventory(), LLInventoryModel::updateItem(), wear_inventory_category(), wear_inventory_category_on_avatar(), wear_inventory_category_on_avatar_step2(), wear_inventory_item_on_avatar(), LLWearableBridge::wearOnAvatar(), and LLToolDragAndDrop::willObjectAcceptInventory().
BOOL LLInventoryObject::importLegacyStream | ( | std::istream & | input_stream | ) | [virtual] |
Reimplemented in LLInventoryItem, LLInventoryCategory, and LLViewerInventoryItem.
Definition at line 160 of file llinventory.cpp.
References DB_INV_ITEM_NAME_STR_LEN, llendl, llwarns, LLAssetType::lookup(), MAX_STRING, mName, mParentUUID, mType, mUUID, LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), LLUUID::set(), LLStringBase< char >::trim(), TRUE, and LLStringBase< char >::truncate().
LLInventoryObject::MEM_TYPE_NEW | ( | LLMemType::MTYPE_INVENTORY | ) |
Reimplemented in LLInventoryItem, and LLInventoryCategory.
void LLInventoryObject::removeFromServer | ( | ) | [virtual] |
Reimplemented in LLViewerInventoryItem, and LLViewerInventoryCategory.
Definition at line 248 of file llinventory.cpp.
References llendl, and llwarns.
Referenced by LLFolderBridge::performAction(), and LLItemBridge::performAction().
Definition at line 134 of file llinventory.cpp.
References DB_INV_ITEM_NAME_STR_LEN, mName, n, LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), LLStringBase< char >::trim(), and LLStringBase< char >::truncate().
Referenced by LLInventoryModel::loadSkeleton(), LLTaskInvFVBridge::renameItem(), and LLInventoryItem::unpackBinaryBucket().
Definition at line 148 of file llinventory.cpp.
References mParentUUID.
Referenced by LLInventoryModel::buildParentChildMap(), LLToolDragAndDrop::dropObject(), and LLInventoryModel::loadSkeleton().
void LLInventoryObject::setType | ( | LLAssetType::EType | type | ) |
Definition at line 153 of file llinventory.cpp.
References mType.
Referenced by LLInventoryItem::unpackBinaryBucket().
Definition at line 129 of file llinventory.cpp.
References mUUID.
Referenced by LLInventoryModel::loadSkeleton(), and LLInventoryItem::unpackBinaryBucket().
Reimplemented in LLViewerInventoryItem, and LLViewerInventoryCategory.
Definition at line 254 of file llinventory.cpp.
References llendl, and llwarns.
Referenced by LLDiscardAgentOffer::done().
Reimplemented in LLViewerInventoryItem, and LLViewerInventoryCategory.
Definition at line 260 of file llinventory.cpp.
LLString LLInventoryObject::mName [protected] |
Definition at line 78 of file llinventory.h.
Referenced by LLInventoryItem::asLLSD(), copy(), LLInventoryCategory::exportFile(), LLInventoryItem::exportFile(), exportFile(), LLViewerInventoryCategory::exportFileLocal(), LLViewerInventoryItem::exportFileLocal(), LLInventoryItem::exportFileXML(), LLInventoryCategory::exportLegacyStream(), LLInventoryItem::exportLegacyStream(), exportLegacyStream(), LLInventoryItem::fromLLSD(), getName(), LLInventoryCategory::importFile(), LLInventoryItem::importFile(), LLViewerInventoryCategory::importFileLocal(), LLInventoryCategory::importLegacyStream(), LLInventoryItem::importLegacyStream(), importLegacyStream(), LLInventoryItem::importXML(), LLInventoryObject(), LLViewerInventoryItem::LLViewerInventoryItem(), LLViewerInventoryItem::packMessage(), LLInventoryCategory::packMessage(), LLInventoryItem::packMessage(), rename(), LLInventoryCategory::unpackMessage(), and LLInventoryItem::unpackMessage().
LLUUID LLInventoryObject::mParentUUID [protected] |
Definition at line 76 of file llinventory.h.
Referenced by LLInventoryItem::asLLSD(), copy(), LLInventoryCategory::exportFile(), LLInventoryItem::exportFile(), exportFile(), LLViewerInventoryCategory::exportFileLocal(), LLViewerInventoryItem::exportFileLocal(), LLInventoryItem::exportFileXML(), LLInventoryCategory::exportLegacyStream(), LLInventoryItem::exportLegacyStream(), exportLegacyStream(), LLInventoryItem::fromLLSD(), LLInventoryItem::getCRC32(), getParentUUID(), LLInventoryCategory::importFile(), LLInventoryItem::importFile(), LLViewerInventoryCategory::importFileLocal(), LLInventoryCategory::importLegacyStream(), LLInventoryItem::importLegacyStream(), importLegacyStream(), LLInventoryItem::importXML(), LLViewerInventoryItem::LLViewerInventoryItem(), LLViewerInventoryItem::packMessage(), LLInventoryCategory::packMessage(), LLInventoryItem::packMessage(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), setParent(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLViewerInventoryCategory::updateServer(), and LLViewerInventoryItem::updateServer().
LLAssetType::EType LLInventoryObject::mType [protected] |
Definition at line 77 of file llinventory.h.
Referenced by LLInventoryItem::asLLSD(), copy(), LLInventoryCategory::exportFile(), LLInventoryItem::exportFile(), exportFile(), LLViewerInventoryCategory::exportFileLocal(), LLViewerInventoryItem::exportFileLocal(), LLInventoryItem::exportFileXML(), LLInventoryCategory::exportLegacyStream(), LLInventoryItem::exportLegacyStream(), exportLegacyStream(), LLInventoryItem::fromLLSD(), LLInventoryItem::getCRC32(), getType(), LLInventoryCategory::importFile(), LLInventoryItem::importFile(), LLViewerInventoryCategory::importFileLocal(), LLInventoryCategory::importLegacyStream(), LLInventoryItem::importLegacyStream(), importLegacyStream(), LLInventoryItem::importXML(), LLInventoryCategory::LLInventoryCategory(), LLViewerInventoryItem::packMessage(), LLInventoryItem::packMessage(), setType(), and LLInventoryItem::unpackMessage().
LLUUID LLInventoryObject::mUUID [protected] |
Definition at line 75 of file llinventory.h.
Referenced by LLInventoryItem::asLLSD(), copy(), LLInventoryCategory::exportFile(), LLInventoryItem::exportFile(), exportFile(), LLViewerInventoryCategory::exportFileLocal(), LLViewerInventoryItem::exportFileLocal(), LLInventoryItem::exportFileXML(), LLInventoryCategory::exportLegacyStream(), LLInventoryItem::exportLegacyStream(), exportLegacyStream(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLInventoryItem::fromLLSD(), LLInventoryItem::getCRC32(), getUUID(), LLInventoryCategory::importFile(), LLInventoryItem::importFile(), LLViewerInventoryCategory::importFileLocal(), LLInventoryCategory::importLegacyStream(), LLInventoryItem::importLegacyStream(), importLegacyStream(), LLInventoryItem::importXML(), LLViewerInventoryItem::LLViewerInventoryItem(), LLViewerInventoryItem::packMessage(), LLInventoryCategory::packMessage(), LLInventoryItem::packMessage(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), setUUID(), LLInventoryCategory::unpackMessage(), LLInventoryItem::unpackMessage(), LLViewerInventoryCategory::updateParentOnServer(), and LLViewerInventoryItem::updateParentOnServer().