AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::RangeAdapter< IteratorType > Class Template Reference

Simple adapter class that converts a pair of iterators into a range that can be iterated over in a range-based for-loop. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/core/RangeAdapter.hpp>

Public Member Functions

 RangeAdapter (IteratorType begin, IteratorType end)
 
IteratorType begin () const
 Returns an iterator to the beginning of the range. More...
 
IteratorType end () const
 Returns an iterator to the end of the range. More...
 

Detailed Description

template<typename IteratorType>
class axom::RangeAdapter< IteratorType >

Simple adapter class that converts a pair of iterators into a range that can be iterated over in a range-based for-loop.

Constructor & Destructor Documentation

◆ RangeAdapter()

template<typename IteratorType >
axom::RangeAdapter< IteratorType >::RangeAdapter ( IteratorType  begin,
IteratorType  end 
)
inline

Member Function Documentation

◆ begin()

template<typename IteratorType >
IteratorType axom::RangeAdapter< IteratorType >::begin ( ) const
inline

Returns an iterator to the beginning of the range.

◆ end()

template<typename IteratorType >
IteratorType axom::RangeAdapter< IteratorType >::end ( ) const
inline

Returns an iterator to the end of the range.


The documentation for this class was generated from the following file: