#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"
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-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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 413 of file llinventory.h.
anonymous enum |
BOOL item_date_sort | ( | LLInventoryItem * | a, | |
LLInventoryItem * | b | |||
) |
Definition at line 1309 of file llinventory.cpp.
References LLInventoryItem::getCreationDate().
BOOL item_dictionary_sort | ( | LLInventoryItem * | a, | |
LLInventoryItem * | b | |||
) |
Definition at line 1303 of file llinventory.cpp.
References LLStringBase< char >::compareDict(), and LLInventoryObject::getName().
LLPointer<LLInventoryCategory> ll_create_category_from_sd | ( | const LLSD & | sd_cat | ) |
Definition at line 1674 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 1622 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 1652 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 1596 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 |
const U8 TASK_INVENTORY_ITEM_KEY |
---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------
Definition at line 67 of file llinventory.cpp.
Referenced by LLViewerObject::doUpdateInventory(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::handleDropTextureProtections(), LLPreview::onCommit(), LLFloaterProperties::onCommitDescription(), LLFloaterProperties::onCommitName(), LLFloaterProperties::onCommitPermissions(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLTaskInvFVBridge::renameItem(), LLViewerObject::saveScript(), LLFloaterProperties::updateSaleInfo(), and LLViewerObject::updateViewerInventoryAsset().