#include <map.h>
Public Types | |
using | Super = MapInterface< K, V > |
using | ConstIterator = typename Super::Iterator |
Public Member Functions | |
const NonConstMap & | ToMap () const |
NonConstMap & | ToMap () |
operator const NonConstMap< Generic, typename std::conditional< STD_IS_REPLACEMENT (same, V, Generic) | |
ResultRef< V > | InsertKey (const K &key, Bool &created=BoolLValue()) const |
ResultRef< V > | InsertKey (K &&key, Bool &created=BoolLValue()) const |
template<typename VALUE > | |
ResultRef< V > | Insert (const K &key, VALUE &&value, Bool &created=BoolLValue()) const |
template<typename VALUE > | |
ResultRef< V > | Insert (K &&key, VALUE &&value, Bool &created=BoolLValue()) const |
V * | FindValue (const K &key) const |
Result< Bool > | Erase (const K &key) const |
ConstIterator | Erase (const ConstIterator &iterator) const |
void | Reset () const |
void | Flush () const |
Result< void > | CopyFrom (const Super &other) const |
ConstIterator | Begin () const |
ConstIterator | End () const |
Public Attributes | |
DummyReturnType | |
Protected Member Functions | |
NonConstMap (const typename Super::MTable &vtable) | |
~NonConstMap () | |
Private Member Functions | |
MAXON_DISALLOW_COPY_AND_ASSIGN (NonConstMap) | |
using Super = MapInterface<K, V> |
using ConstIterator = typename Super::Iterator |
|
explicitprotected |
|
protected |
const NonConstMap& ToMap | ( | ) | const |
NonConstMap& ToMap | ( | ) |
operator const NonConstMap< Generic, typename std::conditional< STD_IS_REPLACEMENT | ( | same | , |
V | , | ||
Generic | |||
) |
ResultRef<V> InsertKey | ( | const K & | key, |
Bool & | created = BoolLValue() |
||
) | const |
ResultRef<V> InsertKey | ( | K && | key, |
Bool & | created = BoolLValue() |
||
) | const |
ResultRef<V> Insert | ( | const K & | key, |
VALUE && | value, | ||
Bool & | created = BoolLValue() |
||
) | const |
ResultRef<V> Insert | ( | K && | key, |
VALUE && | value, | ||
Bool & | created = BoolLValue() |
||
) | const |
V* FindValue | ( | const K & | key | ) | const |
ConstIterator Erase | ( | const ConstIterator & | iterator | ) | const |
void Reset | ( | ) | const |
void Flush | ( | ) | const |
ConstIterator Begin | ( | ) | const |
ConstIterator End | ( | ) | const |
|
private |
DummyReturnType |