|
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) | |
| unsigned | lookupBucketFor (string_ref key) |
| int | findKey (string_ref key) const |
| void | removeKey (StringMapEntryBase *V) |
| StringMapEntryBase * | removeKey (string_ref key) |
| void | rehashTable () |
Protected Attributes | |
| StringMapEntryBase ** | theTable |
| unsigned | numBuckets |
| unsigned | numItems |
| unsigned | numTombstones |
Non-templatized base class of StringMap<T>.
Definition at line 55 of file StringMap.hh.
|
explicitprotected |
Definition at line 17 of file StringMap.cc.
References numBuckets, numItems, numTombstones, and theTable.
|
inline |
Definition at line 63 of file StringMap.hh.
References numItems.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::clear(), openmsx::RomDatabase::RomDatabase(), openmsx::Debugger::~Debugger(), openmsx::GlobalCommandController::~GlobalCommandController(), openmsx::InfoCommand::~InfoCommand(), and openmsx::SettingsManager::~SettingsManager().
|
protected |
Definition at line 97 of file StringMap.cc.
References StringMapEntryBase::getKeyLength(), getTombstoneVal(), numBuckets, and theTable.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::find(), and removeKey().
|
inline |
Definition at line 62 of file StringMap.hh.
References numBuckets.
|
inlinestatic |
Definition at line 58 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::clear(), findKey(), StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), StringMap< MSXMotherBoard::SharedStuff >::insert(), lookupBucketFor(), rehashTable(), and removeKey().
|
protected |
Definition at line 52 of file StringMap.cc.
References StringMapEntryBase::getKeyLength(), getTombstoneVal(), numBuckets, and theTable.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), and StringMap< MSXMotherBoard::SharedStuff >::insert().
|
protected |
Definition at line 146 of file StringMap.cc.
References getTombstoneVal(), numBuckets, numItems, numTombstones, theTable, and unlikely.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), and StringMap< MSXMotherBoard::SharedStuff >::insert().
|
protected |
Definition at line 126 of file StringMap.cc.
References StringMapEntryBase::getKeyLength().
Referenced by StringMap< MSXMotherBoard::SharedStuff >::remove().
|
protected |
Definition at line 133 of file StringMap.cc.
References findKey(), getTombstoneVal(), numBuckets, numItems, numTombstones, and theTable.
|
inline |
Definition at line 64 of file StringMap.hh.
References numItems.
|
protected |
Definition at line 104 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::begin(), StringMap< MSXMotherBoard::SharedStuff >::clear(), StringMap< MSXMotherBoard::SharedStuff >::end(), findKey(), getNumBuckets(), StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), StringMap< MSXMotherBoard::SharedStuff >::insert(), lookupBucketFor(), rehashTable(), removeKey(), and StringMapImpl().
|
protected |
Definition at line 105 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::clear(), empty(), StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), StringMap< MSXMotherBoard::SharedStuff >::insert(), rehashTable(), removeKey(), size(), and StringMapImpl().
|
protected |
Definition at line 106 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::clear(), StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), StringMap< MSXMotherBoard::SharedStuff >::insert(), rehashTable(), removeKey(), and StringMapImpl().
|
protected |
Definition at line 103 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::begin(), StringMap< MSXMotherBoard::SharedStuff >::clear(), StringMap< MSXMotherBoard::SharedStuff >::end(), StringMap< MSXMotherBoard::SharedStuff >::find(), findKey(), StringMap< MSXMotherBoard::SharedStuff >::getOrCreateValue(), StringMap< MSXMotherBoard::SharedStuff >::insert(), lookupBucketFor(), rehashTable(), removeKey(), StringMapImpl(), and StringMap< MSXMotherBoard::SharedStuff >::~StringMap().
1.8.1.2