#include <llcategory.h>
Collaboration diagram for LLCategory:
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] |
Definition at line 57 of file llcategory.h.
anonymous enum [protected] |
LLCategory::LLCategory | ( | ) |
---------------------------------------------------------------------------- Class llcategory ----------------------------------------------------------------------------
Definition at line 81 of file llcategory.cpp.
References mData.
LLCategory::LLCategory | ( | U32 | value | ) | [inline, explicit] |
LLCategory LLCategory::getSubCategory | ( | U8 | n | ) | const |
S32 LLCategory::getSubCategoryCount | ( | ) | const |
U32 LLCategory::getU32 | ( | ) | const |
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().
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.