LLCategory Class Reference

#include <llcategory.h>

Collaboration diagram for LLCategory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLCategory ()
 LLCategory (U32 value)
void init (U32 value)
U32 getU32 () const
S32 getSubCategoryCount () const
LLCategory getSubCategory (U8 n) const
const char * lookupName () const
void packMessage (LLMessageSystem *msg) const
void unpackMessage (LLMessageSystem *msg, const char *block)
void unpackMultiMessage (LLMessageSystem *msg, const char *block, S32 block_num)

Static Public Attributes

static const LLCategory none

Protected Types

enum  { CATEGORY_TOP = 0, CATEGORY_DEPTH = 4 }

Protected Attributes

U8 mData [CATEGORY_DEPTH]


Detailed Description

Definition at line 57 of file llcategory.h.


Member Enumeration Documentation

anonymous enum [protected]

Enumerator:
CATEGORY_TOP 
CATEGORY_DEPTH 

Definition at line 93 of file llcategory.h.


Constructor & Destructor Documentation

LLCategory::LLCategory (  ) 

---------------------------------------------------------------------------- Class llcategory ----------------------------------------------------------------------------

Definition at line 81 of file llcategory.cpp.

References mData.

LLCategory::LLCategory ( U32  value  )  [inline, explicit]

Definition at line 66 of file llcategory.h.

References init().

Here is the call graph for this function:


Member Function Documentation

void LLCategory::init ( U32  value  ) 

Definition at line 98 of file llcategory.cpp.

References CATEGORY_DEPTH, i, mData, and S32.

Referenced by LLCategory(), unpackMessage(), and unpackMultiMessage().

Here is the caller graph for this function:

U32 LLCategory::getU32 (  )  const

Definition at line 109 of file llcategory.cpp.

References mData.

Referenced by packMessage().

Here is the caller graph for this function:

S32 LLCategory::getSubCategoryCount (  )  const

Definition at line 122 of file llcategory.cpp.

References CATEGORY_INDEX, mData, and S32.

LLCategory LLCategory::getSubCategory ( U8  n  )  const

Definition at line 131 of file llcategory.cpp.

References CATEGORY_DEPTH, i, mData, and S32.

const char * LLCategory::lookupName (  )  const

Definition at line 146 of file llcategory.cpp.

References CATEGORY_DEPTH, CATEGORY_INDEX, CATEGORY_NAME, i, mData, and S32.

void LLCategory::packMessage ( LLMessageSystem msg  )  const

Definition at line 159 of file llcategory.cpp.

References _PREHASH_Category, LLMessageSystem::addU32Fast(), and getU32().

Referenced by LLSelectMgr::packObjectCategory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCategory::unpackMessage ( LLMessageSystem msg,
const char *  block 
)

Definition at line 166 of file llcategory.cpp.

References _PREHASH_Category, LLMessageSystem::getU32Fast(), and init().

Referenced by LLSelectMgr::processObjectPropertiesFamily().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCategory::unpackMultiMessage ( LLMessageSystem msg,
const char *  block,
S32  block_num 
)

Definition at line 174 of file llcategory.cpp.

References _PREHASH_Category, LLMessageSystem::getU32Fast(), and init().

Referenced by LLSelectMgr::processObjectProperties().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

const LLCategory LLCategory::none [static]

Definition at line 61 of file llcategory.h.

U8 LLCategory::mData[CATEGORY_DEPTH] [protected]

Definition at line 99 of file llcategory.h.

Referenced by getSubCategory(), getSubCategoryCount(), getU32(), init(), LLCategory(), and lookupName().


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

Generated on Fri May 16 08:39:41 2008 for SecondLife by  doxygen 1.5.5