|
CppCommon 1.0.5.0
C++ Common Library
|
Hash map iterator. More...
#include <hashmap.h>
Public Types | |
| typedef std::pair< TKey, TValue > | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef ptrdiff_t | difference_type |
| typedef size_t | size_type |
| typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
| HashMapIterator () noexcept | |
| HashMapIterator (TContainer *container) noexcept | |
| HashMapIterator (TContainer *container, size_t index) noexcept | |
| HashMapIterator (const HashMapIterator &it) noexcept=default | |
| HashMapIterator (HashMapIterator &&it) noexcept=default | |
| ~HashMapIterator () noexcept=default | |
| HashMapIterator & | operator= (const HashMapIterator &it) noexcept=default |
| HashMapIterator & | operator= (HashMapIterator &&it) noexcept=default |
| HashMapIterator & | operator++ () noexcept |
| HashMapIterator | operator++ (int) noexcept |
| reference | operator* () noexcept |
| pointer | operator-> () noexcept |
| operator bool () const noexcept | |
| Check if the iterator is valid. | |
| void | swap (HashMapIterator &it) noexcept |
| Swap two instances. | |
Friends | |
| bool | operator== (const HashMapIterator &it1, const HashMapIterator &it2) noexcept |
| bool | operator!= (const HashMapIterator &it1, const HashMapIterator &it2) noexcept |
| template<class UContainer , typename UKey , typename UValue > | |
| void | swap (HashMapIterator< UContainer, UKey, UValue > &it1, HashMapIterator< UContainer, UKey, UValue > &it2) noexcept |
Hash map iterator.
Not thread-safe.
| typedef const value_type* CppCommon::HashMapIterator< TContainer, TKey, TValue >::const_pointer |
| typedef const value_type& CppCommon::HashMapIterator< TContainer, TKey, TValue >::const_reference |
| typedef ptrdiff_t CppCommon::HashMapIterator< TContainer, TKey, TValue >::difference_type |
| typedef std::bidirectional_iterator_tag CppCommon::HashMapIterator< TContainer, TKey, TValue >::iterator_category |
| typedef value_type* CppCommon::HashMapIterator< TContainer, TKey, TValue >::pointer |
| typedef value_type& CppCommon::HashMapIterator< TContainer, TKey, TValue >::reference |
| typedef size_t CppCommon::HashMapIterator< TContainer, TKey, TValue >::size_type |
| typedef std::pair<TKey, TValue> CppCommon::HashMapIterator< TContainer, TKey, TValue >::value_type |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
Definition at line 331 of file hashmap.inl.
|
inlineexplicitnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineexplicitnoexcept |
|
noexcept |
Definition at line 389 of file hashmap.inl.
|
noexcept |
Definition at line 359 of file hashmap.inl.
|
inlinenoexcept |
Definition at line 381 of file hashmap.inl.
|
noexcept |
Definition at line 397 of file hashmap.inl.
|
defaultnoexcept |
|
defaultnoexcept |
|
noexcept |
Swap two instances.
Definition at line 403 of file hashmap.inl.
|
friend |
|
friend |
|
friend |