libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::IntRange< T >::iterator Class Reference

#include <int_range.h>

Public Member Functions

 iterator (T i)
 
operator* () const
 
const iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &j) const
 
bool operator!= (const iterator &j) const
 

Private Attributes

_i
 

Detailed Description

template<typename T>
class libMesh::IntRange< T >::iterator

Definition at line 56 of file int_range.h.

Constructor & Destructor Documentation

◆ iterator()

template<typename T>
libMesh::IntRange< T >::iterator::iterator ( i)
inline

Definition at line 58 of file int_range.h.

58 : _i(i) {}

Member Function Documentation

◆ operator!=()

template<typename T>
bool libMesh::IntRange< T >::iterator::operator!= ( const iterator j) const
inline

Definition at line 77 of file int_range.h.

77  {
78  return !(*this == j);
79  }

◆ operator*()

template<typename T>
T libMesh::IntRange< T >::iterator::operator* ( ) const
inline

Definition at line 60 of file int_range.h.

60 { return _i; }

References libMesh::IntRange< T >::iterator::_i.

◆ operator++() [1/2]

template<typename T>
const iterator& libMesh::IntRange< T >::iterator::operator++ ( )
inline

Definition at line 62 of file int_range.h.

62  {
63  ++_i;
64  return *this;
65  }

References libMesh::IntRange< T >::iterator::_i.

◆ operator++() [2/2]

template<typename T>
iterator libMesh::IntRange< T >::iterator::operator++ ( int  )
inline

Definition at line 67 of file int_range.h.

67  {
68  iterator returnval(*this);
69  ++_i;
70  return returnval;
71  }

References libMesh::IntRange< T >::iterator::_i.

◆ operator==()

template<typename T>
bool libMesh::IntRange< T >::iterator::operator== ( const iterator j) const
inline

Definition at line 73 of file int_range.h.

73  {
74  return ( _i == j._i );
75  }

References libMesh::IntRange< T >::iterator::_i.

Member Data Documentation

◆ _i

template<typename T>
T libMesh::IntRange< T >::iterator::_i
private

The documentation for this class was generated from the following file:
libMesh::IntRange::iterator::iterator
iterator(T i)
Definition: int_range.h:58
libMesh::IntRange::iterator::_i
T _i
Definition: int_range.h:82