openMSX
|
Non-templatized base class of StringMap<T>. More...
#include <StringMap.hh>
Public Member Functions | |
unsigned | getNumBuckets () const |
bool | empty () const |
unsigned | size () const |
Static Public Member Functions | |
static StringMapEntryBase * | getTombstoneVal () |
Protected Member Functions | |
StringMapImpl (unsigned itemSize, unsigned initSize) | |
~StringMapImpl () | |
void | rehashTable () |
void | init (unsigned size) |
unsigned * | getHashTable () const |
Protected Attributes | |
StringMapEntryBase ** | theTable |
unsigned | numBuckets |
unsigned | numItems |
unsigned | numTombstones |
const unsigned | itemSize |
Non-templatized base class of StringMap<T>.
Definition at line 55 of file StringMap.hh.
|
protected |
Definition at line 5 of file StringMap.cc.
References init(), numBuckets, numItems, numTombstones, and theTable.
|
inlineprotected |
Definition at line 68 of file StringMap.hh.
References theTable.
|
inline |
Definition at line 63 of file StringMap.hh.
References numItems.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::clear(), and openmsx::RomDatabase::RomDatabase().
|
inlineprotected |
Definition at line 75 of file StringMap.hh.
References numBuckets, and theTable.
Referenced by rehashTable().
|
inline |
Definition at line 62 of file StringMap.hh.
References numBuckets.
|
inlinestatic |
Definition at line 58 of file StringMap.hh.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::clear(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::getOrCreateValue(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::insert(), and rehashTable().
|
protected |
Definition at line 20 of file StringMap.cc.
References numBuckets, numItems, numTombstones, theTable, and unlikely.
Referenced by StringMapImpl().
|
protected |
Definition at line 40 of file StringMap.cc.
References getHashTable(), getTombstoneVal(), numBuckets, numItems, numTombstones, theTable, and unlikely.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::getOrCreateValue(), and StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::insert().
|
inline |
Definition at line 64 of file StringMap.hh.
References numItems.
|
protected |
Definition at line 86 of file StringMap.hh.
|
protected |
Definition at line 83 of file StringMap.hh.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::begin(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::clear(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::end(), getHashTable(), getNumBuckets(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::getOrCreateValue(), init(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::insert(), rehashTable(), and StringMapImpl().
|
protected |
Definition at line 84 of file StringMap.hh.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::clear(), empty(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::getOrCreateValue(), init(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::insert(), rehashTable(), size(), and StringMapImpl().
|
protected |
Definition at line 85 of file StringMap.hh.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::clear(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::getOrCreateValue(), init(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::insert(), rehashTable(), and StringMapImpl().
|
protected |
Definition at line 82 of file StringMap.hh.
Referenced by StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::begin(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::clear(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::end(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::find(), getHashTable(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::getOrCreateValue(), init(), StringMap< std::unique_ptr< openmsx::PolymorphicLoaderBase< Archive > > >::insert(), rehashTable(), StringMapImpl(), and ~StringMapImpl().