NonConstMap< K, V > Class Template Reference
#include <map.h>
Public Types |
|
using | Super = MapInterface < K, V > |
using | ConstIterator = typename Super::Iterator |
公共成员函数 |
|
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 | 重置 () 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 () |
私有成员函数 |
|
MAXON_DISALLOW_COPY_AND_ASSIGN ( NonConstMap ) |
using Super = MapInterface <K, V> |
using ConstIterator = typename Super::Iterator |
|
explicit protected |
|
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 |
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 |
|
private |
DummyReturnType |