tut::LLMessageTemplateParserTestData Struct Reference

Collaboration diagram for tut::LLMessageTemplateParserTestData:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 39 of file llmessagetemplateparser_tut.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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


Member Data Documentation

std::string tut::LLMessageTemplateParserTestData::mMessage

Definition at line 94 of file llmessagetemplateparser_tut.cpp.

Referenced by ensure_next().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 1 06:12:07 2010 for Second Life Viewer by  doxygen 1.4.7