libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::SimpleRange< IndexType > Class Template Reference

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

#include <simple_range.h>

Public Member Functions

 SimpleRange (IndexType begin, IndexType end)
 
IndexType begin () const
 
IndexType end () const
 

Private Attributes

IndexType _begin
 
IndexType _end
 

Detailed Description

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

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 IndexType>
libMesh::SimpleRange< IndexType >::SimpleRange ( IndexType  begin,
IndexType  end 
)
inline

Definition at line 39 of file simple_range.h.

39 : _begin(begin), _end(end) {}
IndexType begin() const
Definition: simple_range.h:41
IndexType end() const
Definition: simple_range.h:43

Member Function Documentation

◆ begin()

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

Definition at line 41 of file simple_range.h.

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

41 { return _begin; }

◆ end()

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

Definition at line 43 of file simple_range.h.

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

43 { return _end; }

Member Data Documentation

◆ _begin

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

Definition at line 46 of file simple_range.h.

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

◆ _end

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

Definition at line 46 of file simple_range.h.

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


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