LLViewerInventoryItem Class Reference

#include <llviewerinventory.h>

Inheritance diagram for LLViewerInventoryItem:

Inheritance graph
[legend]
Collaboration diagram for LLViewerInventoryItem:

Collaboration graph
[legend]

List of all members.

Public Types

typedef LLDynamicArray
< LLPointer
< LLViewerInventoryItem > > 
item_array_t

Public Member Functions

 LLViewerInventoryItem (const LLUUID &uuid, const LLUUID &parent_uuid, const LLPermissions &permissions, const LLUUID &asset_uuid, LLAssetType::EType type, LLInventoryType::EType inv_type, const LLString &name, const LLString &desc, const LLSaleInfo &sale_info, U32 flags, S32 creation_date_utc)
 LLViewerInventoryItem (const LLUUID &item_id, const LLUUID &parent_id, const char *name, LLInventoryType::EType inv_type)
 LLViewerInventoryItem ()
 LLViewerInventoryItem (const LLViewerInventoryItem *other)
 LLViewerInventoryItem (const LLInventoryItem *other)
void copyViewerItem (const LLViewerInventoryItem *other)
void copyItem (const LLInventoryItem *other)
void cloneViewerItem (LLPointer< LLViewerInventoryItem > &newitem) const
virtual void removeFromServer (void)
virtual void updateParentOnServer (BOOL restamp) const
virtual void updateServer (BOOL is_new) const
void fetchFromServer (void) const
virtual BOOL unpackMessage (LLMessageSystem *msg, const char *block, S32 block_num=0)
virtual BOOL unpackMessage (LLSD item)
virtual BOOL importFile (LLFILE *fp)
virtual BOOL importLegacyStream (std::istream &input_stream)
bool exportFileLocal (LLFILE *fp) const
bool importFileLocal (LLFILE *fp)
BOOL isComplete () const
void setComplete (BOOL complete)
virtual void packMessage (LLMessageSystem *msg) const
virtual void setTransactionID (const LLTransactionID &transaction_id)
LLTransactionID getTransactionID () const

Protected Member Functions

 ~LLViewerInventoryItem (void)

Protected Attributes

BOOL mIsComplete
LLTransactionID mTransactionID

Classes

struct  comparePointers


Detailed Description

Definition at line 46 of file llviewerinventory.h.


Member Typedef Documentation

Reimplemented from LLInventoryItem.

Definition at line 49 of file llviewerinventory.h.


Constructor & Destructor Documentation

LLViewerInventoryItem::~LLViewerInventoryItem ( void   )  [protected]

Definition at line 115 of file llviewerinventory.cpp.

LLViewerInventoryItem::LLViewerInventoryItem ( const LLUUID uuid,
const LLUUID parent_uuid,
const LLPermissions perm,
const LLUUID asset_uuid,
LLAssetType::EType  type,
LLInventoryType::EType  inv_type,
const LLString name,
const LLString desc,
const LLSaleInfo sale_info,
U32  flags,
S32  creation_date_utc 
)

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- Class LLViewerInventoryItem ----------------------------------------------------------------------------

Definition at line 61 of file llviewerinventory.cpp.

LLViewerInventoryItem::LLViewerInventoryItem ( const LLUUID item_id,
const LLUUID parent_id,
const char *  name,
LLInventoryType::EType  inv_type 
)

LLViewerInventoryItem::LLViewerInventoryItem (  ) 

Definition at line 91 of file llviewerinventory.cpp.

Referenced by cloneViewerItem().

Here is the caller graph for this function:

LLViewerInventoryItem::LLViewerInventoryItem ( const LLViewerInventoryItem other  ) 

Definition at line 97 of file llviewerinventory.cpp.

References copyViewerItem(), llendl, llwarns, mIsComplete, and LLInventoryObject::mUUID.

Here is the call graph for this function:

LLViewerInventoryItem::LLViewerInventoryItem ( const LLInventoryItem other  ) 

Definition at line 108 of file llviewerinventory.cpp.


Member Function Documentation

void LLViewerInventoryItem::copyViewerItem ( const LLViewerInventoryItem other  ) 

Definition at line 119 of file llviewerinventory.cpp.

References LLInventoryItem::copyItem(), mIsComplete, and mTransactionID.

Referenced by LLViewerInventoryItem(), and LLInventoryModel::updateItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerInventoryItem::copyItem ( const LLInventoryItem other  )  [virtual]

Reimplemented from LLInventoryItem.

Definition at line 127 of file llviewerinventory.cpp.

References LLInventoryItem::copyItem(), mIsComplete, mTransactionID, and LLUUID::setNull().

Here is the call graph for this function:

void LLViewerInventoryItem::cloneViewerItem ( LLPointer< LLViewerInventoryItem > &  newitem  )  const

Definition at line 134 of file llviewerinventory.cpp.

References LLUUID::generate(), LLViewerInventoryItem(), and LLPointer< Type >::notNull().

