The Nebula Device 3: Util::GlobalStringAtomTable Class Reference

The Nebula Device 3

Util::GlobalStringAtomTable Class Reference

#include <globalstringatomtable.h>

Inheritance diagram for Util::GlobalStringAtomTable:

Util::StringAtomTableBase

Detailed Description

Global string atom table. This is the definitive string atom table which contains the string of all string atoms of all threads. Locking is necessary to lookup or add a string (that's why thread-local string atom tables exist as local cache to prevent too much locking of the global table).

(C) 2009 Radon Labs GmbH

Public Member Functions

 GlobalStringAtomTable ()
 constructor
 ~GlobalStringAtomTable ()
 destructor
StringBufferGetGlobalStringBuffer () const
 get pointer to global string buffer
DebugInfo GetDebugInfo () const
 debug functionality: get copy of the string atom table

Protected Member Functions

const char * Find (const char *str) const
 find a string pointer in the atom table

Data Structures

struct  DebugInfo
 debug functionality: DebugInfo struct More...

Member Function Documentation

GlobalStringAtomTable::DebugInfo Util::GlobalStringAtomTable::GetDebugInfo (  )  const

debug functionality: get copy of the string atom table

Debug method: get an array with all string in the table.