LLMsgVarData Class Reference

#include <llmessagetemplate.h>

List of all members.

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
U8mData
EMsgVariableType mType


Detailed Description

Definition at line 39 of file llmessagetemplate.h.


Constructor & Destructor Documentation

LLMsgVarData::LLMsgVarData (  )  [inline]

Definition at line 42 of file llmessagetemplate.h.

LLMsgVarData::LLMsgVarData ( const char *  name,
EMsgVariableType  type 
) [inline]

Definition at line 46 of file llmessagetemplate.h.

References mName.

LLMsgVarData::~LLMsgVarData (  )  [inline]

Definition at line 51 of file llmessagetemplate.h.


Member Function Documentation

void LLMsgVarData::deleteData (  )  [inline]

Definition at line 56 of file llmessagetemplate.h.

References mData, and NULL.

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

Here is the call graph for this function:

Here is the caller graph for this function:

char* LLMsgVarData::getName ( void   )  const [inline]

Definition at line 64 of file llmessagetemplate.h.

References mName.

Referenced by buildBlock(), LLTemplateMessageBuilder::copyFromMessageData(), LLTemplateMessageReader::getData(), and LLTemplateMessageReader::getSize().

Here is the caller graph for this function:

S32 LLMsgVarData::getSize (  )  const [inline]

Definition at line 65 of file llmessagetemplate.h.

References mSize.

Referenced by buildBlock(), LLTemplateMessageBuilder::copyFromMessageData(), LLTemplateMessageReader::getData(), and LLTemplateMessageReader::getSize().

Here is the caller graph for this function:

void* LLMsgVarData::getData (  )  [inline]

Definition at line 66 of file llmessagetemplate.h.

References mData.

Referenced by buildBlock(), LLTemplateMessageBuilder::copyFromMessageData(), and LLTemplateMessageReader::getData().

Here is the caller graph for this function:

const void* LLMsgVarData::getData (  )  const [inline]

Definition at line 67 of file llmessagetemplate.h.

References mData.

S32 LLMsgVarData::getDataSize (  )  const [inline]

Definition at line 68 of file llmessagetemplate.h.

References mDataSize.

Referenced by buildBlock().

Here is the caller graph for this function:

EMsgVariableType LLMsgVarData::getType (  )  const [inline]

Definition at line 69 of file llmessagetemplate.h.

References mType.

Referenced by LLTemplateMessageBuilder::copyFromMessageData().

Here is the caller graph for this function:


Member Data Documentation

char* LLMsgVarData::mName [protected]

Definition at line 72 of file llmessagetemplate.h.

Referenced by addData(), getName(), and LLMsgVarData().

S32 LLMsgVarData::mSize [protected]

Definition at line 73 of file llmessagetemplate.h.

Referenced by addData(), and getSize().

Definition at line 74 of file llmessagetemplate.h.

Referenced by addData(), and getDataSize().

U8* LLMsgVarData::mData [protected]

Definition at line 76 of file llmessagetemplate.h.

Referenced by addData(), deleteData(), and getData().

Definition at line 77 of file llmessagetemplate.h.

Referenced by addData(), and getType().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:54:05 2008 for SecondLife by  doxygen 1.5.5