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 45 of file int_range.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file int_range.h.

Member Function Documentation

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

Definition at line 66 of file int_range.h.

66  {
67  return !(*this == j);
68  }
template<typename T>
T libMesh::IntRange< T >::iterator::operator* ( ) const

Definition at line 49 of file int_range.h.

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

49 { return _i; }
template<typename T>
const iterator& libMesh::IntRange< T >::iterator::operator++ ( )

Definition at line 51 of file int_range.h.

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

51  {
52  ++_i;
53  return *this;
54  }
template<typename T>
iterator libMesh::IntRange< T >::iterator::operator++ ( int  )

Definition at line 56 of file int_range.h.

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

56  {
57  iterator returnval(*this);
58  ++_i;
59  return returnval;
60  }
template<typename T>
bool libMesh::IntRange< T >::iterator::operator== ( const iterator j) const

Definition at line 62 of file int_range.h.

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

62  {
63  return ( _i == j._i );
64  }

Member Data Documentation

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

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