LLMsgBlkData Class Reference

#include <llmessagetemplate.h>

Collaboration diagram for LLMsgBlkData:

Collaboration graph
[legend]
List of all members.

Public Types

typedef LLDynamicArrayIndexed<
LLMsgVarData, const char *, 8 > 
msg_var_data_map_t

Public Member Functions

 LLMsgBlkData (const char *name, S32 blocknum)
 ~LLMsgBlkData ()
void addVariable (const char *name, EMsgVariableType type)
void addData (char *name, const void *data, S32 size, EMsgVariableType type, S32 data_size=-1)

Public Attributes

S32 mOffset
S32 mBlockNumber
msg_var_data_map_t mMemberVarData
char * mName
S32 mTotalSize

Detailed Description

Definition at line 84 of file llmessagetemplate.h.


Member Typedef Documentation

typedef LLDynamicArrayIndexed<LLMsgVarData, const char *, 8> LLMsgBlkData::msg_var_data_map_t

Definition at line 115 of file llmessagetemplate.h.


Constructor & Destructor Documentation

LLMsgBlkData::LLMsgBlkData ( const char *  name,
S32  blocknum 
) [inline]

Definition at line 87 of file llmessagetemplate.h.

References mName.

LLMsgBlkData::~LLMsgBlkData (  )  [inline]

Definition at line 92 of file llmessagetemplate.h.

References LLDynamicArrayIndexed< Type, Key, BlockSize >::begin(), LLDynamicArrayIndexed< Type, Key, BlockSize >::end(), and mMemberVarData.


Member Function Documentation

void LLMsgBlkData::addData ( char *  name,
const void data,
S32  size,
EMsgVariableType  type,
S32  data_size = -1 
) [inline]

Definition at line 107 of file llmessagetemplate.h.

References LLMsgVarData::addData(), and mMemberVarData.

Referenced by LLTemplateMessageBuilder::addData(), LLMsgData::addDataFast(), and LLTemplateMessageReader::decodeData().

void LLMsgBlkData::addVariable ( const char *  name,
EMsgVariableType  type 
) [inline]

Definition at line 101 of file llmessagetemplate.h.

References mMemberVarData.

Referenced by LLTemplateMessageReader::decodeData(), and LLTemplateMessageBuilder::nextBlock().


Member Data Documentation

S32 LLMsgBlkData::mBlockNumber

Definition at line 114 of file llmessagetemplate.h.

Referenced by LLMsgData::addDataFast(), buildBlock(), LLTemplateMessageBuilder::nextBlock(), and LLTemplateMessageBuilder::removeLastBlock().

msg_var_data_map_t LLMsgBlkData::mMemberVarData

Definition at line 116 of file llmessagetemplate.h.

Referenced by addData(), addVariable(), buildBlock(), LLTemplateMessageReader::getData(), LLTemplateMessageReader::getSize(), and ~LLMsgBlkData().

char* LLMsgBlkData::mName

Definition at line 117 of file llmessagetemplate.h.

Referenced by LLMsgData::addBlock(), buildBlock(), LLTemplateMessageReader::decodeData(), LLMsgBlkData(), and LLTemplateMessageBuilder::nextBlock().

S32 LLMsgBlkData::mOffset

Definition at line 113 of file llmessagetemplate.h.

S32 LLMsgBlkData::mTotalSize

Definition at line 118 of file llmessagetemplate.h.


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