Jpp
16.0.3
the software that should make you happy
|
Garbage collection. More...
#include <JGarbageCollection.hh>
Public Types | |
typedef JMappableCollection < JKey_t, JValue_t > | mappablecollection_type |
typedef mappablecollection_type::key_type | key_type |
typedef mappablecollection_type::mapped_type | mapped_type |
Public Member Functions | |
virtual void | clear () override |
Clear. More... | |
virtual const mapped_type & | get (typename JLANG::JClass< key_type >::argument_type key) const override |
Get mapped value. More... | |
virtual mapped_type & | get (typename JLANG::JClass< key_type >::argument_type key) override |
Get mapped value. More... | |
const mapped_type & | operator[] (typename JClass< key_type >::argument_type key) const |
Get mapped value. More... | |
mapped_type & | operator[] (typename JClass< key_type >::argument_type key) |
Get mapped value. More... | |
void | put (typename JClass< key_type >::argument_type key, typename JClass< mapped_type >::argument_type value) |
Put pair-wise element (key,value) into collection. More... | |
Private Attributes | |
mapped_type | value |
Garbage collection.
This class implements the JMappableCollection interface but does nothing.
Definition at line 22 of file JGarbageCollection.hh.
typedef JMappableCollection<JKey_t, JValue_t> JTOOLS::JGarbageCollection< JKey_t, JValue_t >::mappablecollection_type |
Definition at line 27 of file JGarbageCollection.hh.
typedef mappablecollection_type::key_type JTOOLS::JGarbageCollection< JKey_t, JValue_t >::key_type |
Definition at line 29 of file JGarbageCollection.hh.
typedef mappablecollection_type::mapped_type JTOOLS::JGarbageCollection< JKey_t, JValue_t >::mapped_type |
Definition at line 30 of file JGarbageCollection.hh.
|
inlineoverridevirtual |
Clear.
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 36 of file JGarbageCollection.hh.
|
inlineoverridevirtual |
Get mapped value.
key | key |
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 46 of file JGarbageCollection.hh.
|
inlineoverridevirtual |
Get mapped value.
key | key |
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 58 of file JGarbageCollection.hh.
|
inlineinherited |
Get mapped value.
key | key |
Definition at line 73 of file JMappableCollection.hh.
|
inlineinherited |
Get mapped value.
key | key |
Definition at line 85 of file JMappableCollection.hh.
|
inlineinherited |
Put pair-wise element (key,value) into collection.
key | key |
value | value |
Definition at line 97 of file JMappableCollection.hh.
|
private |
Definition at line 64 of file JGarbageCollection.hh.