openMSX
Public Types | Public Member Functions | List of all members
detail::KeyIterator< MAP, N > Class Template Reference

#include <KeyRange.hh>

Public Types

using value_type = const std::tuple_element_t< N, pair_type >
 
using pointer = value_type *
 
using reference = value_type &
 
using difference_type = typename std::iterator_traits< map_iter >::difference_type
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 KeyIterator (map_iter it_)
 
reference operator* () const
 
KeyIteratoroperator++ ()
 
bool operator== (const KeyIterator &other) const
 
bool operator!= (const KeyIterator &other) const
 

Detailed Description

template<typename MAP, size_t N>
class detail::KeyIterator< MAP, N >

Definition at line 9 of file KeyRange.hh.

Member Typedef Documentation

◆ difference_type

template<typename MAP , size_t N>
using detail::KeyIterator< MAP, N >::difference_type = typename std::iterator_traits<map_iter>::difference_type

Definition at line 18 of file KeyRange.hh.

◆ iterator_category

template<typename MAP , size_t N>
using detail::KeyIterator< MAP, N >::iterator_category = std::forward_iterator_tag

Definition at line 19 of file KeyRange.hh.

◆ pointer

template<typename MAP , size_t N>
using detail::KeyIterator< MAP, N >::pointer = value_type*

Definition at line 16 of file KeyRange.hh.

◆ reference

template<typename MAP , size_t N>
using detail::KeyIterator< MAP, N >::reference = value_type&

Definition at line 17 of file KeyRange.hh.

◆ value_type

template<typename MAP , size_t N>
using detail::KeyIterator< MAP, N >::value_type = const std::tuple_element_t<N, pair_type>

Definition at line 15 of file KeyRange.hh.

Constructor & Destructor Documentation

◆ KeyIterator()

template<typename MAP , size_t N>
detail::KeyIterator< MAP, N >::KeyIterator ( map_iter  it_)
inline

Definition at line 21 of file KeyRange.hh.

Member Function Documentation

◆ operator!=()

template<typename MAP , size_t N>
bool detail::KeyIterator< MAP, N >::operator!= ( const KeyIterator< MAP, N > &  other) const
inline

Definition at line 25 of file KeyRange.hh.

◆ operator*()

template<typename MAP , size_t N>
reference detail::KeyIterator< MAP, N >::operator* ( ) const
inline

Definition at line 22 of file KeyRange.hh.

◆ operator++()

template<typename MAP , size_t N>
KeyIterator& detail::KeyIterator< MAP, N >::operator++ ( )
inline

Definition at line 23 of file KeyRange.hh.

◆ operator==()

template<typename MAP , size_t N>
bool detail::KeyIterator< MAP, N >::operator== ( const KeyIterator< MAP, N > &  other) const
inline

Definition at line 24 of file KeyRange.hh.


The documentation for this class was generated from the following file: