LLCanCache Class Reference

Inheritance diagram for LLCanCache:

Inheritance graph
[legend]
Collaboration diagram for LLCanCache:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLCanCache (LLInventoryModel *model)
virtual ~LLCanCache ()
virtual bool operator() (LLInventoryCategory *cat, LLInventoryItem *item)

Protected Attributes

LLInventoryModelmModel
std::set< LLUUIDmCachedCatIDs

Detailed Description

Definition at line 119 of file llinventorymodel.cpp.


Constructor & Destructor Documentation

LLCanCache::LLCanCache ( LLInventoryModel model  )  [inline]

Definition at line 122 of file llinventorymodel.cpp.

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

Definition at line 123 of file llinventorymodel.cpp.


Member Function Documentation

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

Implements LLInventoryCollectFunctor.

Definition at line 130 of file llinventorymodel.cpp.

References c, LLDynamicArray< Type, BlockSize >::count(), LLInventoryModel::getDirectDescendentsOf(), LLInventoryObject::getParentUUID(), mCachedCatIDs, mModel, S32, and LLViewerInventoryCategory::VERSION_UNKNOWN.


Member Data Documentation

std::set<LLUUID> LLCanCache::mCachedCatIDs [protected]

Definition at line 127 of file llinventorymodel.cpp.

Referenced by operator()().

LLInventoryModel* LLCanCache::mModel [protected]

Definition at line 126 of file llinventorymodel.cpp.

Referenced by operator()().


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