Here is the call graph for this function:

void LLViewerInventoryItem::removeFromServer ( void   )  [virtual]

void LLViewerInventoryItem::updateParentOnServer ( BOOL  restamp  )  const [virtual]

void LLViewerInventoryItem::updateServer ( BOOL  is_new  )  const [virtual]

void LLViewerInventoryItem::fetchFromServer ( void   )  const

BOOL LLViewerInventoryItem::unpackMessage ( LLMessageSystem msg,
const char *  block,
S32  block_num = 0 
) [virtual]

Reimplemented from LLInventoryItem.

Definition at line 225 of file llviewerinventory.cpp.

References mIsComplete, TRUE, and LLInventoryItem::unpackMessage().

Here is the call graph for this function:

BOOL LLViewerInventoryItem::unpackMessage ( LLSD  item  )  [virtual]

Definition at line 217 of file llviewerinventory.cpp.

References LLInventoryItem::fromLLSD(), mIsComplete, and TRUE.

Here is the call graph for this function:

BOOL LLViewerInventoryItem::importFile ( LLFILE fp  )  [virtual]

Reimplemented from LLInventoryItem.

Definition at line 257 of file llviewerinventory.cpp.

References LLInventoryItem::importFile(), mIsComplete, and TRUE.

Here is the call graph for this function:

BOOL LLViewerInventoryItem::importLegacyStream ( std::istream &  input_stream  )  [virtual]

Reimplemented from LLInventoryItem.

Definition at line 265 of file llviewerinventory.cpp.

References LLInventoryItem::importLegacyStream(), mIsComplete, and TRUE.

Here is the call graph for this function:

bool LLViewerInventoryItem::exportFileLocal ( LLFILE fp  )  const

bool LLViewerInventoryItem::importFileLocal ( LLFILE fp  ) 

Definition at line 272 of file llviewerinventory.cpp.

References LLInventoryItem::importFile(), and mIsComplete.

Here is the call graph for this function:

BOOL LLViewerInventoryItem::isComplete (  )  const [inline]

Definition at line 112 of file llviewerinventory.h.

References mIsComplete.

Referenced by LLWearableBridge::canWearOnAvatar(), LLInventoryFetchComboObserver::changed(), LLInventoryFetchObserver::changed(), LLInventoryCompletionObserver::changed(), LLToolDragAndDrop::dad3dActivateGesture(), LLToolDragAndDrop::dad3dGiveInventory(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLToolDragAndDrop::dad3dRezAttachmentFromInv(), LLToolDragAndDrop::dad3dRezFromObjectOnLand(), LLToolDragAndDrop::dad3dRezFromObjectOnObject(), LLToolDragAndDrop::dad3dRezObjectOnLand(), LLToolDragAndDrop::dad3dRezObjectOnObject(), LLToolDragAndDrop::dad3dRezScript(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dad3dUpdateInventory(), LLToolDragAndDrop::dad3dWearItem(), LLFolderBridge::dragItemIntoFolder(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropObject(), LLInventoryFetchComboObserver::fetch(), LLInventoryFetchObserver::fetchItems(), LLAttachObject::handleEvent(), inventory_offer_callback(), LLPanelEditWearable::onBtnRandomize(), LLPreview::onCommit(), LLFloaterProperties::onCommitPermissions(), LLWearableBridge::openItem(), LLObjectBridge::performAction(), LLPreviewGesture::refresh(), LLFloaterProperties::refreshFromItem(), LLItemBridge::selectItem(), LLPanelEditWearable::setSubpart(), LLPreviewGesture::show(), LLFloaterCustomize::updateInventoryUI(), LLFloaterProperties::updateSaleInfo(), LLFloaterCustomize::updateScrollingPanelUI(), LLToolDragAndDrop::willObjectAcceptInventory(), and LLWearable::writeToAvatar().

Here is the caller graph for this function:

void LLViewerInventoryItem::setComplete ( BOOL  complete  )  [inline]

Definition at line 113 of file llviewerinventory.h.

References mIsComplete.

Referenced by LLPreviewGesture::saveIfNeeded().

Here is the caller graph for this function:

void LLViewerInventoryItem::packMessage ( LLMessageSystem msg  )  const [virtual]

void LLViewerInventoryItem::setTransactionID ( const LLTransactionID transaction_id  )  [virtual]

Definition at line 233 of file llviewerinventory.cpp.

References mTransactionID.

Referenced by LLAgent::addWearabletoAgentInventoryDone(), LLPreviewNotecard::onSaveComplete(), and LLPreviewGesture::onSaveComplete().

Here is the caller graph for this function:

LLTransactionID LLViewerInventoryItem::getTransactionID (  )  const [inline]

Definition at line 125 of file llviewerinventory.h.

References mTransactionID.

Referenced by LLViewerObject::saveScript(), and LLViewerObject::updateInventory().

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:27:03 2008 for SecondLife by  doxygen 1.5.5