LLInventoryCategory Class Reference

#include <llinventory.h>

Inheritance diagram for LLInventoryCategory:

Inheritance graph
[legend]
Collaboration diagram for LLInventoryCategory:

Collaboration graph
[legend]

List of all members.

Public Types

typedef LLDynamicArray
< LLPointer
< LLInventoryCategory > > 
cat_array_t

Public Member Functions

 MEM_TYPE_NEW (LLMemType::MTYPE_INVENTORY)
 LLInventoryCategory (const LLUUID &uuid, const LLUUID &parent_uuid, LLAssetType::EType preferred_type, const LLString &name)
 LLInventoryCategory ()
 LLInventoryCategory (const LLInventoryCategory *other)
void copyCategory (const LLInventoryCategory *other)
LLAssetType::EType getPreferredType () const
void setPreferredType (LLAssetType::EType type)
virtual void packMessage (LLMessageSystem *msg) const
virtual void unpackMessage (LLMessageSystem *msg, const char *block, S32 block_num=0)
LLSD asLLSD () const
bool fromLLSD (LLSD &sd)
virtual BOOL importFile (LLFILE *fp)
virtual BOOL exportFile (LLFILE *fp, BOOL include_asset_key=TRUE) const
virtual BOOL importLegacyStream (std::istream &input_stream)
virtual BOOL exportLegacyStream (std::ostream &output_stream, BOOL include_asset_key=TRUE) const

Protected Member Functions

 ~LLInventoryCategory ()

Protected Attributes

LLAssetType::EType mPreferredType


Detailed Description

Definition at line 294 of file llinventory.h.


Member Typedef Documentation

Reimplemented in LLViewerInventoryCategory.

Definition at line 297 of file llinventory.h.


Constructor & Destructor Documentation

LLInventoryCategory::~LLInventoryCategory (  )  [protected]

Definition at line 1341 of file llinventory.cpp.

LLInventoryCategory::LLInventoryCategory ( const LLUUID uuid,
const LLUUID parent_uuid,
LLAssetType::EType  preferred_type,
const LLString name 
)

---------------------------------------------------------------------------- Class LLInventoryCategory ----------------------------------------------------------------------------

Definition at line 1319 of file llinventory.cpp.

LLInventoryCategory::LLInventoryCategory (  ) 

Definition at line 1329 of file llinventory.cpp.

References LLAssetType::AT_CATEGORY, and LLInventoryObject::mType.

LLInventoryCategory::LLInventoryCategory ( const LLInventoryCategory other  ) 

Definition at line 1335 of file llinventory.cpp.

References copyCategory().

Here is the call graph for this function:


Member Function Documentation

LLInventoryCategory::MEM_TYPE_NEW ( LLMemType::MTYPE_INVENTORY   ) 

Reimplemented from LLInventoryObject.

void LLInventoryCategory::copyCategory ( const LLInventoryCategory other  ) 

Definition at line 1346 of file llinventory.cpp.

References LLInventoryObject::copyObject(), and mPreferredType.

Referenced by LLViewerInventoryCategory::copyViewerCategory(), and LLInventoryCategory().

Here is the call graph for this function:

Here is the caller graph for this function:

LLAssetType::EType LLInventoryCategory::getPreferredType (  )  const

void LLInventoryCategory::setPreferredType ( LLAssetType::EType  type  ) 

Definition at line 1357 of file llinventory.cpp.

References mPreferredType.

void LLInventoryCategory::packMessage ( LLMessageSystem msg  )  const [virtual]

void LLInventoryCategory::unpackMessage ( LLMessageSystem msg,
const char *  block,
S32  block_num = 0 
) [virtual]

LLSD LLInventoryCategory::asLLSD (  )  const

Definition at line 1362 of file llinventory.cpp.

References LLInventoryObject::mName, LLInventoryObject::mParentUUID, mPreferredType, LLInventoryObject::mUUID, and tut::sd().

Here is the call graph for this function:

bool LLInventoryCategory::fromLLSD ( LLSD sd  ) 

BOOL LLInventoryCategory::importFile ( LLFILE fp  )  [virtual]

BOOL LLInventoryCategory::exportFile ( LLFILE fp,
BOOL  include_asset_key = TRUE 
) const [virtual]

BOOL LLInventoryCategory::importLegacyStream ( std::istream &  input_stream  )  [virtual]

BOOL LLInventoryCategory::exportLegacyStream ( std::ostream &  output_stream,
BOOL  include_asset_key = TRUE 
) const [virtual]


Member Data Documentation


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

Generated on Fri May 16 08:50:03 2008 for SecondLife by  doxygen 1.5.5