#include <llinventoryclipboard.h>
Collaboration diagram for LLInventoryClipboard:
Public Member Functions | |
void | add (const LLUUID &object) |
void | store (const LLUUID &object) |
void | store (const LLDynamicArray< LLUUID > &inventory_objects) |
void | retrieve (LLDynamicArray< LLUUID > &inventory_objects) const |
void | reset () |
BOOL | hasContents () const |
LLInventoryClipboard () | |
~LLInventoryClipboard () | |
Static Public Member Functions | |
static LLInventoryClipboard & | instance () |
Protected Attributes | |
LLDynamicArray< LLUUID > | mObjects |
Static Protected Attributes | |
static LLInventoryClipboard | sInstance |
Private Member Functions | |
LLInventoryClipboard (const LLInventoryClipboard &) | |
LLInventoryClipboard & | operator= (const LLInventoryClipboard &) |
Definition at line 47 of file llinventoryclipboard.h.
LLInventoryClipboard::LLInventoryClipboard | ( | ) |
---------------------------------------------------------------------------- Class LLInventoryClipboard ----------------------------------------------------------------------------
Definition at line 48 of file llinventoryclipboard.cpp.
LLInventoryClipboard::~LLInventoryClipboard | ( | ) |
LLInventoryClipboard::LLInventoryClipboard | ( | const LLInventoryClipboard & | ) | [private] |
Definition at line 57 of file llinventoryclipboard.cpp.
References mObjects, and LLDynamicArray< Type, BlockSize >::put().
Referenced by LLItemBridge::copyToClipboard().
BOOL LLInventoryClipboard::hasContents | ( | ) | const |
Definition at line 95 of file llinventoryclipboard.cpp.
References LLDynamicArray< Type, BlockSize >::count(), and mObjects.
static LLInventoryClipboard& LLInventoryClipboard::instance | ( | void | ) | [inline, static] |
Definition at line 51 of file llinventoryclipboard.h.
References sInstance.
Referenced by LLFolderView::copy(), LLItemBridge::copyToClipboard(), doToSelected(), LLFolderBridge::isClipboardPasteable(), LLInvFVBridge::isClipboardPasteable(), and LLFolderBridge::pasteFromClipboard().
LLInventoryClipboard& LLInventoryClipboard::operator= | ( | const LLInventoryClipboard & | ) | [private] |
void LLInventoryClipboard::reset | ( | ) |
Definition at line 89 of file llinventoryclipboard.cpp.
References mObjects, and LLDynamicArray< Type, BlockSize >::reset().
Referenced by LLFolderView::copy(), doToSelected(), store(), and ~LLInventoryClipboard().
void LLInventoryClipboard::retrieve | ( | LLDynamicArray< LLUUID > & | inventory_objects | ) | const |
Definition at line 79 of file llinventoryclipboard.cpp.
References LLDynamicArray< Type, BlockSize >::count(), count, i, mObjects, LLDynamicArray< Type, BlockSize >::put(), LLDynamicArray< Type, BlockSize >::reset(), and S32.
Referenced by LLFolderBridge::pasteFromClipboard().
void LLInventoryClipboard::store | ( | const LLDynamicArray< LLUUID > & | inventory_objects | ) |
Definition at line 69 of file llinventoryclipboard.cpp.
References LLDynamicArray< Type, BlockSize >::count(), count, i, mObjects, LLDynamicArray< Type, BlockSize >::put(), reset(), and S32.
Definition at line 63 of file llinventoryclipboard.cpp.
References mObjects, LLDynamicArray< Type, BlockSize >::put(), and reset().
LLDynamicArray<LLUUID> LLInventoryClipboard::mObjects [protected] |
Definition at line 75 of file llinventoryclipboard.h.
Referenced by add(), hasContents(), reset(), retrieve(), and store().
LLInventoryClipboard LLInventoryClipboard::sInstance [static, protected] |