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
voidgetData ()
const voidgetData () const
S32 getDataSize () const
EMsgVariableType getType () const

Protected Attributes

char * mName
S32 mSize
S32 mDataSize
U8mData
EMsgVariableType mType


Detailed Description

Definition at line 43 of file llmessagetemplate.h.


Constructor & Destructor Documentation

LLMsgVarData::LLMsgVarData (  )  [inline]

Definition at line 46 of file llmessagetemplate.h.

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

Definition at line 50 of file llmessagetemplate.h.

References mName.

LLMsgVarData::~LLMsgVarData (  )  [inline]

Definition at line 55 of file llmessagetemplate.h.


Member Function Documentation

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]

Definition at line 60 of file llmessagetemplate.h.

References mData, and NULL.

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

Definition at line 71 of file llmessagetemplate.h.

References mData.

void* LLMsgVarData::getData (  )  [inline]

Definition at line 70 of file llmessagetemplate.h.

References mData.

Referenced by LLTemplateMessageReader::getData().

S32 LLMsgVarData::getDataSize (  )  const [inline]

Definition at line 72 of file llmessagetemplate.h.

References mDataSize.

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]

Definition at line 73 of file llmessagetemplate.h.

References mType.


Member Data Documentation

U8* LLMsgVarData::mData [protected]

Definition at line 80 of file llmessagetemplate.h.

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

S32 LLMsgVarData::mDataSize [protected]

Definition at line 78 of file llmessagetemplate.h.

Referenced by addData(), and getDataSize().

char* LLMsgVarData::mName [protected]

Definition at line 76 of file llmessagetemplate.h.

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

S32 LLMsgVarData::mSize [protected]

Definition at line 77 of file llmessagetemplate.h.

Referenced by addData(), and getSize().

EMsgVariableType LLMsgVarData::mType [protected]

Definition at line 81 of file llmessagetemplate.h.

Referenced by addData(), and getType().


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