llinventory.h File Reference

LLInventoryItem and LLInventoryCategory class declaration. More...

#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< LLInventoryItemll_create_item_from_sd (const LLSD &sd_item)
LLSD ll_create_sd_from_inventory_category (LLPointer< LLInventoryCategory > cat)
LLPointer< LLInventoryCategoryll_create_category_from_sd (const LLSD &sd_cat)

Variables

const U8 TASK_INVENTORY_ITEM_KEY
const U8 TASK_INVENTORY_ASSET_KEY


Detailed Description

LLInventoryItem and LLInventoryCategory class declaration.

LicenseInfo
firstyear=2001&license=viewergpl

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 Documentation

Definition at line 413 of file llinventory.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
MAX_INVENTORY_BUFFER_SIZE 

Definition at line 53 of file llinventory.h.


Function Documentation

BOOL item_date_sort ( LLInventoryItem a,
LLInventoryItem b 
)

Definition at line 1309 of file llinventory.cpp.

References LLInventoryItem::getCreationDate().

Here is the call graph for this function:

BOOL item_dictionary_sort ( LLInventoryItem a,
LLInventoryItem b 
)

Definition at line 1303 of file llinventory.cpp.

References LLStringBase< char >::compareDict(), and LLInventoryObject::getName().

Here is the call graph for this function:

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().

Here is the call graph for this function:

LLPointer<LLInventoryItem> ll_create_item_from_sd ( const LLSD sd_item  ) 

LLSD ll_create_sd_from_inventory_category ( LLPointer< LLInventoryCategory cat  ) 

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.

Here is the call graph for this function:


Variable Documentation

Definition at line 68 of file llinventory.cpp.

Referenced by LLViewerObject::doUpdateInventory().


Generated on Fri May 16 08:35:05 2008 for SecondLife by  doxygen 1.5.5