|
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 252 of file hashmap.hpp.
|
inline |
Empty constructor.
Definition at line 497 of file hashmap.hpp.
|
inline |
Construct from another map.
Definition at line 501 of file hashmap.hpp.
|
inline |
Construct map form another map.
Definition at line 508 of file hashmap.hpp.
|
inline |
Definition at line 525 of file hashmap.hpp.
|
inline |
Construct from Iterator range.
Definition at line 533 of file hashmap.hpp.
|
inline |
Data access by key.
Definition at line 613 of file hashmap.hpp.
|
inline |
Const data access by key.
Definition at line 623 of file hashmap.hpp.
|
inline |
Return data if existent or default value.
Definition at line 633 of file hashmap.hpp.
|
inline |
|
inline |
Definition at line 694 of file hashmap.hpp.
|
inline |
|
inline |
Check if key exists.
Definition at line 579 of file hashmap.hpp.
|
inline |
Check if key exists and matches iterator.
Definition at line 586 of file hashmap.hpp.
|
inline |
Definition at line 688 of file hashmap.hpp.
|
inline |
|
inline |
Definition at line 695 of file hashmap.hpp.
|
inline |
Erase by key.
Definition at line 565 of file hashmap.hpp.
|
inline |
Erase by iterator.
Definition at line 572 of file hashmap.hpp.
|
inline |
Search for key. Return iterator.
Definition at line 593 of file hashmap.hpp.
|
inline |
Search for key. Return const_iterator.
Definition at line 603 of file hashmap.hpp.
|
inline |
User insert as key lookup.
Definition at line 545 of file hashmap.hpp.
|
inline |
Insert key-value pair.
Definition at line 555 of file hashmap.hpp.
|
inline |
Insert Iterator range.
Definition at line 539 of file hashmap.hpp.
|
inline |
Definition at line 682 of file hashmap.hpp.
|
inline |
Definition at line 513 of file hashmap.hpp.
|
inline |
Definition at line 519 of file hashmap.hpp.
|
inline |
|
inline |
Data access or empty insert.
Definition at line 643 of file hashmap.hpp.
|
inline |
Definition at line 686 of file hashmap.hpp.
|
inline |
|
inline |
Sort data entries.
| Compare |
| comp |
Definition at line 659 of file hashmap.hpp.
|
inline |