#include <llstringtable.h>
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] |
Definition at line 151 of file llstringtable.h.
References cleanup(), and mStringList.

| 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::lookup | ( | const std::string & | s | ) | [inline] |
Definition at line 170 of file llstringtable.h.
References makehash().
Referenced by checkString(), and insert().


| LLStdStringHandle LLStdStringTable::checkString | ( | const std::string & | s | ) | [inline] |
Definition at line 176 of file llstringtable.h.
References lookup(), and makehash().
Referenced by LLXmlTreeNode::getChildByName().


| 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::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().


| U32 LLStdStringTable::makehash | ( | const std::string & | s | ) | [inline, private] |
Definition at line 199 of file llstringtable.h.
References i, mTableSize, and S32.
Referenced by checkString(), insert(), and lookup().

| LLStdStringHandle LLStdStringTable::lookup | ( | U32 | hashval, | |
| const std::string & | s | |||
| ) | [inline, private] |
Definition at line 210 of file llstringtable.h.
References indra::ipc::xml_rpc::handle(), mStringList, and NULL.

S32 LLStdStringTable::mTableSize [private] |
Definition at line 226 of file llstringtable.h.
Referenced by cleanup(), LLStdStringTable(), and makehash().
string_set_t* LLStdStringTable::mStringList [private] |
Definition at line 228 of file llstringtable.h.
Referenced by cleanup(), insert(), LLStdStringTable(), lookup(), and ~LLStdStringTable().
1.5.5