#include <llmessagetemplate.h>
Public Member Functions | |
LLMsgVarData () | |
LLMsgVarData (const char *name, EMsgVariableType type) | |
~LLMsgVarData () | |
void | deleteData () |
void | addData (const void *indata, S32 size, EMsgVariableType type, S32 data_size=-1) |
char * | getName () const |
S32 | getSize () const |
void * | getData () |
const void * | getData () const |
S32 | getDataSize () const |
EMsgVariableType | getType () const |
Protected Attributes | |
char * | mName |
S32 | mSize |
S32 | mDataSize |
U8 * | mData |
EMsgVariableType | mType |
Definition at line 43 of file llmessagetemplate.h.
LLMsgVarData::LLMsgVarData | ( | ) | [inline] |
Definition at line 46 of file llmessagetemplate.h.
LLMsgVarData::LLMsgVarData | ( | const char * | name, | |
EMsgVariableType | type | |||
) | [inline] |
LLMsgVarData::~LLMsgVarData | ( | ) | [inline] |
Definition at line 55 of file llmessagetemplate.h.
void LLMsgVarData::addData | ( | const void * | indata, | |
S32 | size, | |||
EMsgVariableType | type, | |||
S32 | data_size = -1 | |||
) |
Definition at line 38 of file llmessagetemplate.cpp.
References htonmemcpy(), llendl, llwarns, mData, mDataSize, mName, mSize, mType, MVT_FIXED, and MVT_VARIABLE.
Referenced by LLMsgBlkData::addData().
void LLMsgVarData::deleteData | ( | ) | [inline] |
const void* LLMsgVarData::getData | ( | ) | const [inline] |
void* LLMsgVarData::getData | ( | ) | [inline] |
Definition at line 70 of file llmessagetemplate.h.
References mData.
Referenced by LLTemplateMessageReader::getData().
S32 LLMsgVarData::getDataSize | ( | ) | const [inline] |
char* LLMsgVarData::getName | ( | void | ) | const [inline] |
Definition at line 68 of file llmessagetemplate.h.
References mName.
Referenced by LLTemplateMessageReader::getData(), and LLTemplateMessageReader::getSize().
S32 LLMsgVarData::getSize | ( | ) | const [inline] |
Definition at line 69 of file llmessagetemplate.h.
References mSize.
Referenced by LLTemplateMessageReader::getData(), and LLTemplateMessageReader::getSize().
EMsgVariableType LLMsgVarData::getType | ( | ) | const [inline] |
U8* LLMsgVarData::mData [protected] |
Definition at line 80 of file llmessagetemplate.h.
Referenced by addData(), deleteData(), and getData().
S32 LLMsgVarData::mDataSize [protected] |
char* LLMsgVarData::mName [protected] |
Definition at line 76 of file llmessagetemplate.h.
Referenced by addData(), getName(), and LLMsgVarData().
S32 LLMsgVarData::mSize [protected] |
EMsgVariableType LLMsgVarData::mType [protected] |