Workspace 6.21.5
Public Member Functions | List of all members
Array3dData< T >::const_iterator Class Reference

#include <DataAnalysis/DataStructures/array3ddata.h>

Inherits iterator< std::random_access_iterator_tag, T >.

Public Member Functions

 const_iterator (const Array3dData &matrix, unsigned i)
 
bool operator!= (const const_iterator &it) const
 
const T & operator* () const
 
const_iterator operator+ (int i) const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator+= (int i)
 
int operator- (const const_iterator &it) const
 
const_iterator operator- (int i) const
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 
const_iteratoroperator-= (int i)
 
const T * operator-> () const
 
bool operator< (const const_iterator &it) const
 
bool operator== (const const_iterator &it) const
 

Detailed Description

template<class T>
class CSIRO::DataAnalysis::Array3dData< T >::const_iterator

Const_iterator for iterating over data in a random-access manner. This could be row or column major order, depending upon the manner in which the sub-class chooses to index the cells, but it is recommended they be stored in ROW-MAJOR order.

Constructor & Destructor Documentation

◆ const_iterator()

const_iterator ( const Array3dData matrix,
unsigned  i 
)
inlineexplicit

Member Function Documentation

◆ operator!=()

bool operator!= ( const const_iterator it) const
inline

◆ operator*()

const T & operator* ( ) const
inline

◆ operator+()

const_iterator operator+ ( int  i) const
inline

◆ operator++() [1/2]

const_iterator & operator++ ( )
inline

◆ operator++() [2/2]

const_iterator operator++ ( int  )
inline

◆ operator+=()

const_iterator & operator+= ( int  i)
inline

◆ operator-() [1/2]

int operator- ( const const_iterator it) const
inline

◆ operator-() [2/2]

const_iterator operator- ( int  i) const
inline

◆ operator--() [1/2]

const_iterator & operator-- ( )
inline

◆ operator--() [2/2]

const_iterator operator-- ( int  )
inline

◆ operator-=()

const_iterator & operator-= ( int  i)
inline

◆ operator->()

const T * operator-> ( ) const
inline

◆ operator<()

bool operator< ( const const_iterator it) const
inline

◆ operator==()

bool operator== ( const const_iterator it) const
inline