Public Member Functions | |
LLMessageTemplateParserTestData () | |
~LLMessageTemplateParserTestData () | |
void | ensure_next (LLTemplateTokenizer &tokens, std::string value, U32 line) |
char * | prehash (const char *name) |
void | ensure_block_attributes (std::string identifier, const LLMessageTemplate *message, const char *name, EMsgBlockType type, S32 number, S32 total_size) |
void | ensure_variable_attributes (std::string identifier, const LLMessageBlock *block, const char *name, EMsgVariableType type, S32 size) |
Public Attributes | |
std::string | mMessage |
Definition at line 39 of file llmessagetemplateparser_tut.cpp.
tut::LLMessageTemplateParserTestData::LLMessageTemplateParserTestData | ( | ) | [inline] |
Definition at line 40 of file llmessagetemplateparser_tut.cpp.
tut::LLMessageTemplateParserTestData::~LLMessageTemplateParserTestData | ( | ) | [inline] |
Definition at line 44 of file llmessagetemplateparser_tut.cpp.
void tut::LLMessageTemplateParserTestData::ensure_block_attributes | ( | std::string | identifier, | |
const LLMessageTemplate * | message, | |||
const char * | name, | |||
EMsgBlockType | type, | |||
S32 | number, | |||
S32 | total_size | |||
) | [inline] |
Definition at line 62 of file llmessagetemplateparser_tut.cpp.
References tut::ensure_equals(), LLMessageTemplate::getBlock(), LLMessageBlock::mName, LLMessageTemplate::mName, LLMessageBlock::mNumber, LLMessageBlock::mTotalSize, LLMessageBlock::mType, NULL, and prehash().
void tut::LLMessageTemplateParserTestData::ensure_next | ( | LLTemplateTokenizer & | tokens, | |
std::string | value, | |||
U32 | line | |||
) | [inline] |
Definition at line 48 of file llmessagetemplateparser_tut.cpp.
References tut::ensure_equals(), LLTemplateTokenizer::line(), mMessage, and LLTemplateTokenizer::next().
void tut::LLMessageTemplateParserTestData::ensure_variable_attributes | ( | std::string | identifier, | |
const LLMessageBlock * | block, | |||
const char * | name, | |||
EMsgVariableType | type, | |||
S32 | size | |||
) | [inline] |
Definition at line 78 of file llmessagetemplateparser_tut.cpp.
References tut::ensure_equals(), LLMessageVariable::getName(), LLMessageVariable::getSize(), LLMessageVariable::getType(), LLMessageBlock::getVariable(), LLMessageBlock::mName, NULL, and prehash().
char* tut::LLMessageTemplateParserTestData::prehash | ( | const char * | name | ) | [inline] |
Definition at line 57 of file llmessagetemplateparser_tut.cpp.
References LLMessageStringTable::getString(), and gMessageStringTable.
Referenced by ensure_block_attributes(), and ensure_variable_attributes().
std::string tut::LLMessageTemplateParserTestData::mMessage |