|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
A hash map that iterates in insertion order, so a container filled while parsing (eg. More...
#include <LinkedHashMap.hxx>
Public Types | |
| typedef Key | key_type |
| typedef T | mapped_type |
| typedef std::pair< const Key, T > | value_type |
| typedef List::size_type | size_type |
| typedef List::iterator | iterator |
| typedef List::const_iterator | const_iterator |
Public Member Functions | |
| LinkedHashMap () | |
| LinkedHashMap (const LinkedHashMap &rhs) | |
| LinkedHashMap (LinkedHashMap &&rhs) noexcept | |
| LinkedHashMap & | operator= (LinkedHashMap rhs) noexcept |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| bool | empty () const |
| size_type | size () const |
| void | clear () |
| iterator | find (const Key &key) |
| const_iterator | find (const Key &key) const |
| size_type | count (const Key &key) const |
| T & | operator[] (const Key &key) |
| Appends a default-constructed value if key is not present. | |
| std::pair< iterator, bool > | insert (const value_type &value) |
| Appends value if its key is not present; otherwise leaves the existing element. | |
| iterator | erase (const_iterator pos) |
| size_type | erase (const Key &key) |
| void | swap (LinkedHashMap &rhs) noexcept |
A hash map that iterates in insertion order, so a container filled while parsing (eg.
XML attributes) encodes back out in the order it was read, whatever hasher it uses. Offers the commonly used subset of the std::unordered_map interface; elements are std::pair<const Key, T>.
Iterators and references stay valid until their element is erased, as with std::list.
Definition at line 25 of file LinkedHashMap.hxx.
| typedef List::const_iterator resip::LinkedHashMap< Key, T, Hash, KeyEqual >::const_iterator |
Definition at line 38 of file LinkedHashMap.hxx.
| typedef List::iterator resip::LinkedHashMap< Key, T, Hash, KeyEqual >::iterator |
Definition at line 37 of file LinkedHashMap.hxx.
| typedef Key resip::LinkedHashMap< Key, T, Hash, KeyEqual >::key_type |
Definition at line 28 of file LinkedHashMap.hxx.
| typedef T resip::LinkedHashMap< Key, T, Hash, KeyEqual >::mapped_type |
Definition at line 29 of file LinkedHashMap.hxx.
| typedef List::size_type resip::LinkedHashMap< Key, T, Hash, KeyEqual >::size_type |
Definition at line 36 of file LinkedHashMap.hxx.
| typedef std::pair<const Key, T> resip::LinkedHashMap< Key, T, Hash, KeyEqual >::value_type |
Definition at line 30 of file LinkedHashMap.hxx.
|
inline |
Definition at line 40 of file LinkedHashMap.hxx.
|
inline |
Definition at line 41 of file LinkedHashMap.hxx.
|
inlinenoexcept |
Definition at line 42 of file LinkedHashMap.hxx.
|
inline |
Definition at line 45 of file LinkedHashMap.hxx.
|
inline |
Definition at line 47 of file LinkedHashMap.hxx.
|
inline |
Definition at line 49 of file LinkedHashMap.hxx.
|
inline |
Definition at line 50 of file LinkedHashMap.hxx.
|
inline |
Definition at line 55 of file LinkedHashMap.hxx.
|
inline |
Definition at line 73 of file LinkedHashMap.hxx.
|
inline |
Definition at line 52 of file LinkedHashMap.hxx.
|
inline |
Definition at line 46 of file LinkedHashMap.hxx.
|
inline |
Definition at line 48 of file LinkedHashMap.hxx.
|
inline |
Definition at line 104 of file LinkedHashMap.hxx.
|
inline |
Definition at line 98 of file LinkedHashMap.hxx.
|
inline |
Definition at line 61 of file LinkedHashMap.hxx.
|
inline |
Definition at line 67 of file LinkedHashMap.hxx.
|
inline |
Appends value if its key is not present; otherwise leaves the existing element.
Definition at line 87 of file LinkedHashMap.hxx.
|
inlinenoexcept |
Definition at line 43 of file LinkedHashMap.hxx.
|
inline |
Appends a default-constructed value if key is not present.
Definition at line 76 of file LinkedHashMap.hxx.
|
inline |
Definition at line 53 of file LinkedHashMap.hxx.
|
inlinenoexcept |
Definition at line 116 of file LinkedHashMap.hxx.