Flow123d  release_3.0.0-973-g92f55e826
Public Member Functions | Private Attributes | List of all members
Range< Object > Class Template Reference

Range helper class. More...

#include <mesh.h>

Public Member Functions

 Range (Iter< Object > begin, Iter< Object > end)
 Constructor. More...
 
Iter< Object > begin ()
 Iterator to begin item of range. More...
 
Iter< Object > end ()
 Iterator to end item of range. More...
 

Private Attributes

Iter< Object > begin_
 
Iter< Object > end_
 

Detailed Description

template<class Object>
class Range< Object >

Range helper class.

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

Template argument:

Definition at line 52 of file mesh.h.

Constructor & Destructor Documentation

◆ Range()

template<class Object >
Range< Object >::Range ( Iter< Object >  begin,
Iter< Object >  end 
)
inline

Constructor.

Definition at line 36 of file range_wrapper.hh.

Member Function Documentation

◆ begin()

template<class Object >
Iter<Object> Range< Object >::begin ( )
inline

Iterator to begin item of range.

Definition at line 40 of file range_wrapper.hh.

◆ end()

template<class Object >
Iter<Object> Range< Object >::end ( )
inline

Iterator to end item of range.

Definition at line 45 of file range_wrapper.hh.

Member Data Documentation

◆ begin_

template<class Object >
Iter<Object> Range< Object >::begin_
private

Definition at line 50 of file range_wrapper.hh.

◆ end_

template<class Object >
Iter<Object> Range< Object >::end_
private

Definition at line 51 of file range_wrapper.hh.


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