LLGiveable Class Reference

Inheritance diagram for LLGiveable:

Inheritance graph
Collaboration diagram for LLGiveable:

Collaboration graph
List of all members.

Public Member Functions

 LLGiveable ()
virtual ~LLGiveable ()
virtual bool operator() (LLInventoryCategory *cat, LLInventoryItem *item)
S32 countNoCopy () const

Protected Attributes

S32 mCountLosing

Detailed Description

Definition at line 309 of file lltooldraganddrop.cpp.

Constructor & Destructor Documentation

LLGiveable::LLGiveable (  )  [inline]

Definition at line 312 of file lltooldraganddrop.cpp.

virtual LLGiveable::~LLGiveable (  )  [inline, virtual]

Definition at line 313 of file lltooldraganddrop.cpp.

Member Function Documentation

S32 LLGiveable::countNoCopy (  )  const [inline]

Definition at line 316 of file lltooldraganddrop.cpp.

References mCountLosing.

Referenced by LLToolDragAndDrop::giveInventoryCategory().

bool LLGiveable::operator() ( LLInventoryCategory cat,
LLInventoryItem item 
) [virtual]

Implements LLInventoryCollectFunctor.

Definition at line 321 of file lltooldraganddrop.cpp.

References LLPermissions::allowCopyBy(), LLPermissions::allowOperationBy(), LLAssetType::AT_BODYPART, LLAssetType::AT_CALLINGCARD, LLAssetType::AT_CLOTHING, LLAssetType::AT_OBJECT, FALSE, gAgent, LLAgent::getAvatarObject(), LLAgent::getID(), LLInventoryItem::getPermissions(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), LLVOAvatar::isWearingAttachment(), LLAgent::isWearingItem(), mCountLosing, NULL, PERM_TRANSFER, and TRUE.

Member Data Documentation

S32 LLGiveable::mCountLosing [protected]

Definition at line 318 of file lltooldraganddrop.cpp.

Referenced by countNoCopy(), and operator()().

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