proteus  1.8.1
C/C++/Fortran libraries
Public Types | Public Member Functions | List of all members
proteus::throwing_map< K, T > Class Template Reference

#include </Users/cekees/proteus/proteus/mprans/ArgumentsDict.h>

Inheritance diagram for proteus::throwing_map< K, T >:
[legend]
Collaboration diagram for proteus::throwing_map< K, T >:
[legend]

Public Types

using base_type = std::map< K, T >
 
using key_type = typename base_type::key_type
 
using mapped_type = typename base_type::mapped_type
 
using value_type = typename base_type::value_type
 
using reference = typename base_type::reference
 
using const_reference = typename base_type::const_reference
 
using pointer = typename base_type::pointer
 
using const_pointer = typename base_type::const_pointer
 
using size_type = typename base_type::size_type
 
using difference_type = typename base_type::difference_type
 
using iterator = typename base_type::iterator
 
using const_iterator = typename base_type::const_iterator
 

Public Member Functions

mapped_typeoperator[] (const key_type &k)
 
std::pair< iterator, bool > insert (value_type &&)
 
std::pair< iterator, bool > insert_or_assign (key_type &&k, mapped_type &&v)
 

Detailed Description

template<class K, class T>
class proteus::throwing_map< K, T >

Definition at line 26 of file ArgumentsDict.h.

Member Typedef Documentation

◆ base_type

template<class K , class T >
using proteus::throwing_map< K, T >::base_type = std::map<K, T>

Definition at line 30 of file ArgumentsDict.h.

◆ const_iterator

template<class K , class T >
using proteus::throwing_map< K, T >::const_iterator = typename base_type::const_iterator

Definition at line 41 of file ArgumentsDict.h.

◆ const_pointer

template<class K , class T >
using proteus::throwing_map< K, T >::const_pointer = typename base_type::const_pointer

Definition at line 37 of file ArgumentsDict.h.

◆ const_reference

template<class K , class T >
using proteus::throwing_map< K, T >::const_reference = typename base_type::const_reference

Definition at line 35 of file ArgumentsDict.h.

◆ difference_type

template<class K , class T >
using proteus::throwing_map< K, T >::difference_type = typename base_type::difference_type

Definition at line 39 of file ArgumentsDict.h.

◆ iterator

template<class K , class T >
using proteus::throwing_map< K, T >::iterator = typename base_type::iterator

Definition at line 40 of file ArgumentsDict.h.

◆ key_type

template<class K , class T >
using proteus::throwing_map< K, T >::key_type = typename base_type::key_type

Definition at line 31 of file ArgumentsDict.h.

◆ mapped_type

template<class K , class T >
using proteus::throwing_map< K, T >::mapped_type = typename base_type::mapped_type

Definition at line 32 of file ArgumentsDict.h.

◆ pointer

template<class K , class T >
using proteus::throwing_map< K, T >::pointer = typename base_type::pointer

Definition at line 36 of file ArgumentsDict.h.

◆ reference

template<class K , class T >
using proteus::throwing_map< K, T >::reference = typename base_type::reference

Definition at line 34 of file ArgumentsDict.h.

◆ size_type

template<class K , class T >
using proteus::throwing_map< K, T >::size_type = typename base_type::size_type

Definition at line 38 of file ArgumentsDict.h.

◆ value_type

template<class K , class T >
using proteus::throwing_map< K, T >::value_type = typename base_type::value_type

Definition at line 33 of file ArgumentsDict.h.

Member Function Documentation

◆ insert()

template<class K , class T >
auto proteus::throwing_map< K, T >::insert ( value_type &&  v)
inline

Definition at line 128 of file ArgumentsDict.h.

◆ insert_or_assign()

template<class K , class T >
auto proteus::throwing_map< K, T >::insert_or_assign ( key_type &&  k,
mapped_type &&  v 
)
inline

Definition at line 134 of file ArgumentsDict.h.

◆ operator[]()

template<class K , class T >
auto proteus::throwing_map< K, T >::operator[] ( const key_type k)
inline

Definition at line 117 of file ArgumentsDict.h.


The documentation for this class was generated from the following file: