Template Class MemoryMap::Iterator_

Nested Relationships

This class is a nested type of Template Class MemoryMap.

Class Documentation

template<bool Const = false>
class umpire::util::MemoryMap::Iterator_

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = Value
using difference_type = std::ptrdiff_t
using pointer = value_type*
using reference = value_type&
using Map = typename std::conditional<Const, const MemoryMap<Value>, MemoryMap<Value>>::type
using ValuePtr = typename std::conditional<Const, const Value*, Value*>::type
using Content = std::pair<Key, ValuePtr>
using Reference = typename std::conditional<Const, const Content&, Content&>::type
using Pointer = typename std::conditional<Const, const Content*, Content*>::type

Public Functions

Iterator_(Map *map, Key ptr)
Iterator_(Map *map, iterator_begin)
Iterator_(Map *map, iterator_end)
template<bool OtherConst>
Iterator_(const Iterator_<OtherConst> &other)
Reference operator*()
Pointer operator->()
Iterator_ &operator++()
Iterator_ operator++(int)
template<bool OtherConst>
bool operator==(const Iterator_<OtherConst> &other) const
template<bool OtherConst>
bool operator!=(const Iterator_<OtherConst> &other) const
template<bool OtherConst>
bool operator==(const MemoryMap<V>::Iterator_<OtherConst> &other) const
template<bool OtherConst>
bool operator!=(const MemoryMap<V>::Iterator_<OtherConst> &other) const