libMesh
Loading...
Searching...
No Matches
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 end() const
IndexType begin() const

Member Function Documentation

◆ begin()

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

Definition at line 41 of file simple_range.h.

41{ return _begin; }

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

◆ end()

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

Definition at line 43 of file simple_range.h.

43{ return _end; }

References libMesh::SimpleRange< IndexType >::_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: