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

#include <Workspace/DataExecution/DataObjects/typedobjectarray.h>

Inherits iterator< std::input_iterator_tag, T >.

Public Member Functions

 const_iterator (const const_iterator &other)
 
 const_iterator (const TypedObjectArray &array, int pos)
 
bool operator!= (const const_iterator &it) const
 
const T & operator* () const
 
const_iterator operator+ (int v) const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
int operator- (const const_iterator &iter) const
 
const_iterator operator- (int v) const
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 
const T * operator-> () const
 
bool operator< (const const_iterator &it) const
 
const_iteratoroperator= (const const_iterator &rhs)
 
bool operator== (const const_iterator &it) const
 

Detailed Description

template<typename T>
class CSIRO::DataExecution::TypedObjectArray< T >::const_iterator

Const iterator to enable functionality with STL functions and range-based loops.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

const_iterator ( const TypedObjectArray array,
int  pos 
)
inlineexplicit

◆ const_iterator() [2/2]

const_iterator ( const const_iterator other)
inline

Member Function Documentation

◆ operator!=()

bool operator!= ( const const_iterator it) const
inline

◆ operator*()

const T & operator* ( ) const
inline

◆ operator+()

const_iterator operator+ ( int  v) const
inline

◆ operator++() [1/2]

const_iterator & operator++ ( )
inline

◆ operator++() [2/2]

const_iterator operator++ ( int  )
inline

◆ operator-() [1/2]

int operator- ( const const_iterator iter) const
inline

◆ operator-() [2/2]

const_iterator operator- ( int  v) const
inline

◆ operator--() [1/2]

const_iterator & operator-- ( )
inline

◆ operator--() [2/2]

const_iterator operator-- ( int  )
inline

◆ operator->()

const T * operator-> ( ) const
inline

◆ operator<()

bool operator< ( const const_iterator it) const
inline

◆ operator=()

const_iterator & operator= ( const const_iterator rhs)

◆ operator==()

bool operator== ( const const_iterator it) const
inline