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

| Public Member Functions | |
| LLStdStringTable (S32 tablesize=0) | |
| ~LLStdStringTable () | |
| void | cleanup () | 
| LLStdStringHandle | lookup (const std::string &s) | 
| LLStdStringHandle | checkString (const std::string &s) | 
| LLStdStringHandle | insert (const std::string &s) | 
| LLStdStringHandle | addString (const std::string &s) | 
| Private Types | |
| typedef std::set< LLStdStringHandle, compare_pointer_contents< std::string > > | string_set_t | 
| Private Member Functions | |
| U32 | makehash (const std::string &s) | 
| LLStdStringHandle | lookup (U32 hashval, const std::string &s) | 
| Private Attributes | |
| S32 | mTableSize | 
| string_set_t * | mStringList | 
Definition at line 127 of file llstringtable.h.
| typedef std::set<LLStdStringHandle, compare_pointer_contents<std::string> > LLStdStringTable::string_set_t  [private] | 
Definition at line 227 of file llstringtable.h.
| LLStdStringTable::LLStdStringTable | ( | S32 | tablesize = 0 | ) |  [inline] | 
| LLStdStringTable::~LLStdStringTable | ( | ) |  [inline] | 
| LLStdStringHandle LLStdStringTable::addString | ( | const std::string & | s | ) |  [inline] | 
Definition at line 193 of file llstringtable.h.
References insert().
Referenced by LLXmlTreeNode::addAttribute(), LLXmlTree::addAttributeString(), LLXmlTreeNode::getAttributeBOOL(), LLXmlTreeNode::getAttributeColor(), LLXmlTreeNode::getAttributeColor4(), LLXmlTreeNode::getAttributeColor4U(), LLXmlTreeNode::getAttributeF32(), LLXmlTreeNode::getAttributeF64(), LLXmlTreeNode::getAttributeQuat(), LLXmlTreeNode::getAttributeS16(), LLXmlTreeNode::getAttributeS32(), LLXmlTreeNode::getAttributeS8(), LLXmlTreeNode::getAttributeString(), LLXmlTreeNode::getAttributeU16(), LLXmlTreeNode::getAttributeU32(), LLXmlTreeNode::getAttributeU8(), LLXmlTreeNode::getAttributeUUID(), LLXmlTreeNode::getAttributeVector3(), LLXmlTreeNode::getAttributeVector3d(), and LLXmlTreeNode::hasAttribute().
| LLStdStringHandle LLStdStringTable::checkString | ( | const std::string & | s | ) |  [inline] | 
Definition at line 176 of file llstringtable.h.
References lookup(), and makehash().
Referenced by LLXmlTreeNode::getChildByName().
| void LLStdStringTable::cleanup | ( | ) |  [inline] | 
Definition at line 156 of file llstringtable.h.
References i, mStringList, mTableSize, and S32.
Referenced by LLXmlTree::cleanup(), and ~LLStdStringTable().
| LLStdStringHandle LLStdStringTable::insert | ( | const std::string & | s | ) |  [inline] | 
Definition at line 182 of file llstringtable.h.
References lookup(), makehash(), mStringList, and NULL.
Referenced by LLXmlTreeNode::addChild(), and addString().
| LLStdStringHandle LLStdStringTable::lookup | ( | U32 | hashval, | |
| const std::string & | s | |||
| ) |  [inline, private] | 
| LLStdStringHandle LLStdStringTable::lookup | ( | const std::string & | s | ) |  [inline] | 
Definition at line 170 of file llstringtable.h.
References makehash().
Referenced by checkString(), and insert().
| U32 LLStdStringTable::makehash | ( | const std::string & | s | ) |  [inline, private] | 
Definition at line 199 of file llstringtable.h.
References c, i, mTableSize, and S32.
Referenced by checkString(), insert(), and lookup().
| string_set_t* LLStdStringTable::mStringList  [private] | 
Definition at line 228 of file llstringtable.h.
Referenced by cleanup(), insert(), LLStdStringTable(), lookup(), and ~LLStdStringTable().
| S32 LLStdStringTable::mTableSize  [private] | 
Definition at line 226 of file llstringtable.h.
Referenced by cleanup(), LLStdStringTable(), and makehash().
 1.4.7
 1.4.7