LLViewerInventoryCategory Class Reference

#include <llviewerinventory.h>

Inheritance diagram for LLViewerInventoryCategory:

Inheritance graph
[legend]
Collaboration diagram for LLViewerInventoryCategory:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { VERSION_UNKNOWN = -1, VERSION_INITIAL = 1 }
enum  { DESCENDENT_COUNT_UNKNOWN = -1 }
typedef LLDynamicArray
< LLPointer
< LLViewerInventoryCategory > > 
cat_array_t

Public Member Functions

 LLViewerInventoryCategory (const LLUUID &uuid, const LLUUID &parent_uuid, LLAssetType::EType preferred_type, const LLString &name, const LLUUID &owner_id)
 LLViewerInventoryCategory (const LLUUID &owner_id)
 LLViewerInventoryCategory (const LLViewerInventoryCategory *other)
void copyViewerCategory (const LLViewerInventoryCategory *other)
virtual void removeFromServer ()
virtual void updateParentOnServer (BOOL restamp_children) const
virtual void updateServer (BOOL is_new) const
const LLUUIDgetOwnerID () const
S32 getVersion () const
void setVersion (S32 version)
bool fetchDescendents ()
S32 getDescendentCount () const
void setDescendentCount (S32 descendents)
bool exportFileLocal (LLFILE *fp) const
bool importFileLocal (LLFILE *fp)

Protected Member Functions

 ~LLViewerInventoryCategory ()

Protected Attributes

LLUUID mOwnerID
S32 mVersion
S32 mDescendentCount
LLFrameTimer mDescendentsRequested


Detailed Description

Definition at line 141 of file llviewerinventory.h.


Member Typedef Documentation

Reimplemented from LLInventoryCategory.

Definition at line 144 of file llviewerinventory.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
VERSION_UNKNOWN 
VERSION_INITIAL 

Definition at line 169 of file llviewerinventory.h.

anonymous enum

Enumerator:
DESCENDENT_COUNT_UNKNOWN 

Definition at line 179 of file llviewerinventory.h.


Constructor & Destructor Documentation

LLViewerInventoryCategory::~LLViewerInventoryCategory (  )  [protected]

Definition at line 353 of file llviewerinventory.cpp.

LLViewerInventoryCategory::LLViewerInventoryCategory ( const LLUUID uuid,
const LLUUID parent_uuid,
LLAssetType::EType  pref,
const LLString name,
const LLUUID owner_id 
)

---------------------------------------------------------------------------- Class LLViewerInventoryCategory ----------------------------------------------------------------------------

Definition at line 327 of file llviewerinventory.cpp.

References mDescendentsRequested, and LLFrameTimer::reset().

Here is the call graph for this function:

LLViewerInventoryCategory::LLViewerInventoryCategory ( const LLUUID owner_id  ) 

Definition at line 340 of file llviewerinventory.cpp.

References mDescendentsRequested, and LLFrameTimer::reset().

Here is the call graph for this function:

LLViewerInventoryCategory::LLViewerInventoryCategory ( const LLViewerInventoryCategory other  ) 

Definition at line 348 of file llviewerinventory.cpp.

References copyViewerCategory().

Here is the call graph for this function:


Member Function Documentation

void LLViewerInventoryCategory::copyViewerCategory ( const LLViewerInventoryCategory other  ) 

Definition at line 357 of file llviewerinventory.cpp.

References LLInventoryCategory::copyCategory(), mDescendentCount, mDescendentsRequested, mOwnerID, and mVersion.

Referenced by LLViewerInventoryCategory(), and LLInventoryModel::updateCategory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerInventoryCategory::removeFromServer ( void   )  [virtual]

void LLViewerInventoryCategory::updateParentOnServer ( BOOL  restamp_children  )  const [virtual]

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

const LLUUID& LLViewerInventoryCategory::getOwnerID (  )  const [inline]

Definition at line 166 of file llviewerinventory.h.

References mOwnerID.

Referenced by LLInventoryModel::bulkFetch(), and LLFolderBridge::isItemRenameable().

Here is the caller graph for this function:

S32 LLViewerInventoryCategory::getVersion (  )  const [inline]

void LLViewerInventoryCategory::setVersion ( S32  version  )  [inline]

bool LLViewerInventoryCategory::fetchDescendents (  ) 

S32 LLViewerInventoryCategory::getDescendentCount (  )  const [inline]

void LLViewerInventoryCategory::setDescendentCount ( S32  descendents  )  [inline]

bool LLViewerInventoryCategory::exportFileLocal ( LLFILE fp  )  const

bool LLViewerInventoryCategory::importFileLocal ( LLFILE fp  ) 


Member Data Documentation

Definition at line 191 of file llviewerinventory.h.

Referenced by copyViewerCategory(), getDescendentCount(), and setDescendentCount().


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

Generated on Fri May 16 09:26:56 2008 for SecondLife by  doxygen 1.5.5