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 )

Member Typedef Documentation

◆  Super

using Super = MapInterface <K, V>

◆  ConstIterator

using ConstIterator = typename Super::Iterator

构造函数 & 析构函数文档编制

◆  NonConstMap()

NonConstMap ( const typename Super::MTable &  vtable )
explicit protected

◆  ~NonConstMap()

~ NonConstMap ( )
protected

成员函数文档编制

◆  ToMap() [1/2]

const NonConstMap & ToMap ( ) const

◆  ToMap() [2/2]

NonConstMap & ToMap ( )

◆  operator const NonConstMap< Generic, typename std::conditional< STD_IS_REPLACEMENT()

operator const NonConstMap < Generic, typename std::conditional< STD_IS_REPLACEMENT ( same  ,
,
Generic   
)

◆  InsertKey() [1/2]

ResultRef <V> InsertKey ( const K &  key ,
Bool created = BoolLValue()  
) const

◆  InsertKey() [2/2]

ResultRef <V> InsertKey ( K &&  key ,
Bool created = BoolLValue()  
) const

◆  Insert() [1/2]

ResultRef <V> Insert ( const K &  key ,
VALUE &&  value ,
Bool created = BoolLValue()  
) const

◆  Insert() [2/2]

ResultRef <V> Insert ( K &&  key ,
VALUE &&  value ,
Bool created = BoolLValue()  
) const

◆  FindValue()

V* FindValue ( const K &  key ) const

◆  Erase() [1/2]

Result < Bool > Erase ( const K &  key ) const

◆  Erase() [2/2]

ConstIterator Erase ( const ConstIterator iterator ) const

◆  Reset()

void Reset ( ) const

◆  Flush()

void Flush ( ) const

◆  CopyFrom()

Result <void> CopyFrom ( const Super other ) const

◆  Begin()

ConstIterator Begin ( ) const

◆  End()

ConstIterator End ( ) const

◆  MAXON_DISALLOW_COPY_AND_ASSIGN()

MAXON_DISALLOW_COPY_AND_ASSIGN ( NonConstMap < K, V >  )
private

Member Data Documentation

◆  DummyReturnType

DummyReturnType