LLStringTable Class Reference

#include <llstringtable.h>

List of all members.

Public Types

typedef std::list
< LLStringTableEntry * > 
string_list_t
typedef string_list_tstring_list_ptr_t

Public Member Functions

 LLStringTable (int tablesize)
 ~LLStringTable ()
char * checkString (const char *str)
char * checkString (const std::string &str)
LLStringTableEntrycheckStringEntry (const char *str)
LLStringTableEntrycheckStringEntry (const std::string &str)
char * addString (const char *str)
char * addString (const std::string &str)
LLStringTableEntryaddStringEntry (const char *str)
LLStringTableEntryaddStringEntry (const std::string &str)
void removeString (const char *str)

Public Attributes

S32 mMaxEntries
S32 mUniqueEntries
string_list_ptr_tmStringList


Detailed Description

Definition at line 83 of file llstringtable.h.


Member Typedef Documentation

Definition at line 111 of file llstringtable.h.

Definition at line 112 of file llstringtable.h.


Constructor & Destructor Documentation

LLStringTable::LLStringTable ( int  tablesize  ) 

Definition at line 40 of file llstringtable.cpp.

References i, mMaxEntries, mStringList, NULL, and S32.

LLStringTable::~LLStringTable (  ) 

Definition at line 71 of file llstringtable.cpp.

References i, mMaxEntries, mStringList, NULL, and S32.


Member Function Documentation

char * LLStringTable::checkString ( const char *  str  ) 

Definition at line 124 of file llstringtable.cpp.

References checkStringEntry(), LLStringTableEntry::mString, and NULL.

Referenced by checkString(), LLCharacter::getVisualParam(), LLCharacter::getVisualParamWeight(), LLCharacter::setVisualParamWeight(), and LLAnimationLibrary::stringToAnimState().

Here is the call graph for this function:

Here is the caller graph for this function:

char * LLStringTable::checkString ( const std::string &  str  ) 

Definition at line 119 of file llstringtable.cpp.

References checkString().

Here is the call graph for this function:

LLStringTableEntry * LLStringTable::checkStringEntry ( const char *  str  ) 

LLStringTableEntry * LLStringTable::checkStringEntry ( const std::string &  str  ) 

Definition at line 137 of file llstringtable.cpp.

References checkStringEntry().

Here is the call graph for this function:

char * LLStringTable::addString ( const char *  str  ) 

char * LLStringTable::addString ( const std::string &  str  ) 

Definition at line 187 of file llstringtable.cpp.

References addString().

Here is the call graph for this function:

LLStringTableEntry * LLStringTable::addStringEntry ( const char *  str  ) 

Definition at line 212 of file llstringtable.cpp.

References hash_my_string(), LLStringTableEntry::incCount(), MAX_STRINGS_LENGTH, mMaxEntries, LLStringTableEntry::mString, mStringList, mUniqueEntries, and NULL.

Referenced by addString(), addStringEntry(), LLXMLNode::createChild(), LLXMLNode::LLXMLNode(), and LLXMLNode::setName().

Here is the call graph for this function:

Here is the caller graph for this function:

LLStringTableEntry * LLStringTable::addStringEntry ( const std::string &  str  ) 

Definition at line 207 of file llstringtable.cpp.

References addStringEntry().

Here is the call graph for this function:

void LLStringTable::removeString ( const char *  str  ) 

Definition at line 280 of file llstringtable.cpp.

References LLStringTableEntry::decCount(), hash_my_string(), llerror, MAX_STRINGS_LENGTH, mMaxEntries, LLStringTableEntry::mString, mStringList, and mUniqueEntries.

Referenced by LLNameValue::~LLNameValue().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 101 of file llstringtable.h.

Referenced by addStringEntry(), and removeString().


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

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