#include <functional>
#include "llassetstorage.h"
#include "lldarray.h"
#include "llinventorytype.h"
#include "llmemtype.h"
#include "llpermissions.h"
#include "llsaleinfo.h"
#include "llsd.h"
#include "lluuid.h"
#include "llxmlnode.h"
Include dependency graph for llinventory.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | LLInventoryObject |
class | LLInventoryItem |
class | LLInventoryCategory |
struct | IsItemTransferable |
struct | SetItemOwnerAndGroup |
struct | SetNotForSale |
Typedefs | |
typedef std::list< LLPointer< LLInventoryObject > > | InventoryObjectList |
Enumerations | |
enum | { MAX_INVENTORY_BUFFER_SIZE = 1024 } |
Functions | |
BOOL | item_dictionary_sort (LLInventoryItem *a, LLInventoryItem *b) |
BOOL | item_date_sort (LLInventoryItem *a, LLInventoryItem *b) |
LLSD | ll_create_sd_from_inventory_item (LLPointer< LLInventoryItem > item) |
LLPointer< LLInventoryItem > | ll_create_item_from_sd (const LLSD &sd_item) |
LLSD | ll_create_sd_from_inventory_category (LLPointer< LLInventoryCategory > cat) |
LLPointer< LLInventoryCategory > | ll_create_category_from_sd (const LLSD &sd_cat) |
Variables | |
const U8 | TASK_INVENTORY_ITEM_KEY |
const U8 | TASK_INVENTORY_ASSET_KEY |
Copyright (c) 2001-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llinventory.h.
typedef std::list<LLPointer<LLInventoryObject> > InventoryObjectList |
Definition at line 380 of file llinventory.h.
anonymous enum |
BOOL item_date_sort | ( | LLInventoryItem * | a, | |
LLInventoryItem * | b | |||
) |
BOOL item_dictionary_sort | ( | LLInventoryItem * | a, | |
LLInventoryItem * | b | |||
) |
Definition at line 1301 of file llinventory.cpp.
References a, b, and LLStringBase< char >::compareDict().
LLPointer<LLInventoryCategory> ll_create_category_from_sd | ( | const LLSD & | sd_cat | ) |
Definition at line 1629 of file llinventory.cpp.
References INV_ASSET_TYPE_LABEL(), INV_FOLDER_ID_LABEL(), INV_NAME_LABEL(), INV_PARENT_ID_LABEL(), INV_PREFERRED_TYPE_LABEL(), and LLAssetType::lookup().
LLPointer<LLInventoryItem> ll_create_item_from_sd | ( | const LLSD & | sd_item | ) |
Definition at line 1577 of file llinventory.cpp.
References LLXORCipher::decrypt(), LLSD::has(), INV_ASSET_ID_LABEL(), INV_ASSET_TYPE_LABEL(), INV_CREATION_DATE_LABEL(), INV_DESC_LABEL(), INV_FLAGS_LABEL(), INV_INVENTORY_TYPE_LABEL(), INV_ITEM_ID_LABEL(), INV_NAME_LABEL(), INV_PARENT_ID_LABEL(), INV_PERMISSIONS_LABEL(), INV_SALE_INFO_LABEL(), ll_permissions_from_sd(), ll_sale_info_from_sd(), LLInventoryType::lookup(), LLAssetType::lookup(), MAGIC_ID, LLUUID::mData, and UUID_BYTES.
LLSD ll_create_sd_from_inventory_category | ( | LLPointer< LLInventoryCategory > | cat | ) |
Definition at line 1607 of file llinventory.cpp.
References LLAssetType::AT_NONE, INV_ASSET_TYPE_LABEL(), INV_FOLDER_ID_LABEL(), INV_NAME_LABEL(), INV_PARENT_ID_LABEL(), INV_PREFERRED_TYPE_LABEL(), LLPointer< Type >::isNull(), llendl, llwarns, and LLAssetType::lookup().
LLSD ll_create_sd_from_inventory_item | ( | LLPointer< LLInventoryItem > | item | ) |
---------------------------------------------------------------------------- Local function definitions ----------------------------------------------------------------------------
Definition at line 1551 of file llinventory.cpp.
References LLAssetType::AT_NONE, INV_ASSET_ID_LABEL(), INV_ASSET_TYPE_LABEL(), INV_CREATION_DATE_LABEL(), INV_DESC_LABEL(), INV_FLAGS_LABEL(), INV_INVENTORY_TYPE_LABEL(), INV_ITEM_ID_LABEL(), INV_NAME_LABEL(), INV_PARENT_ID_LABEL(), INV_PERMISSIONS_LABEL(), INV_SALE_INFO_LABEL(), LLPointer< Type >::isNull(), ll_create_sd_from_permissions(), ll_create_sd_from_sale_info(), llendl, llwarns, LLInventoryType::lookup(), LLAssetType::lookup(), and S32.
const U8 TASK_INVENTORY_ASSET_KEY |
Definition at line 67 of file llinventory.cpp.
Referenced by LLViewerObject::doUpdateInventory(), and LLToolDragAndDrop::handleDropTextureProtections().
const U8 TASK_INVENTORY_ITEM_KEY |
---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------
Definition at line 66 of file llinventory.cpp.
Referenced by LLViewerObject::doUpdateInventory(), LLToolDragAndDrop::dropInventory(), LLPreview::onCommit(), LLFloaterProperties::onCommitDescription(), LLFloaterProperties::onCommitName(), LLFloaterProperties::onCommitPermissions(), LLPreviewGesture::onSaveComplete(), LLPreviewNotecard::onSaveComplete(), LLTaskInvFVBridge::renameItem(), LLViewerObject::saveScript(), LLFloaterProperties::updateSaleInfo(), and LLViewerObject::updateViewerInventoryAsset().