Flow123d  release_3.0.0-695-g67d21c4
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

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

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

Iterator to begin item of range.

Definition at line 40 of file range_wrapper.hh.

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

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

Definition at line 50 of file range_wrapper.hh.

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: