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

Detailed Description

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

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 >
using fcppt::container::grid::pos_range< SizeType, size_type >::const_iterator = iterator

◆ iterator

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

◆ min_type

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

◆ pos

◆ size_type

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

◆ sup_type

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

Constructor & Destructor Documentation

◆ pos_range()

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

Member Function Documentation

◆ begin()

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

◆ end()

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

◆ min()

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

◆ size()

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

◆ sup()

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