4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::container::grid::pos_iterator< SizeType, Dim > Class Template Reference

Detailed Description

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

An iterator over grid position.

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

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 Dim>
using fcppt::container::grid::pos_iterator< SizeType, Dim >::difference_type = typename base_type::difference_type

◆ iterator_category

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

◆ min

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

◆ pointer

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

◆ pos

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

◆ reference

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

◆ size_type

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

◆ sup

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

◆ value_type

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

Constructor & Destructor Documentation

◆ pos_iterator()

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

Member Function Documentation

◆ dereference()

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

◆ equal()

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

◆ increment()

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