|
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 256 of file hashmap.hpp.
|
inline |
Empty constructor.
Definition at line 545 of file hashmap.hpp.
|
inline |
Construct from another map.
Definition at line 549 of file hashmap.hpp.
|
inline |
Construct map form another map.
Definition at line 556 of file hashmap.hpp.
|
inline |
Definition at line 573 of file hashmap.hpp.
|
inline |
Construct from Iterator range.
Definition at line 581 of file hashmap.hpp.
|
inline |
Data access by key.
Definition at line 661 of file hashmap.hpp.
|
inline |
Const data access by key.
Definition at line 671 of file hashmap.hpp.
|
inline |
Return data if existent or default value.
Definition at line 681 of file hashmap.hpp.
|
inline |
|
inline |
Definition at line 742 of file hashmap.hpp.
|
inline |
|
inline |
Check if key exists.
Definition at line 627 of file hashmap.hpp.
|
inline |
Check if key exists and matches iterator.
Definition at line 634 of file hashmap.hpp.
|
inline |
Definition at line 736 of file hashmap.hpp.
|
inline |
|
inline |
Definition at line 743 of file hashmap.hpp.
|
inline |
Erase by key.
Definition at line 613 of file hashmap.hpp.
|
inline |
Erase by iterator.
Definition at line 620 of file hashmap.hpp.
|
inline |
Search for key. Return iterator.
Definition at line 641 of file hashmap.hpp.
|
inline |
Search for key. Return const_iterator.
Definition at line 651 of file hashmap.hpp.
|
inline |
User insert as key lookup.
Definition at line 593 of file hashmap.hpp.
|
inline |
Insert key-value pair.
Definition at line 603 of file hashmap.hpp.
|
inline |
Insert Iterator range.
Definition at line 587 of file hashmap.hpp.
|
inline |
Definition at line 730 of file hashmap.hpp.
|
inline |
Definition at line 561 of file hashmap.hpp.
|
inline |
Definition at line 567 of file hashmap.hpp.
|
inline |
|
inline |
Data access or empty insert.
Definition at line 691 of file hashmap.hpp.
|
inline |
Definition at line 734 of file hashmap.hpp.
|
inline |
|
inline |
Sort data entries.
| Compare |
| comp |
Definition at line 707 of file hashmap.hpp.
|
inline |