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

 CATEGORY_TOP = 0
 CATEGORY_DEPTH = 4
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().


Member Function Documentation

LLCategory LLCategory::getSubCategory ( U8  n  )  const

Definition at line 131 of file llcategory.cpp.

References CATEGORY_DEPTH, i, mData, and S32.

S32 LLCategory::getSubCategoryCount (  )  const

Definition at line 122 of file llcategory.cpp.

References CATEGORY_INDEX, mData, and S32.

U32 LLCategory::getU32 (  )  const

Definition at line 109 of file llcategory.cpp.

References mData.

Referenced by packMessage().

void LLCategory::init ( U32  value  ) 

Definition at line 98 of file llcategory.cpp.

References CATEGORY_DEPTH, i, mData, S32, and v.

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

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().

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().

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().


Member Data Documentation

U8 LLCategory::mData[CATEGORY_DEPTH] [protected]

Definition at line 99 of file llcategory.h.

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

const LLCategory LLCategory::none [static]

Definition at line 61 of file llcategory.h.


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