|
xoreos
0.0.5
|
A map of pointer to objects, with automatic deletion. More...
#include <ptrmap.h>


Public Member Functions | |
| ~PtrMap () | |
| void | clear () |
| void | erase (typename std::map< Key, T *, Compare >::iterator position) |
| std::map< Key, T *, Compare >::size_type | erase (const typename std::map< Key, T *, Compare >::key_type &k) |
| void | erase (typename std::map< Key, T *, Compare >::iterator first, typename std::map< Key, T *, Compare >::iterator last) |
A map of pointer to objects, with automatic deletion.
A PtrMap expects to hold sole ownership of its contents.
|
inline |
|
inline |
Definition at line 48 of file ptrmap.h.
Referenced by Aurora::TwoDARegistry::clear(), Graphics::Aurora::FontManager::clear(), Engines::NWN2::Module::unloadAreas(), Engines::Witcher::Module::unloadAreas(), Engines::NWN::Module::unloadAreas(), and Common::PtrMap< EquipmentSlot, Engines::KotOR::Item >::~PtrMap().

|
inline |
Definition at line 56 of file ptrmap.h.
Referenced by Aurora::TwoDARegistry::add2DA(), Aurora::TwoDARegistry::addGDA(), Aurora::TwoDARegistry::addMGDA(), Common::PtrMap< EquipmentSlot, Engines::KotOR::Item >::erase(), Graphics::Aurora::FontManager::release(), Aurora::TwoDARegistry::remove2DA(), and Aurora::TwoDARegistry::removeGDA().

|
inline |
|
inline |
1.8.14