libMesh::SimpleRange< I > Class Template Reference

#include <simple_range.h>

Public Member Functions

 SimpleRange (I begin, I end)
 
begin () const
 
end () const
 

Private Attributes

_begin
 
_end
 

Detailed Description

template<typename I>
class libMesh::SimpleRange< I >

The SimpleRange templated class is intended to make it easy to construct ranges from pairs of iterators.

Author
Roy H. Stogner

Definition at line 36 of file simple_range.h.

Constructor & Destructor Documentation

◆ SimpleRange()

template<typename I>
libMesh::SimpleRange< I >::SimpleRange ( begin,
end 
)
inline

Definition at line 39 of file simple_range.h.

Member Function Documentation

◆ begin()

template<typename I>
I libMesh::SimpleRange< I >::begin ( ) const
inline

Definition at line 41 of file simple_range.h.

References libMesh::SimpleRange< I >::_begin.

41 { return _begin; }

◆ end()

template<typename I>
I libMesh::SimpleRange< I >::end ( ) const
inline

Definition at line 43 of file simple_range.h.

References libMesh::SimpleRange< I >::_end.

43 { return _end; }

Member Data Documentation

◆ _begin

template<typename I>
I libMesh::SimpleRange< I >::_begin
private

Definition at line 46 of file simple_range.h.

Referenced by libMesh::SimpleRange< I >::begin().

◆ _end

template<typename I>
I libMesh::SimpleRange< I >::_end
private

Definition at line 46 of file simple_range.h.

Referenced by libMesh::SimpleRange< I >::end().


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