|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <hashmap.hpp>
Classes | |
| class | const_iterator |
| Const iterator. More... | |
| class | iterator |
| Default iterator. More... | |
Public Member Functions | |
| unordered_map () | |
| Empty constructor. More... | |
| unordered_map (const unordered_map &other) | |
| Construct from another map. More... | |
| unordered_map (unordered_map &&other) | |
| Construct map form another map. More... | |
| unordered_map & | operator= (const unordered_map &other) |
| unordered_map & | operator= (unordered_map &&other) |
| unordered_map (const std::initializer_list< std::pair< K, T >> &list) | |
| template<class InputIterator > | |
| unordered_map (InputIterator first, InputIterator last) | |
| Construct from Iterator range. More... | |
| template<class InputIterator > | |
| void | insert (InputIterator first, InputIterator last) |
| Insert Iterator range. More... | |
| std::pair< iterator, bool > | insert (const K &key) |
| User insert as key lookup. More... | |
| std::pair< iterator, bool > | insert (const std::pair< K, T > &value) |
| Insert key-value pair. More... | |
| hm_int | erase (const K &key) |
| Erase by key. More... | |
| iterator | erase (iterator it) |
| Erase by iterator. More... | |
| hm_int | count (const K &key) const |
| Check if key exists. More... | |
| hm_int | count (const K &key, const_iterator it) const |
| Check if key exists and matches iterator. More... | |
| iterator | find (const K &key) |
| Search for key. Return iterator. More... | |
| const_iterator | find (const K &key) const |
| Search for key. Return const_iterator. More... | |
| T & | at (const K &key) |
| Data access by key. More... | |
| const T & | at (const K &key) const |
| Const data access by key. More... | |
| T | at (const K &key, const T &defval) const |
| Return data if existent or default value. More... | |
| T & | operator[] (const K &key) |
| Data access or empty insert. More... | |
| template<typename Compare = std::less<K>> | |
| void | sort (Compare comp=Compare()) |
| Sort data entries. More... | |
| void | swap (unordered_map &other) |
| bool | operator== (const unordered_map &other) const |
| bool | operator!= (const unordered_map &other) const |
| void | reserve (size_t n) |
| size_t | size () const |
| bool | empty () const |
| void | clear () |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| K | |
| T | |
| OPS |
Definition at line 241 of file hashmap.hpp.
|
inline |
Empty constructor.
Definition at line 530 of file hashmap.hpp.
|
inline |
Construct from another map.
Definition at line 534 of file hashmap.hpp.
|
inline |
Construct map form another map.
Definition at line 541 of file hashmap.hpp.
|
inline |
Definition at line 558 of file hashmap.hpp.
|
inline |
Construct from Iterator range.
Definition at line 566 of file hashmap.hpp.
|
inline |
Data access by key.
Definition at line 646 of file hashmap.hpp.
|
inline |
Const data access by key.
Definition at line 656 of file hashmap.hpp.
|
inline |
Return data if existent or default value.
Definition at line 666 of file hashmap.hpp.
|
inline |
|
inline |
Definition at line 727 of file hashmap.hpp.
|
inline |
|
inline |
Check if key exists.
Definition at line 612 of file hashmap.hpp.
|
inline |
Check if key exists and matches iterator.
Definition at line 619 of file hashmap.hpp.
|
inline |
Definition at line 721 of file hashmap.hpp.
|
inline |
|
inline |
Definition at line 728 of file hashmap.hpp.
|
inline |
Erase by key.
Definition at line 598 of file hashmap.hpp.
|
inline |
Erase by iterator.
Definition at line 605 of file hashmap.hpp.
|
inline |
Search for key. Return iterator.
Definition at line 626 of file hashmap.hpp.
|
inline |
Search for key. Return const_iterator.
Definition at line 636 of file hashmap.hpp.
|
inline |
User insert as key lookup.
Definition at line 578 of file hashmap.hpp.
|
inline |
Insert key-value pair.
Definition at line 588 of file hashmap.hpp.
|
inline |
Insert Iterator range.
Definition at line 572 of file hashmap.hpp.
|
inline |
Definition at line 715 of file hashmap.hpp.
|
inline |
Definition at line 546 of file hashmap.hpp.
|
inline |
Definition at line 552 of file hashmap.hpp.
|
inline |
|
inline |
Data access or empty insert.
Definition at line 676 of file hashmap.hpp.
|
inline |
Definition at line 719 of file hashmap.hpp.
|
inline |
|
inline |
Sort data entries.
| Compare |
| comp |
Definition at line 692 of file hashmap.hpp.
|
inline |