LLInventoryClipboard Class Reference

#include <llinventoryclipboard.h>

Collaboration diagram for LLInventoryClipboard:

Collaboration graph
[legend]
List of all members.

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

Protected Attributes

LLDynamicArray< LLUUIDmObjects

Static Protected Attributes

static LLInventoryClipboard sInstance

Private Member Functions

 LLInventoryClipboard (const LLInventoryClipboard &)
LLInventoryClipboardoperator= (const LLInventoryClipboard &)

Detailed Description

Definition at line 47 of file llinventoryclipboard.h.


Constructor & Destructor Documentation

LLInventoryClipboard::LLInventoryClipboard (  ) 

---------------------------------------------------------------------------- Class LLInventoryClipboard ----------------------------------------------------------------------------

Definition at line 48 of file llinventoryclipboard.cpp.

LLInventoryClipboard::~LLInventoryClipboard (  ) 

Definition at line 52 of file llinventoryclipboard.cpp.

References reset().

LLInventoryClipboard::LLInventoryClipboard ( const LLInventoryClipboard  )  [private]


Member Function Documentation

void LLInventoryClipboard::add ( const LLUUID object  ) 

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.

void LLInventoryClipboard::store ( const LLUUID object  ) 

Definition at line 63 of file llinventoryclipboard.cpp.

References mObjects, LLDynamicArray< Type, BlockSize >::put(), and reset().


Member Data Documentation

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]

Definition at line 73 of file llinventoryclipboard.h.

Referenced by instance().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:25 2010 for Second Life Viewer by  doxygen 1.4.7