3.0.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::container::grid::spiral_iterator< Pos > Class Template Referencefinal
Inheritance diagram for fcppt::container::grid::spiral_iterator< Pos >:

Public Types

typedef fcppt::type_traits::value_type< base_type > value_type
 
typedef base_type::reference reference
 
typedef base_type::pointer pointer
 
typedef base_type::iterator_category iterator_category
 
typedef base_type::difference_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 >
typedef base_type::difference_type fcppt::container::grid::spiral_iterator< Pos >::difference_type

◆ iterator_category

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

◆ pointer

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

◆ reference

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

◆ value_type

template<typename Pos >
typedef fcppt::type_traits::value_type< base_type > fcppt::container::grid::spiral_iterator< Pos >::value_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

◆ equal()

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

◆ increment()

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