3.8.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::container::grid::pos_ref_range< Grid > Class Template Reference

Detailed Description

template<typename Grid>
class fcppt::container::grid::pos_ref_range< Grid >

A range over grid references.

Public Types

using iterator = fcppt::container::grid::pos_ref_iterator< Grid >
 
using const_iterator = iterator
 
using pos_range = fcppt::container::grid::pos_range< fcppt::type_traits::value_type< fcppt::container::grid::pos_type< std::remove_cv_t< Grid > >>, Grid::static_size::value >
 
using min_type = typename pos_range::min_type
 
using sup_type = typename pos_range::sup_type
 
using size_type = typename pos_range::size_type
 

Public Member Functions

 pos_ref_range (Grid &, 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 Grid >
using fcppt::container::grid::pos_ref_range< Grid >::const_iterator = iterator

◆ iterator

◆ min_type

template<typename Grid >
using fcppt::container::grid::pos_ref_range< Grid >::min_type = typename pos_range::min_type

◆ pos_range

template<typename Grid >
using fcppt::container::grid::pos_ref_range< Grid >::pos_range = fcppt::container::grid::pos_range< fcppt::type_traits::value_type<fcppt::container::grid::pos_type<std::remove_cv_t<Grid> >>, Grid::static_size::value>

◆ size_type

template<typename Grid >
using fcppt::container::grid::pos_ref_range< Grid >::size_type = typename pos_range::size_type

◆ sup_type

template<typename Grid >
using fcppt::container::grid::pos_ref_range< Grid >::sup_type = typename pos_range::sup_type

Constructor & Destructor Documentation

◆ pos_ref_range()

template<typename Grid >
fcppt::container::grid::pos_ref_range< Grid >::pos_ref_range ( Grid &  ,
min_type  ,
sup_type   
)

Member Function Documentation

◆ begin()

template<typename Grid >
iterator fcppt::container::grid::pos_ref_range< Grid >::begin ( ) const

◆ end()

template<typename Grid >
iterator fcppt::container::grid::pos_ref_range< Grid >::end ( ) const

◆ min()

template<typename Grid >
min_type const& fcppt::container::grid::pos_ref_range< Grid >::min ( ) const

◆ size()

template<typename Grid >
size_type fcppt::container::grid::pos_ref_range< Grid >::size ( ) const

◆ sup()

template<typename Grid >
sup_type const& fcppt::container::grid::pos_ref_range< Grid >::sup ( ) const