|
openMSX
|
#include <StringMap.hh>


Public Types | |
| typedef const char * | key_type |
| typedef T | mapped_type |
| typedef StringMapEntry< T > | value_type |
| typedef size_t | size_type |
| typedef StringMapConstIterator< T > | const_iterator |
| typedef StringMapIterator< T > | iterator |
Public Member Functions | |
| StringMap (unsigned initialSize=0) | |
| ~StringMap () | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| iterator | find (string_ref key) |
| const_iterator | find (string_ref key) const |
| T | lookup (string_ref key) const |
| T & | operator[] (string_ref key) |
| size_type | count (string_ref key) const |
| bool | insert (value_type *keyValue) |
| void | clear () |
| value_type & | getOrCreateValue (string_ref key, T val=T()) |
| void | remove (value_type *keyValue) |
| void | erase (iterator i) |
| bool | erase (string_ref key) |
Public Member Functions inherited from StringMapImpl | |
| unsigned | getNumBuckets () const |
| bool | empty () const |
| unsigned | size () const |
Additional Inherited Members | |
Static Public Member Functions inherited from StringMapImpl | |
| static StringMapEntryBase * | getTombstoneVal () |
Protected Member Functions inherited from StringMapImpl | |
| 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 inherited from StringMapImpl | |
| StringMapEntryBase ** | theTable |
| unsigned | numBuckets |
| unsigned | numItems |
| unsigned | numTombstones |
Definition at line 194 of file StringMap.hh.
| typedef StringMapConstIterator<T> StringMap< T >::const_iterator |
Definition at line 201 of file StringMap.hh.
| typedef StringMapIterator<T> StringMap< T >::iterator |
Definition at line 202 of file StringMap.hh.
Definition at line 197 of file StringMap.hh.
| typedef T StringMap< T >::mapped_type |
Definition at line 198 of file StringMap.hh.
Definition at line 200 of file StringMap.hh.
| typedef StringMapEntry<T> StringMap< T >::value_type |
Definition at line 199 of file StringMap.hh.
Definition at line 204 of file StringMap.hh.
Definition at line 207 of file StringMap.hh.
Definition at line 212 of file StringMap.hh.
|
inline |
Definition at line 215 of file StringMap.hh.
|
inline |
Definition at line 274 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::~StringMap().
|
inline |
Definition at line 248 of file StringMap.hh.
Definition at line 218 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::count(), StringMap< MSXMotherBoard::SharedStuff >::erase(), openmsx::HelpCmd::execute(), StringMap< MSXMotherBoard::SharedStuff >::find(), openmsx::MSXCommandController::findCommand(), openmsx::Debugger::findDebuggable(), openmsx::Debugger::findProbe(), openmsx::SettingsManager::findSetting(), openmsx::MSXCommandController::findSetting(), openmsx::OSDWidget::findSubWidget(), openmsx::SettingsManager::getByName(), openmsx::GlobalCommandController::hasCommand(), StringMap< MSXMotherBoard::SharedStuff >::lookup(), openmsx::Interpreter::registerCommand(), openmsx::GlobalCommandController::registerCommand(), openmsx::GlobalCommandController::registerCompleter(), openmsx::Debugger::registerDebuggable(), openmsx::Debugger::registerProbe(), openmsx::SettingsManager::registerSetting(), openmsx::InfoCommand::registerTopic(), openmsx::SetCompleter::tabCompletion(), openmsx::Interpreter::unregisterCommand(), openmsx::GlobalCommandController::unregisterCommand(), openmsx::GlobalCommandController::unregisterCompleter(), openmsx::Debugger::unregisterDebuggable(), openmsx::Debugger::unregisterProbe(), openmsx::SettingsManager::unregisterSetting(), and openmsx::InfoCommand::unregisterTopic().
|
inline |
Definition at line 221 of file StringMap.hh.
Definition at line 323 of file StringMap.hh.
Referenced by openmsx::OSDWidget::deleteWidget(), StringMap< MSXMotherBoard::SharedStuff >::erase(), openmsx::Interpreter::unregisterCommand(), openmsx::MSXCommandController::unregisterCommand(), openmsx::GlobalCommandController::unregisterCommand(), openmsx::GlobalCommandController::unregisterCompleter(), openmsx::Debugger::unregisterDebuggable(), openmsx::Debugger::unregisterProbe(), openmsx::SettingsManager::unregisterSetting(), openmsx::MSXCommandController::unregisterSetting(), and openmsx::InfoCommand::unregisterTopic().
|
inline |
Definition at line 329 of file StringMap.hh.
|
inline |
Definition at line 225 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::count(), StringMap< MSXMotherBoard::SharedStuff >::erase(), openmsx::HelpCmd::execute(), openmsx::MSXCommandController::findCommand(), openmsx::Debugger::findDebuggable(), openmsx::Debugger::findProbe(), openmsx::SettingsManager::findSetting(), openmsx::MSXCommandController::findSetting(), openmsx::OSDWidget::findSubWidget(), openmsx::SettingsManager::getByName(), openmsx::GlobalCommandController::hasCommand(), StringMap< MSXMotherBoard::SharedStuff >::lookup(), openmsx::Interpreter::registerCommand(), openmsx::GlobalCommandController::registerCommand(), openmsx::GlobalCommandController::registerCompleter(), openmsx::Debugger::registerDebuggable(), openmsx::Debugger::registerProbe(), openmsx::SettingsManager::registerSetting(), openmsx::InfoCommand::registerTopic(), openmsx::SetCompleter::tabCompletion(), openmsx::Interpreter::unregisterCommand(), openmsx::GlobalCommandController::unregisterCommand(), openmsx::GlobalCommandController::unregisterCompleter(), openmsx::Debugger::unregisterDebuggable(), openmsx::Debugger::unregisterProbe(), openmsx::SettingsManager::unregisterSetting(), openmsx::InfoCommand::unregisterTopic(), openmsx::MSXCliComm::update(), and openmsx::GlobalCliComm::update().
|
inline |
Definition at line 230 of file StringMap.hh.
|
inline |
Definition at line 295 of file StringMap.hh.
Referenced by StringMap< MSXMotherBoard::SharedStuff >::operator[]().
|
inline |
Definition at line 255 of file StringMap.hh.
Referenced by openmsx::HelpOption::parseOption().
|
inline |
Definition at line 238 of file StringMap.hh.
|
inline |
Definition at line 244 of file StringMap.hh.
|
inline |
Definition at line 319 of file StringMap.hh.
1.8.1.2