|
BPMN-OS
BPMN for optimization and simulation
|
Wrapper class around std::unordered_map for maps with tuple keys.
More...
Example usage:
Definition at line 35 of file tuple_map.h.
#include <tuple_map.h>
Public Types | |
| using | iterator = typename std::unordered_map<Key, Value, tuple_hash>::iterator |
| using | const_iterator = typename std::unordered_map<Key, Value, tuple_hash>::const_iterator |
| using | size_type = typename std::unordered_map<Key, Value, tuple_hash>::size_type |
Public Member Functions | |
| Value & | operator[] (const Key &key) |
| bool | contains (const Key &key) const |
| Value & | at (const Key &key) |
| const Value & | at (const Key &key) const |
| iterator | begin () noexcept |
| const_iterator | begin () const noexcept |
| const_iterator | cbegin () const noexcept |
| iterator | end () noexcept |
| const_iterator | end () const noexcept |
| const_iterator | cend () const noexcept |
| bool | empty () const noexcept |
| size_type | size () const noexcept |
| void | clear () noexcept |
| std::pair< iterator, bool > | insert (const std::pair< Key, Value > &value) |
| std::pair< iterator, bool > | emplace (const Key &key, const Value &value) |
| std::pair< iterator, bool > | try_emplace (const Key &key, const Value &value) |
| void | erase (iterator pos) |
| size_type | erase (const Key &key) |
| void | swap (tuple_map &other) noexcept |
| size_type | count (const Key &key) const |
| iterator | find (const Key &key) |
| const_iterator | find (const Key &key) const |
| using BPMNOS::tuple_map< Key, Value >::const_iterator = typename std::unordered_map<Key, Value, tuple_hash>::const_iterator |
Definition at line 81 of file tuple_map.h.
| using BPMNOS::tuple_map< Key, Value >::iterator = typename std::unordered_map<Key, Value, tuple_hash>::iterator |
Definition at line 80 of file tuple_map.h.
| using BPMNOS::tuple_map< Key, Value >::size_type = typename std::unordered_map<Key, Value, tuple_hash>::size_type |
Definition at line 82 of file tuple_map.h.
|
inline |
Definition at line 93 of file tuple_map.h.
|
inline |
Definition at line 97 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 106 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 102 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 110 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 122 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 136 of file tuple_map.h.
|
inline |
Definition at line 89 of file tuple_map.h.
|
inline |
Definition at line 166 of file tuple_map.h.
|
inline |
Definition at line 145 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 127 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 118 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 114 of file tuple_map.h.
|
inline |
Definition at line 157 of file tuple_map.h.
|
inline |
Definition at line 153 of file tuple_map.h.
|
inline |
Definition at line 170 of file tuple_map.h.
|
inline |
Definition at line 174 of file tuple_map.h.
|
inline |
Definition at line 140 of file tuple_map.h.
|
inline |
Definition at line 85 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 131 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 161 of file tuple_map.h.
|
inline |
Definition at line 149 of file tuple_map.h.