|
Rice
3.0.0
|
A helper class for implementing iterators for a Hash. More...
#include <Hash.hpp>
Public Types | |
| using | iterator_category = std::input_iterator_tag |
| using | value_type = Value_T |
| using | difference_type = long |
| using | pointer = Object * |
| using | reference = Value_T & |
Public Member Functions | |
| Iterator (Hash_Ref_T hash) | |
| Construct a new Iterator. | |
| Iterator (Hash_Ref_T hash, int start_at) | |
| Construct a new Iterator with a given start-at index point. | |
| Iterator (Iterator const &iterator) | |
| Copy construct an Iterator. | |
| template<typename Iterator_T > | |
| Iterator (Iterator_T const &iterator) | |
| Iterator & | operator= (Iterator const &rhs) |
| Assignment operator. | |
| Iterator & | operator++ () |
| Preincrement operator. | |
| Iterator | operator++ (int) |
| Postincrement operator. | |
| Value_T | operator* () |
| Dereference operator. | |
| Value_T * | operator-> () |
| Dereference operator. | |
| bool | operator== (Iterator const &rhs) const |
| Equality operator. | |
| bool | operator!= (Iterator const &rhs) const |
| Inequality operator. | |
| void | swap (Iterator &iterator) |
| Swap with another iterator of the same type. | |
Protected Member Functions | |
| Object | current_key () |
| Array | hash_keys () |
Friends | |
| template<typename Hash_Ref_T_ , typename Value_T_ > | |
| class | Hash::Iterator |
A helper class for implementing iterators for a Hash.
| Rice::Hash::Iterator< Hash_Ref_T, Value_T >::Iterator | ( | Iterator_T const & | iterator | ) |