4.6.1
Freundlich's C++ toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
fcppt::container::grid::pos_iterator< SizeType, Size > Class Template Referencefinal

Detailed Description

template<typename SizeType, fcppt::container::grid::size_type Size>
class fcppt::container::grid::pos_iterator< SizeType, Size >

An iterator over grid position.

Inheritance diagram for fcppt::container::grid::pos_iterator< SizeType, Size >:

Public Types

using value_type = fcppt::type_traits::value_type<base_type>
 
using pos = value_type
 
using size_type = fcppt::type_traits::value_type<pos>
 
using reference = typename base_type::reference
 
using pointer = typename base_type::pointer
 
using iterator_category = typename base_type::iterator_category
 
using difference_type = typename base_type::difference_type
 
using min = fcppt::container::grid::min<size_type, Size>
 
using sup = fcppt::container::grid::sup<size_type, Size>
 

Public Member Functions

 pos_iterator (pos, min, sup)
 
void increment ()
 
reference dereference () const
 
bool equal (pos_iterator const &) const
 

Member Typedef Documentation

◆ difference_type

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::difference_type = typename base_type::difference_type

◆ iterator_category

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::iterator_category = typename base_type::iterator_category

◆ min

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::min = fcppt::container::grid::min<size_type, Size>

◆ pointer

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::pointer = typename base_type::pointer

◆ pos

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::pos = value_type

◆ reference

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::reference = typename base_type::reference

◆ size_type

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::size_type = fcppt::type_traits::value_type<pos>

◆ sup

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::sup = fcppt::container::grid::sup<size_type, Size>

◆ value_type

template<typename SizeType, fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_iterator< SizeType, Size >::value_type = fcppt::type_traits::value_type<base_type>

Constructor & Destructor Documentation

◆ pos_iterator()

template<typename SizeType, fcppt::container::grid::size_type Size>
fcppt::container::grid::pos_iterator< SizeType, Size >::pos_iterator ( pos ,
min ,
sup  )

Member Function Documentation

◆ dereference()

template<typename SizeType, fcppt::container::grid::size_type Size>
reference fcppt::container::grid::pos_iterator< SizeType, Size >::dereference ( ) const
nodiscard

◆ equal()

template<typename SizeType, fcppt::container::grid::size_type Size>
bool fcppt::container::grid::pos_iterator< SizeType, Size >::equal ( pos_iterator< SizeType, Size > const & ) const
nodiscard

◆ increment()

template<typename SizeType, fcppt::container::grid::size_type Size>
void fcppt::container::grid::pos_iterator< SizeType, Size >::increment ( )