NonConstMap< K, V > Class Template Reference

#include <map.h>

Public Types

using Super = MapInterface< K, V >
 
using ConstIterator = typename Super::Iterator
 

Public Member Functions

const NonConstMapToMap () const
 
NonConstMapToMap ()
 
 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< BoolErase (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)
 

Member Typedef Documentation

◆ Super

using Super = MapInterface<K, V>

◆ ConstIterator

using ConstIterator = typename Super::Iterator

Constructor & Destructor Documentation

◆ NonConstMap()

NonConstMap ( const typename Super::MTable &  vtable)
explicitprotected

◆ ~NonConstMap()

~NonConstMap ( )
protected

Member Function Documentation

◆ 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