|
BPMN-OS
BPMN for optimization and simulation
|
Wrapper class around std::unordered_map for maps with tuple keys.
More...
Example usage:
Definition at line 27 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) |
| 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) |
| 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 53 of file tuple_map.h.
| using BPMNOS::tuple_map< Key, Value >::iterator = typename std::unordered_map<Key, Value, tuple_hash>::iterator |
Definition at line 52 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 54 of file tuple_map.h.
|
inline |
Definition at line 61 of file tuple_map.h.
|
inline |
Definition at line 65 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 74 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 70 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 78 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 90 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 104 of file tuple_map.h.
|
inline |
Definition at line 125 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 95 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 86 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 82 of file tuple_map.h.
|
inline |
Definition at line 116 of file tuple_map.h.
|
inline |
Definition at line 112 of file tuple_map.h.
|
inline |
Definition at line 129 of file tuple_map.h.
|
inline |
Definition at line 133 of file tuple_map.h.
|
inline |
Definition at line 108 of file tuple_map.h.
|
inline |
Definition at line 57 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 99 of file tuple_map.h.
|
inlinenoexcept |
Definition at line 120 of file tuple_map.h.