LLMessageConfigFile Class Reference

Inheritance diagram for LLMessageConfigFile:

Inheritance graph
[legend]
Collaboration diagram for LLMessageConfigFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLMessageConfigFile ()
void loadFile ()
void loadServerDefaults (const LLSD &data)
void loadMaxQueuedEvents (const LLSD &data)
void loadMessages (const LLSD &data)
void loadCapBans (const LLSD &blacklist)
void loadMessageBans (const LLSD &blacklist)
bool isCapBanned (const std::string &cap_name) const

Static Public Member Functions

static std::string filename ()
static LLMessageConfigFileinstance ()

Public Attributes

LLSD mMessages
std::string mServerDefault
LLSD mCapBans
S32 mMaxQueuedEvents


Detailed Description

Definition at line 52 of file llmessageconfig.cpp.


Constructor & Destructor Documentation

LLMessageConfigFile::LLMessageConfigFile (  )  [inline]

Definition at line 55 of file llmessageconfig.cpp.


Member Function Documentation

std::string LLMessageConfigFile::filename (  )  [static]

Definition at line 80 of file llmessageconfig.cpp.

References messageConfigFileName, and sConfigDir.

Referenced by loadFile().

Here is the caller graph for this function:

LLMessageConfigFile & LLMessageConfigFile::instance (  )  [static]

void LLMessageConfigFile::loadFile (  )  [virtual]

void LLMessageConfigFile::loadServerDefaults ( const LLSD data  ) 

Definition at line 123 of file llmessageconfig.cpp.

References LLSD::asString(), mServerDefault, and sServerName.

Referenced by loadFile(), and LLMessageConfig::useConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMessageConfigFile::loadMaxQueuedEvents ( const LLSD data  ) 

Definition at line 129 of file llmessageconfig.cpp.

References LLSD::asInteger(), DEFAULT_MAX_QUEUED_EVENTS, LLSD::has(), and mMaxQueuedEvents.

Referenced by loadFile(), and LLMessageConfig::useConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMessageConfigFile::loadMessages ( const LLSD data  ) 

Definition at line 141 of file llmessageconfig.cpp.

References LLSDXMLFormatter::format(), llendl, llinfos, mMessages, and LLSD::size().

Referenced by loadFile(), and LLMessageConfig::useConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMessageConfigFile::loadCapBans ( const LLSD blacklist  ) 

Definition at line 155 of file llmessageconfig.cpp.

References LLSD::isMap(), LL_DEBUGS, LL_ENDL, LL_INFOS, mCapBans, and LLSD::size().

Referenced by loadFile(), and LLMessageConfig::useConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMessageConfigFile::loadMessageBans ( const LLSD blacklist  ) 

Definition at line 171 of file llmessageconfig.cpp.

References gMessageSystem, LLSD::isMap(), LL_ENDL, LL_INFOS, and LLMessageSystem::setMessageBans().

Referenced by loadFile(), and LLMessageConfig::useConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLMessageConfigFile::isCapBanned ( const std::string &  cap_name  )  const

Definition at line 184 of file llmessageconfig.cpp.

References lldebugs, llendl, and mCapBans.

Referenced by LLMessageConfig::isCapBanned().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 76 of file llmessageconfig.cpp.

Referenced by isCapBanned(), and loadCapBans().

Definition at line 77 of file llmessageconfig.cpp.

Referenced by LLMessageConfig::getMaxQueuedEvents(), and loadMaxQueuedEvents().


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

Generated on Fri May 16 08:53:06 2008 for SecondLife by  doxygen 1.5.5