https://mooseframework.inl.gov
Public Member Functions | Private Attributes | List of all members
Moose::SerialAccessRange< T >::iterator Class Reference

#include <SerialAccess.h>

Public Member Functions

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

Private Attributes

V_i
 

Detailed Description

template<typename T>
class Moose::SerialAccessRange< T >::iterator

Definition at line 107 of file SerialAccess.h.

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
Moose::SerialAccessRange< T >::iterator::iterator ( V i)
inline

Definition at line 110 of file SerialAccess.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 128 of file SerialAccess.h.

128 { return !(*this == j); }

◆ operator*()

template<typename T >
V& Moose::SerialAccessRange< T >::iterator::operator* ( ) const
inline

Definition at line 112 of file SerialAccess.h.

◆ operator++() [1/2]

template<typename T >
const iterator& Moose::SerialAccessRange< T >::iterator::operator++ ( )
inline

Definition at line 114 of file SerialAccess.h.

115  {
116  ++_i;
117  return *this;
118  }

◆ operator++() [2/2]

template<typename T >
iterator Moose::SerialAccessRange< T >::iterator::operator++ ( int  )
inline

Definition at line 120 of file SerialAccess.h.

121  {
122  iterator returnval(*this);
123  ++_i;
124  return returnval;
125  }

◆ operator==()

template<typename T >
bool Moose::SerialAccessRange< T >::iterator::operator== ( const iterator j) const
inline

Definition at line 127 of file SerialAccess.h.

127 { return (_i == j._i); }

Member Data Documentation

◆ _i

template<typename T >
V* Moose::SerialAccessRange< T >::iterator::_i
private

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