Flow123d  DF_mechanic_bench-4968b1b
Public Member Functions | Private Attributes | List of all members
RangeConvert< ObjectIn, ObjectOut > Class Template Reference

Range helper class. More...

#include <range_wrapper.hh>

Public Member Functions

 RangeConvert (IterConvert< ObjectIn, ObjectOut > begin, IterConvert< ObjectIn, ObjectOut > end)
 Constructor. More...
 
IterConvert< ObjectIn, ObjectOut > begin ()
 Iterator to begin item of range. More...
 
IterConvert< ObjectIn, ObjectOut > end ()
 Iterator to end item of range. More...
 

Private Attributes

IterConvert< ObjectIn, ObjectOut > begin_
 
IterConvert< ObjectIn, ObjectOut > end_
 

Detailed Description

template<class ObjectIn, class ObjectOut>
class RangeConvert< ObjectIn, ObjectOut >

Range helper class.

Allow iterate in bounds given by begin and end iterator. Class can be used for iterable accessor classes.

Template argument:

Require the template object to implement:

Definition at line 36 of file range_wrapper.hh.

Constructor & Destructor Documentation

◆ RangeConvert()

template<class ObjectIn , class ObjectOut >
RangeConvert< ObjectIn, ObjectOut >::RangeConvert ( IterConvert< ObjectIn, ObjectOut >  begin,
IterConvert< ObjectIn, ObjectOut >  end 
)
inline

Constructor.

Definition at line 40 of file range_wrapper.hh.

Member Function Documentation

◆ begin()

template<class ObjectIn , class ObjectOut >
IterConvert<ObjectIn, ObjectOut> RangeConvert< ObjectIn, ObjectOut >::begin ( )
inline

Iterator to begin item of range.

Definition at line 44 of file range_wrapper.hh.

Here is the caller graph for this function:

◆ end()

template<class ObjectIn , class ObjectOut >
IterConvert<ObjectIn, ObjectOut> RangeConvert< ObjectIn, ObjectOut >::end ( )
inline

Iterator to end item of range.

Definition at line 49 of file range_wrapper.hh.

Member Data Documentation

◆ begin_

template<class ObjectIn , class ObjectOut >
IterConvert<ObjectIn, ObjectOut> RangeConvert< ObjectIn, ObjectOut >::begin_
private

Definition at line 54 of file range_wrapper.hh.

◆ end_

template<class ObjectIn , class ObjectOut >
IterConvert<ObjectIn, ObjectOut> RangeConvert< ObjectIn, ObjectOut >::end_
private

Definition at line 55 of file range_wrapper.hh.


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