LLMsgData Class Reference

#include <llmessagetemplate.h>

Collaboration diagram for LLMsgData:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::map< char *,
LLMsgBlkData * > 
msg_blk_data_map_t

Public Member Functions

 LLMsgData (const char *name)
 ~LLMsgData ()
void addBlock (LLMsgBlkData *blockp)
void addDataFast (char *blockname, char *varname, const void *data, S32 size, EMsgVariableType type, S32 data_size=-1)

Public Attributes

S32 mOffset
msg_blk_data_map_t mMemberBlocks
char * mName
S32 mTotalSize

Detailed Description

Definition at line 121 of file llmessagetemplate.h.


Member Typedef Documentation

typedef std::map<char*, LLMsgBlkData*> LLMsgData::msg_blk_data_map_t

Definition at line 142 of file llmessagetemplate.h.


Constructor & Destructor Documentation

LLMsgData::LLMsgData ( const char *  name  )  [inline]

Definition at line 124 of file llmessagetemplate.h.

References mName.

LLMsgData::~LLMsgData (  )  [inline]

Definition at line 128 of file llmessagetemplate.h.

References mMemberBlocks.


Member Function Documentation

void LLMsgData::addBlock ( LLMsgBlkData blockp  )  [inline]

Definition at line 133 of file llmessagetemplate.h.

References mMemberBlocks, and LLMsgBlkData::mName.

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

void LLMsgData::addDataFast ( char *  blockname,
char *  varname,
const void data,
S32  size,
EMsgVariableType  type,
S32  data_size = -1 
)

Definition at line 59 of file llmessagetemplate.cpp.

References LLMsgBlkData::addData(), LLMsgBlkData::mBlockNumber, and mMemberBlocks.


Member Data Documentation

msg_blk_data_map_t LLMsgData::mMemberBlocks

Definition at line 143 of file llmessagetemplate.h.

Referenced by addBlock(), addDataFast(), buildBlock(), LLTemplateMessageBuilder::copyFromMessageData(), LLSDMessageBuilder::copyFromMessageData(), LLTemplateMessageReader::decodeData(), LLTemplateMessageReader::getData(), LLTemplateMessageReader::getNumberOfBlocks(), LLTemplateMessageReader::getSize(), LLTemplateMessageBuilder::isMessageFull(), LLTemplateMessageBuilder::nextBlock(), and ~LLMsgData().

char* LLMsgData::mName

Definition at line 144 of file llmessagetemplate.h.

Referenced by LLTemplateMessageReader::getData(), LLTemplateMessageReader::getSize(), and LLMsgData().

S32 LLMsgData::mOffset

Definition at line 141 of file llmessagetemplate.h.

S32 LLMsgData::mTotalSize

Definition at line 145 of file llmessagetemplate.h.


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