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

Range helper class. More...

#include <mesh.h>

Collaboration diagram for Range< Object >:
Collaboration graph
[legend]

Public Member Functions

 Range (const Mesh *mesh, unsigned int begin, unsigned int end)
 
Iter< Object > begin ()
 
Iter< Object > end ()
 
unsigned int size () const
 

Private Attributes

const Meshmesh_
 
unsigned int begin_
 
unsigned int end_
 

Detailed Description

template<class Object>
class Range< Object >

Range helper class.

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

Definition at line 52 of file mesh.h.

Constructor & Destructor Documentation

template<class Object>
Range< Object >::Range ( const Mesh mesh,
unsigned int  begin,
unsigned int  end 
)
inline

Definition at line 33 of file range_wrapper.hh.

Member Function Documentation

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

Definition at line 38 of file range_wrapper.hh.

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

Definition at line 42 of file range_wrapper.hh.

template<class Object>
unsigned int Range< Object >::size ( ) const
inline

Definition at line 46 of file range_wrapper.hh.

Here is the caller graph for this function:

Member Data Documentation

template<class Object>
unsigned int Range< Object >::begin_
private

Definition at line 51 of file range_wrapper.hh.

template<class Object>
unsigned int Range< Object >::end_
private

Definition at line 52 of file range_wrapper.hh.

template<class Object>
const Mesh* Range< Object >::mesh_
private

Definition at line 50 of file range_wrapper.hh.


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