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

#include <DataAnalysis/DataStructures/array3ddata.h>

Inherits iterator< std::random_access_iterator_tag, T >.

Public Member Functions

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

Detailed Description

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

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

◆ iterator()

iterator ( Array3dData matrix,
unsigned  i 
)
inlineexplicit

Member Function Documentation

◆ operator!=()

bool operator!= ( const iterator it) const
inline

◆ operator*()

T & operator* ( )
inline

◆ operator+()

iterator operator+ ( int  i)
inline

◆ operator++() [1/2]

iterator & operator++ ( )
inline

◆ operator++() [2/2]

iterator operator++ ( int  )
inline

◆ operator+=()

iterator & operator+= ( int  i)
inline

◆ operator-() [1/2]

int operator- ( const iterator it) const
inline

◆ operator-() [2/2]

iterator operator- ( int  i)
inline

◆ operator--() [1/2]

iterator & operator-- ( )
inline

◆ operator--() [2/2]

iterator operator-- ( int  )
inline

◆ operator-=()

iterator & operator-= ( int  i)
inline

◆ operator->()

T * operator-> ( )
inline

◆ operator<()

bool operator< ( const iterator it) const
inline

◆ operator==()

bool operator== ( const iterator it) const
inline