#include <container.h>
|
static const V | null_value = V() |
|
static constexpr size_t | unknown = static_cast<size_t>(-1) |
|
◆ key_type
template<typename K , typename V >
◆ mapped_type
template<typename K , typename V >
◆ ModifySafeMap()
template<typename K , typename V >
◆ ~ModifySafeMap()
template<typename K , typename V >
◆ clear()
template<typename K , typename V >
◆ collect_garbage()
template<typename K , typename V >
◆ empty()
template<typename K , typename V >
◆ get()
template<typename K , typename V >
References ModifySafeMap< K, V >::m_iterating, ModifySafeMap< K, V >::m_new, ModifySafeMap< K, V >::m_values, and ModifySafeMap< K, V >::null_value.
Referenced by ActiveObjectMgr< T >::getActiveObject(), ActiveObjectMgr< T >::isFreeId(), TestDataStructures::testMap4(), and TestDataStructures::testMap5().
◆ iter()
template<typename K , typename V >
Referenced by ActiveObjectMgr< T >::clear(), server::ActiveObjectMgr::clearIf(), client::ActiveObjectMgr::getActiveObjects(), client::ActiveObjectMgr::getActiveSelectableObjects(), server::ActiveObjectMgr::getAddedActiveObjectsAroundPos(), server::ActiveObjectMgr::getObjectsInArea(), server::ActiveObjectMgr::getObjectsInsideRadius(), server::ActiveObjectMgr::invalidateActiveObjectObserverCaches(), client::ActiveObjectMgr::step(), server::ActiveObjectMgr::step(), TestDataStructures::testMap1(), TestDataStructures::testMap3(), TestDataStructures::testMap4(), and TestDataStructures::testMap5().
◆ merge_new()
template<typename K , typename V >
◆ put() [1/2]
template<typename K , typename V >
void ModifySafeMap< K, V >::put |
( |
const K & | key, |
|
|
const V & | value ) |
|
inline |
References ModifySafeMap< K, V >::m_garbage, ModifySafeMap< K, V >::m_iterating, ModifySafeMap< K, V >::m_new, and ModifySafeMap< K, V >::m_values.
Referenced by client::ActiveObjectMgr::registerObject(), server::ActiveObjectMgr::registerObject(), TestDataStructures::testMap1(), TestDataStructures::testMap2(), TestDataStructures::testMap3(), TestDataStructures::testMap4(), and TestDataStructures::testMap5().
◆ put() [2/2]
template<typename K , typename V >
◆ remove()
template<typename K , typename V >
◆ size()
template<typename K , typename V >
References ModifySafeMap< K, V >::m_garbage, ModifySafeMap< K, V >::m_iterating, ModifySafeMap< K, V >::m_new, ModifySafeMap< K, V >::m_values, and ModifySafeMap< K, V >::unknown.
Referenced by server::ActiveObjectMgr::registerObject(), and TestDataStructures::testMap4().
◆ take()
template<typename K , typename V >
References ModifySafeMap< K, V >::m_garbage, ModifySafeMap< K, V >::m_iterating, ModifySafeMap< K, V >::m_new, and ModifySafeMap< K, V >::m_values.
Referenced by ModifySafeMap< K, V >::remove(), client::ActiveObjectMgr::removeObject(), TestDataStructures::testMap3(), and TestDataStructures::testMap4().
◆ GC_MIN_SIZE
template<typename K , typename V >
◆ m_garbage
template<typename K , typename V >
Referenced by ModifySafeMap< K, V >::clear(), ModifySafeMap< K, V >::collect_garbage(), ModifySafeMap< K, V >::empty(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::size(), and ModifySafeMap< K, V >::take().
◆ m_iterating
template<typename K , typename V >
Referenced by ModifySafeMap< K, V >::IterationHelper::IterationHelper(), ModifySafeMap< K, V >::~ModifySafeMap(), ModifySafeMap< K, V >::clear(), ModifySafeMap< K, V >::collect_garbage(), ModifySafeMap< K, V >::empty(), ModifySafeMap< K, V >::get(), ModifySafeMap< K, V >::merge_new(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::size(), and ModifySafeMap< K, V >::take().
◆ m_new
template<typename K , typename V >
Referenced by ModifySafeMap< K, V >::get(), ModifySafeMap< K, V >::merge_new(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::size(), and ModifySafeMap< K, V >::take().
◆ m_values
template<typename K , typename V >
Referenced by ModifySafeMap< K, V >::clear(), ModifySafeMap< K, V >::collect_garbage(), ModifySafeMap< K, V >::empty(), ModifySafeMap< K, V >::get(), ModifySafeMap< K, V >::merge_new(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::put(), ModifySafeMap< K, V >::size(), and ModifySafeMap< K, V >::take().
◆ null_value
template<typename K , typename V >
◆ unknown
template<typename K , typename V >
The documentation for this class was generated from the following file: