|
Nebula
|
#include <localstringatomtable.h>
Implements a thread-local string atom table which is used as a cache to prevent excessive locking when creating string atoms.
Inherits Util::StringAtomTableBase.
Public Member Functions | |
| LocalStringAtomTable () | |
| constructor | |
| ~LocalStringAtomTable () | |
| destructor | |
Public Member Functions inherited from Util::StringAtomTableBase | |
| StringAtomTableBase () | |
| constructor | |
| ~StringAtomTableBase () | |
| destructor | |
Private Member Functions | |
| __DeclareSingleton (LocalStringAtomTable) | |
| void | Add (const char *str) |
| add a string pointer to the atom table | |
Friends | |
| class | StringAtom |
Additional Inherited Members | |
Protected Member Functions inherited from Util::StringAtomTableBase | |
| const char * | Find (const char *str) const |
| find a string pointer in the atom table | |
Protected Attributes inherited from Util::StringAtomTableBase | |
| Util::Array< StaticString > | table |
| Util::LocalStringAtomTable::LocalStringAtomTable | ( | ) |
constructor
| Util::LocalStringAtomTable::~LocalStringAtomTable | ( | ) |
destructor
|
private |
|
private |
add a string pointer to the atom table
NOTE: the string added here must already be located in the global string buffer (see GlobalStringAtomTable for details).
|
friend |