Minsky
|
#include <intrusiveMap.h>
Classes | |
struct | iterator |
Public Types | |
typedef Super::const_iterator | const_iterator |
typedef Super::value_type | value_type |
typedef Key | key_type |
typedef Val | mapped_type |
Public Member Functions | |
template<class... A> | |
IntrusiveMap (A... a) | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
iterator | find (const Key &k) |
const_iterator | find (const Key &k) const |
size_t | count (const Key &k) const |
std::pair< iterator, bool > | insert (const value_type &x) |
template<class I1 , class I2 > | |
void | insert (I1 i1, I2 i2) |
void | insert (const Key &k, const Val &v) |
value_type & | operator[] (const Key &k) |
value_type | operator[] (const Key &k) const |
void | swap (IntrusiveMap &x) |
std::set< Key > | keys () const |
Public Attributes | |
std::set< Key > | updateAccess |
track writeable access into this Map More... | |
Private Types | |
typedef std::set< IntrusiveWrap< Key, Val > > | Super |
An intrusive map is like a std::map, except that the value type must include an member "id" of type Key, which holds the key value.
Definition at line 82 of file intrusiveMap.h.
typedef Super::const_iterator minsky::IntrusiveMap< Key, Val >::const_iterator |
Definition at line 86 of file intrusiveMap.h.
typedef Key minsky::IntrusiveMap< Key, Val >::key_type |
Definition at line 88 of file intrusiveMap.h.
typedef Val minsky::IntrusiveMap< Key, Val >::mapped_type |
Definition at line 89 of file intrusiveMap.h.
|
private |
Definition at line 84 of file intrusiveMap.h.
typedef Super::value_type minsky::IntrusiveMap< Key, Val >::value_type |
Definition at line 87 of file intrusiveMap.h.
|
inlineexplicit |
Definition at line 94 of file intrusiveMap.h.
|
inline |
Definition at line 115 of file intrusiveMap.h.
|
inline |
Definition at line 116 of file intrusiveMap.h.
|
inline |
Definition at line 127 of file intrusiveMap.h.
|
inline |
Definition at line 118 of file intrusiveMap.h.
Referenced by minsky::IntrusiveMap< K, V >::operator[]().
|
inline |
Definition at line 119 of file intrusiveMap.h.
|
inline |
Definition at line 121 of file intrusiveMap.h.
Referenced by minsky::IntrusiveMap< K, V >::operator[]().
|
inline |
Definition at line 125 of file intrusiveMap.h.
|
inline |
Definition at line 129 of file intrusiveMap.h.
Referenced by minsky::IntrusiveMap< K, V >::insert().
|
inline |
Definition at line 135 of file intrusiveMap.h.
|
inline |
Definition at line 137 of file intrusiveMap.h.
|
inline |
Definition at line 157 of file intrusiveMap.h.
|
inline |
Definition at line 140 of file intrusiveMap.h.
|
inline |
Definition at line 147 of file intrusiveMap.h.
|
inline |
Definition at line 155 of file intrusiveMap.h.
std::set<Key> minsky::IntrusiveMap< Key, Val >::updateAccess |
track writeable access into this Map
Definition at line 92 of file intrusiveMap.h.
Referenced by minsky::IntrusiveMap< K, V >::find().