|
BPMN-OS
BPMN for optimization and simulation
|
Wrapper class around std::unordered_map for maps with vector keys.
More...
Example usage:
Definition at line 31 of file vector_map.h.
#include <vector_map.h>
Public Types | |
| using | iterator = typename std::unordered_map<Key, Value, vector_hash>::iterator |
| using | const_iterator = typename std::unordered_map<Key, Value, vector_hash>::const_iterator |
| using | size_type = typename std::unordered_map<Key, Value, vector_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) |
| std::pair< iterator, bool > | emplace (const Key &key, const Value &value) |
| void | erase (iterator pos) |
| size_type | erase (const Key &key) |
| void | swap (vector_map &other) noexcept |
| size_type | count (const Key &key) const |
| iterator | find (const Key &key) |
| const_iterator | find (const Key &key) const |
| using BPMNOS::vector_map< Key, Value >::const_iterator = typename std::unordered_map<Key, Value, vector_hash>::const_iterator |
Definition at line 50 of file vector_map.h.
| using BPMNOS::vector_map< Key, Value >::iterator = typename std::unordered_map<Key, Value, vector_hash>::iterator |
Definition at line 49 of file vector_map.h.
| using BPMNOS::vector_map< Key, Value >::size_type = typename std::unordered_map<Key, Value, vector_hash>::size_type |
Definition at line 51 of file vector_map.h.
|
inline |
Definition at line 58 of file vector_map.h.
|
inline |
Definition at line 62 of file vector_map.h.
|
inlinenoexcept |
Definition at line 71 of file vector_map.h.
|
inlinenoexcept |
Definition at line 67 of file vector_map.h.
|
inlinenoexcept |
Definition at line 75 of file vector_map.h.
|
inlinenoexcept |
Definition at line 87 of file vector_map.h.
|
inlinenoexcept |
Definition at line 101 of file vector_map.h.
|
inline |
Definition at line 126 of file vector_map.h.
|
inline |
Definition at line 109 of file vector_map.h.
|
inlinenoexcept |
Definition at line 92 of file vector_map.h.
|
inlinenoexcept |
Definition at line 83 of file vector_map.h.
|
inlinenoexcept |
Definition at line 79 of file vector_map.h.
|
inline |
Definition at line 117 of file vector_map.h.
|
inline |
Definition at line 113 of file vector_map.h.
|
inline |
Definition at line 130 of file vector_map.h.
|
inline |
Definition at line 134 of file vector_map.h.
|
inline |
Definition at line 105 of file vector_map.h.
|
inline |
Definition at line 54 of file vector_map.h.
|
inlinenoexcept |
Definition at line 96 of file vector_map.h.
|
inlinenoexcept |
Definition at line 121 of file vector_map.h.