#include <llmessagetemplate.h>
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 LLMessageVariable * | getVariable (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) |
Definition at line 185 of file llmessagetemplate.h.
| typedef LLDynamicArrayIndexed<LLMessageVariable*, const char *, 8> LLMessageBlock::message_variable_map_t |
Definition at line 235 of file llmessagetemplate.h.
| 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.

| LLMessageBlock::~LLMessageBlock | ( | ) | [inline] |
Definition at line 193 of file llmessagetemplate.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::begin(), LLDynamicArrayIndexed< Type, Key, BlockSize >::end(), and mMemberVariables.

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

| EMsgVariableType LLMessageBlock::getVariableType | ( | char * | name | ) | [inline] |
| S32 LLMessageBlock::getVariableSize | ( | char * | name | ) | [inline] |
| const LLMessageVariable* LLMessageBlock::getVariable | ( | char * | name | ) | const [inline] |
Definition at line 227 of file llmessagetemplate.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::end(), LLDynamicArrayIndexed< Type, Key, BlockSize >::find(), mMemberVariables, and NULL.
Referenced by LLTemplateMessageBuilder::addData(), and tut::LLMessageTemplateParserTestData::ensure_variable_attributes().


| std::ostream& operator<< | ( | std::ostream & | s, | |
| LLMessageBlock & | msg | |||
| ) | [friend] |
Definition at line 97 of file llmessagetemplate.cpp.
Definition at line 236 of file llmessagetemplate.h.
Referenced by addVariable(), LLTemplateMessageReader::decodeData(), getVariable(), getVariableSize(), getVariableType(), LLTemplateMessageBuilder::nextBlock(), operator<<(), LLTemplateMessageBuilder::removeLastBlock(), and ~LLMessageBlock().
| char* LLMessageBlock::mName |
Definition at line 237 of file llmessagetemplate.h.
Referenced by LLMessageTemplate::addBlock(), buildBlock(), LLTemplateMessageReader::decodeData(), tut::LLMessageTemplateParserTestData::ensure_block_attributes(), tut::LLMessageTemplateParserTestData::ensure_variable_attributes(), LLMessageBlock(), LLTemplateMessageBuilder::newMessage(), and operator<<().
Definition at line 238 of file llmessagetemplate.h.
Referenced by LLMessageTemplate::addBlock(), buildBlock(), LLTemplateMessageReader::decodeData(), tut::LLMessageTemplateParserTestData::ensure_block_attributes(), LLTemplateMessageBuilder::isMessageFull(), LLTemplateMessageBuilder::nextBlock(), and operator<<().
Definition at line 239 of file llmessagetemplate.h.
Referenced by LLMessageTemplate::addBlock(), buildBlock(), LLTemplateMessageReader::decodeData(), tut::LLMessageTemplateParserTestData::ensure_block_attributes(), LLTemplateMessageBuilder::isMessageFull(), LLTemplateMessageBuilder::nextBlock(), and operator<<().
Definition at line 240 of file llmessagetemplate.h.
Referenced by LLMessageTemplate::addBlock(), addVariable(), tut::LLMessageTemplateParserTestData::ensure_block_attributes(), and operator<<().
1.5.5