4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::container::grid::spiral_iterator< Pos > Class Template Reference
Inheritance diagram for fcppt::container::grid::spiral_iterator< Pos >:

Public Types

using value_type = fcppt::type_traits::value_type<base_type>
 
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
 

Public Member Functions

 spiral_iterator (pos current, difference_type max_dist)
 
void increment ()
 
reference dereference () const
 
bool equal (spiral_iterator const &) const
 

Member Typedef Documentation

◆ difference_type

template<typename Pos >
using fcppt::container::grid::spiral_iterator< Pos >::difference_type = typename base_type::difference_type

◆ iterator_category

template<typename Pos >
using fcppt::container::grid::spiral_iterator< Pos >::iterator_category = typename base_type::iterator_category

◆ pointer

template<typename Pos >
using fcppt::container::grid::spiral_iterator< Pos >::pointer = typename base_type::pointer

◆ reference

template<typename Pos >
using fcppt::container::grid::spiral_iterator< Pos >::reference = typename base_type::reference

◆ value_type

template<typename Pos >
using fcppt::container::grid::spiral_iterator< Pos >::value_type = fcppt::type_traits::value_type<base_type>

Constructor & Destructor Documentation

◆ spiral_iterator()

template<typename Pos >
fcppt::container::grid::spiral_iterator< Pos >::spiral_iterator ( pos current,
difference_type max_dist )

Member Function Documentation

◆ dereference()

template<typename Pos >
reference fcppt::container::grid::spiral_iterator< Pos >::dereference ( ) const
nodiscard

◆ equal()

template<typename Pos >
bool fcppt::container::grid::spiral_iterator< Pos >::equal ( spiral_iterator< Pos > const & ) const
nodiscard

◆ increment()

template<typename Pos >
void fcppt::container::grid::spiral_iterator< Pos >::increment ( )