LLStdStringTable Class Reference

#include <llstringtable.h>

List of all members.

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_tmStringList


Detailed Description

Definition at line 127 of file llstringtable.h.


Member Typedef Documentation

Definition at line 227 of file llstringtable.h.


Constructor & Destructor Documentation

LLStdStringTable::LLStdStringTable ( S32  tablesize = 0  )  [inline]

Definition at line 130 of file llstringtable.h.

References i, mStringList, mTableSize, and S32.

LLStdStringTable::~LLStdStringTable (  )  [inline]

Definition at line 151 of file llstringtable.h.

References cleanup(), and mStringList.

Here is the call graph for this function:


Member Function Documentation

void LLStdStringTable::cleanup (  )  [inline]

Definition at line 156 of file llstringtable.h.

References i, mStringList, mTableSize, and S32.

Referenced by LLXmlTree::cleanup(), and ~LLStdStringTable().

Here is the caller graph for this function:

LLStdStringHandle LLStdStringTable::lookup ( const std::string &  s  )  [inline]

Definition at line 170 of file llstringtable.h.

References makehash().

Referenced by checkString(), and insert().

Here is the call graph for this function:

Here is the caller graph for this function:

LLStdStringHandle LLStdStringTable::checkString ( const std::string &  s  )  [inline]

Definition at line 176 of file llstringtable.h.

References lookup(), and makehash().

Referenced by LLXmlTreeNode::getChildByName().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

LLStdStringHandle LLStdStringTable::addString ( const std::string &  s  )  [inline]

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

Here is the caller graph for this function:

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.

Here is the call graph for this function:


Member Data Documentation

Definition at line 226 of file llstringtable.h.

Referenced by cleanup(), LLStdStringTable(), and makehash().

Definition at line 228 of file llstringtable.h.

Referenced by cleanup(), insert(), LLStdStringTable(), lookup(), and ~LLStdStringTable().


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

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