Iterator support for class HashMap. More...
#include <HashMap.h>
Public Types | |
| using | difference_type = Entry |
| using | value_type = Entry |
| using | pointer = const Entry * |
| using | reference = const Entry & |
| using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
| iterator () | |
| iterator (const HashMap *map, bool end) | |
| iterator (const iterator &it) | |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| bool | operator== (const iterator &rhs) |
| bool | operator!= (const iterator &rhs) |
| Entry | operator* () |
| Entry * | operator-> () |
Private Attributes | |
| const HashMap * | map |
| Pointer to the map More... | |
| int | bucket |
| Index of current bucket More... | |
| Entry * | current |
| Current cell in bucket chain. More... | |
Iterator support for class HashMap.
| using HashMap< KeyType, ValueType >::iterator::difference_type = Entry |
| using HashMap< KeyType, ValueType >::iterator::iterator_category = std::forward_iterator_tag |
| using HashMap< KeyType, ValueType >::iterator::pointer = const Entry* |
| using HashMap< KeyType, ValueType >::iterator::reference = const Entry& |
| using HashMap< KeyType, ValueType >::iterator::value_type = Entry |
|
inline |
|
private |