#include <llstringtable.h>
Collaboration diagram for LLStringTable:

| Public Types | |
| typedef std::list< LLStringTableEntry * > | string_list_t | 
| typedef string_list_t * | string_list_ptr_t | 
| Public Member Functions | |
| LLStringTable (int tablesize) | |
| ~LLStringTable () | |
| char * | checkString (const char *str) | 
| char * | checkString (const std::string &str) | 
| LLStringTableEntry * | checkStringEntry (const char *str) | 
| LLStringTableEntry * | checkStringEntry (const std::string &str) | 
| char * | addString (const char *str) | 
| char * | addString (const std::string &str) | 
| LLStringTableEntry * | addStringEntry (const char *str) | 
| LLStringTableEntry * | addStringEntry (const std::string &str) | 
| void | removeString (const char *str) | 
| Public Attributes | |
| S32 | mMaxEntries | 
| S32 | mUniqueEntries | 
| string_list_ptr_t * | mStringList | 
Definition at line 83 of file llstringtable.h.
Definition at line 112 of file llstringtable.h.
Definition at line 111 of file llstringtable.h.
| 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.
| char * LLStringTable::addString | ( | const std::string & | str | ) | 
| char * LLStringTable::addString | ( | const char * | str | ) | 
Definition at line 193 of file llstringtable.cpp.
References addStringEntry(), LLStringTableEntry::mString, and NULL.
Referenced by add_use_callback(), LLScriptScope::addEntry(), LLNameTable< DATA >::addEntry(), LLScriptJumpTable::addJump(), LLScriptJumpTable::addLabel(), addString(), LLCharacter::addVisualParam(), LLScriptScope::checkEntry(), LLNameTable< DATA >::checkName(), LLScriptScope::findEntry(), LLScriptScope::findEntryTyped(), LLTexStaticImageList::getImageGL(), LLTexStaticImageList::getImageTGA(), LLViewerObject::getNVPair(), LLNameValue::init(), LLAnimationLibrary::LLAnimationLibrary(), LLNameValue::LLNameValue(), LLViewerObject::removeNVPair(), and LLNameTable< DATA >::resolveName().
| LLStringTableEntry * LLStringTable::addStringEntry | ( | const std::string & | str | ) | 
| 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().
| char * LLStringTable::checkString | ( | const std::string & | str | ) | 
| 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().
| LLStringTableEntry * LLStringTable::checkStringEntry | ( | const std::string & | str | ) | 
| LLStringTableEntry * LLStringTable::checkStringEntry | ( | const char * | str | ) | 
Definition at line 142 of file llstringtable.cpp.
References hash_my_string(), MAX_STRINGS_LENGTH, mMaxEntries, LLStringTableEntry::mString, mStringList, and NULL.
Referenced by checkString(), checkStringEntry(), LLXMLNode::findName(), LLXMLNode::getAttribute(), LLXMLNode::getChild(), LLXMLNode::getChildren(), LLXMLNode::hasName(), and LLXMLNode::setAttributeString().
| 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().
Definition at line 100 of file llstringtable.h.
Referenced by addStringEntry(), checkStringEntry(), LLStringTable(), removeString(), and ~LLStringTable().
Definition at line 113 of file llstringtable.h.
Referenced by addStringEntry(), checkStringEntry(), LLStringTable(), removeString(), and ~LLStringTable().
 1.4.7
 1.4.7