3.8.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::container::grid::pos_range< SizeType, Size > Class Template Reference

Detailed Description

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

A range over grid position.

Public Types

using iterator = fcppt::container::grid::pos_iterator< SizeType, Size >
 
using const_iterator = iterator
 
using pos = fcppt::type_traits::value_type< iterator >
 
using min_type = typename iterator::min
 
using sup_type = typename iterator::sup
 
using size_type = std::make_unsigned_t< typename iterator::difference_type >
 

Public Member Functions

 pos_range (min_type, sup_type)
 
iterator begin () const
 
iterator end () const
 
size_type size () const
 
min_type const & min () const
 
sup_type const & sup () const
 

Member Typedef Documentation

◆ const_iterator

template<typename SizeType , fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_range< SizeType, Size >::const_iterator = iterator

◆ iterator

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

◆ min_type

template<typename SizeType , fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_range< SizeType, Size >::min_type = typename iterator::min

◆ pos

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

◆ size_type

template<typename SizeType , fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_range< SizeType, Size >::size_type = std::make_unsigned_t<typename iterator::difference_type>

◆ sup_type

template<typename SizeType , fcppt::container::grid::size_type Size>
using fcppt::container::grid::pos_range< SizeType, Size >::sup_type = typename iterator::sup

Constructor & Destructor Documentation

◆ pos_range()

template<typename SizeType , fcppt::container::grid::size_type Size>
fcppt::container::grid::pos_range< SizeType, Size >::pos_range ( min_type  ,
sup_type   
)

Member Function Documentation

◆ begin()

template<typename SizeType , fcppt::container::grid::size_type Size>
iterator fcppt::container::grid::pos_range< SizeType, Size >::begin ( ) const

◆ end()

template<typename SizeType , fcppt::container::grid::size_type Size>
iterator fcppt::container::grid::pos_range< SizeType, Size >::end ( ) const

◆ min()

template<typename SizeType , fcppt::container::grid::size_type Size>
min_type const& fcppt::container::grid::pos_range< SizeType, Size >::min ( ) const

◆ size()

template<typename SizeType , fcppt::container::grid::size_type Size>
size_type fcppt::container::grid::pos_range< SizeType, Size >::size ( ) const

◆ sup()

template<typename SizeType , fcppt::container::grid::size_type Size>
sup_type const& fcppt::container::grid::pos_range< SizeType, Size >::sup ( ) const