#include <llmessagetemplate.h>
Definition at line 271 of file llmessagetemplate.h.
typedef LLDynamicArrayIndexed<LLMessageBlock*, char*, 8> LLMessageTemplate::message_block_map_t |
Definition at line 392 of file llmessagetemplate.h.
LLMessageTemplate::LLMessageTemplate | ( | const char * | name, | |
U32 | message_number, | |||
EMsgFrequency | freq | |||
) | [inline] |
Definition at line 274 of file llmessagetemplate.h.
References LLSingleton< LLMessageStringTable >::getInstance(), LLMessageStringTable::getString(), and mName.
LLMessageTemplate::~LLMessageTemplate | ( | ) | [inline] |
Definition at line 299 of file llmessagetemplate.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::begin(), LLDynamicArrayIndexed< Type, Key, BlockSize >::end(), and mMemberBlocks.
void LLMessageTemplate::addBlock | ( | LLMessageBlock * | blockp | ) | [inline] |
Definition at line 304 of file llmessagetemplate.h.
References llendl, llerrs, MBT_MULTIPLE, MBT_SINGLE, mMemberBlocks, LLMessageBlock::mName, LLMessageBlock::mNumber, LLMessageBlock::mTotalSize, mTotalSize, LLMessageBlock::mType, and NULL.
Referenced by LLTemplateParser::parseMessage().
LLMessageBlock* LLMessageTemplate::getBlock | ( | char * | name | ) | [inline] |
Definition at line 326 of file llmessagetemplate.h.
References mMemberBlocks.
Referenced by LLTemplateMessageBuilder::addData(), tut::LLMessageTemplateParserTestData::ensure_block_attributes(), LLTemplateMessageBuilder::isMessageFull(), LLTemplateMessageBuilder::nextBlock(), and LLTemplateMessageBuilder::removeLastBlock().
void LLMessageTemplate::setTrust | ( | EMsgTrust | t | ) | [inline] |
Definition at line 332 of file llmessagetemplate.h.
References mTrust.
Referenced by LLTemplateParser::parseMessage().
EMsgTrust LLMessageTemplate::getTrust | ( | void | ) | const [inline] |
Definition at line 337 of file llmessagetemplate.h.
References mTrust.
Referenced by LLTemplateMessageReader::isTrusted().
void LLMessageTemplate::setEncoding | ( | EMsgEncoding | e | ) | [inline] |
Definition at line 343 of file llmessagetemplate.h.
References mEncoding.
Referenced by LLTemplateParser::parseMessage().
EMsgEncoding LLMessageTemplate::getEncoding | ( | ) | const [inline] |
Definition at line 347 of file llmessagetemplate.h.
References mEncoding.
Referenced by LLTemplateMessageBuilder::compressMessage().
void LLMessageTemplate::setDeprecation | ( | EMsgDeprecation | d | ) | [inline] |
Definition at line 352 of file llmessagetemplate.h.
References mDeprecation.
Referenced by LLTemplateParser::parseMessage().
EMsgDeprecation LLMessageTemplate::getDeprecation | ( | ) | const [inline] |
Definition at line 357 of file llmessagetemplate.h.
References mDeprecation.
Referenced by LLTemplateMessageBuilder::newMessage().
void LLMessageTemplate::setHandlerFunc | ( | void(*)(LLMessageSystem *msgsystem, void **user_data) | handler_func, | |
void ** | user_data | |||
) | [inline] |
Definition at line 362 of file llmessagetemplate.h.
References mHandlerFunc, and mUserData.
Referenced by LLMessageSystem::setHandlerFuncFast().
BOOL LLMessageTemplate::callHandlerFunc | ( | LLMessageSystem * | msgsystem | ) | const [inline] |
Definition at line 368 of file llmessagetemplate.h.
References FALSE, mHandlerFunc, mUserData, and TRUE.
Referenced by LLMessageSystem::callHandler(), and LLTemplateMessageReader::decodeData().
bool LLMessageTemplate::isBanned | ( | bool | trustedSource | ) | const [inline] |
Definition at line 378 of file llmessagetemplate.h.
References mBanFromTrusted, and mBanFromUntrusted.
Referenced by LLMessageSystem::callHandler(), and LLTemplateMessageReader::isBanned().
const LLMessageBlock* LLMessageTemplate::getBlock | ( | char * | name | ) | const [inline] |
Definition at line 385 of file llmessagetemplate.h.
References LLDynamicArrayIndexed< Type, Key, BlockSize >::end(), LLDynamicArrayIndexed< Type, Key, BlockSize >::find(), mMemberBlocks, and NULL.
std::ostream& operator<< | ( | std::ostream & | s, | |
LLMessageTemplate & | msg | |||
) | [friend] |
Definition at line 137 of file llmessagetemplate.cpp.
Definition at line 393 of file llmessagetemplate.h.
Referenced by addBlock(), LLTemplateMessageBuilder::buildMessage(), LLTemplateMessageReader::decodeData(), getBlock(), LLTemplateMessageReader::getSize(), LLTemplateMessageBuilder::newMessage(), operator<<(), and ~LLMessageTemplate().
char* LLMessageTemplate::mName |
Definition at line 394 of file llmessagetemplate.h.
Referenced by LLTemplateMessageBuilder::addData(), LLMessageSystem::addTemplate(), LLTemplateMessageReader::decodeData(), LLMessageSystem::dumpReceiveCounts(), tut::LLMessageTemplateParserTestData::ensure_block_attributes(), LLTemplateMessageReader::getMessageName(), LLMessageTemplate(), LLTemplateMessageReader::logRanOffEndOfPacket(), LLTemplateMessageBuilder::nextBlock(), operator<<(), LLMessageSystem::setMessageBans(), and LLMessageSystem::summarizeLogs().
Definition at line 395 of file llmessagetemplate.h.
Referenced by LLTemplateMessageBuilder::buildMessage(), LLTemplateMessageReader::decodeData(), and operator<<().
Definition at line 398 of file llmessagetemplate.h.
Referenced by getDeprecation(), and setDeprecation().
Definition at line 399 of file llmessagetemplate.h.
Referenced by LLMessageSystem::addTemplate(), LLTemplateMessageBuilder::buildMessage(), and operator<<().
Definition at line 401 of file llmessagetemplate.h.
Referenced by LLMessageSystem::dumpReceiveCounts(), and LLTemplateMessageReader::validateMessage().
Definition at line 402 of file llmessagetemplate.h.
Referenced by LLMessageSystem::dumpReceiveCounts().
Definition at line 403 of file llmessagetemplate.h.
Referenced by LLMessageSystem::dumpReceiveCounts().
Definition at line 404 of file llmessagetemplate.h.
Referenced by LLTemplateMessageReader::decodeData(), LLMessageSystem::dumpReceiveCounts(), and LLMessageSystem::resetReceiveCounts().
Definition at line 405 of file llmessagetemplate.h.
Referenced by LLTemplateMessageReader::decodeData(), and LLMessageSystem::summarizeLogs().
Definition at line 406 of file llmessagetemplate.h.
Referenced by LLTemplateMessageReader::decodeData(), and LLMessageSystem::summarizeLogs().
Definition at line 407 of file llmessagetemplate.h.
Referenced by LLTemplateMessageReader::decodeData(), and LLMessageSystem::summarizeLogs().
Definition at line 409 of file llmessagetemplate.h.
Referenced by isBanned(), and LLMessageSystem::setMessageBans().
Definition at line 410 of file llmessagetemplate.h.
Referenced by isBanned(), and LLMessageSystem::setMessageBans().
void(* LLMessageTemplate::mHandlerFunc)(LLMessageSystem *msgsystem, void **user_data) [private] |
Referenced by callHandlerFunc(), and setHandlerFunc().
void** LLMessageTemplate::mUserData [private] |
Definition at line 415 of file llmessagetemplate.h.
Referenced by callHandlerFunc(), and setHandlerFunc().