LLMessageBlock Class Reference

#include <llmessagetemplate.h>

List of all members.

Public Types

typedef LLDynamicArrayIndexed
< LLMessageVariable *, const
char *, 8 > 
message_variable_map_t

Public Member Functions

 LLMessageBlock (const char *name, EMsgBlockType type, S32 number=1)
 ~LLMessageBlock ()
void addVariable (char *name, const EMsgVariableType type, const S32 size)
EMsgVariableType getVariableType (char *name)
S32 getVariableSize (char *name)
const LLMessageVariablegetVariable (char *name) const

Public Attributes

message_variable_map_t mMemberVariables
char * mName
EMsgBlockType mType
S32 mNumber
S32 mTotalSize

Friends

std::ostream & operator<< (std::ostream &s, LLMessageBlock &msg)


Detailed Description

Definition at line 185 of file llmessagetemplate.h.


Member Typedef Documentation

Definition at line 235 of file llmessagetemplate.h.


Constructor & Destructor Documentation

LLMessageBlock::LLMessageBlock ( const char *  name,
EMsgBlockType  type,
S32  number = 1 
) [inline]

Definition at line 188 of file llmessagetemplate.h.

References LLSingleton< LLMessageStringTable >::getInstance(), LLMessageStringTable::getString(), and mName.

Here is the call graph for this function:

LLMessageBlock::~LLMessageBlock (  )  [inline]


Member Function Documentation

void LLMessageBlock::addVariable ( char *  name,
const EMsgVariableType  type,
const S32  size 
) [inline]

Definition at line 198 of file llmessagetemplate.h.

References llendl, llerrs, mMemberVariables, mTotalSize, MVT_VARIABLE, and NULL.

Referenced by tut::LLTemplateMessageBuilderTestData::createBlock(), and LLTemplateParser::parseBlock().

Here is the caller graph for this function:

EMsgVariableType LLMessageBlock::getVariableType ( char *  name  )  [inline]

Definition at line 217 of file llmessagetemplate.h.

References mMemberVariables.

S32 LLMessageBlock::getVariableSize ( char *  name  )  [inline]

Definition at line 222 of file llmessagetemplate.h.

References mMemberVariables.

const LLMessageVariable* LLMessageBlock::getVariable ( char *  name  )  const [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
LLMessageBlock msg 
) [friend]

Definition at line 97 of file llmessagetemplate.cpp.


Member Data Documentation


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

Generated on Fri May 16 08:52:58 2008 for SecondLife by  doxygen 1.5.5