AggregatedError::ErrorIterator< TYPE > Class Template Reference

#include <errorbase.h>

Detailed Description

template<typename TYPE>
class maxon::AggregatedError::ErrorIterator< TYPE >

Iterator to iterate through all errors of the AggregatedError.

Public Member Functions

 ErrorIterator ()
 
 ErrorIterator (const ErrorIterator &src)
 
 ErrorIterator (ErrorIterator &&src)
 
 ErrorIterator (const AggregatedErrorInterface *itf, Int idx)
 
 MAXON_OPERATOR_COPY_ASSIGNMENT (ErrorIterator)
 
 MAXON_OPERATOR_MOVE_ASSIGNMENT (ErrorIterator)
 
Bool operator== (const ErrorIterator &cmp) const
 
Bool operator!= (const ErrorIterator &cmp) const
 
const ErrorIteratoroperator++ ()
 
ErrorIterator operator++ (int)
 
 operator Bool () const
 
TYPE * operator-> () const
 
TYPE & operator* () const
 

Private Attributes

const AggregatedErrorInterface_itf
 
Int _idx
 

Constructor & Destructor Documentation

◆ ErrorIterator() [1/4]

◆ ErrorIterator() [2/4]

ErrorIterator ( const ErrorIterator< TYPE > &  src)

◆ ErrorIterator() [3/4]

ErrorIterator ( ErrorIterator< TYPE > &&  src)

◆ ErrorIterator() [4/4]

ErrorIterator ( const AggregatedErrorInterface itf,
Int  idx 
)

Member Function Documentation

◆ MAXON_OPERATOR_COPY_ASSIGNMENT()

MAXON_OPERATOR_COPY_ASSIGNMENT ( ErrorIterator< TYPE >  )

◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()

MAXON_OPERATOR_MOVE_ASSIGNMENT ( ErrorIterator< TYPE >  )

◆ operator==()

Bool operator== ( const ErrorIterator< TYPE > &  cmp) const

◆ operator!=()

Bool operator!= ( const ErrorIterator< TYPE > &  cmp) const

◆ operator++() [1/2]

const ErrorIterator& operator++ ( )

◆ operator++() [2/2]

ErrorIterator operator++ ( int  )

◆ operator Bool()

operator Bool ( ) const
explicit

◆ operator->()

TYPE* operator-> ( ) const

◆ operator*()

TYPE& operator* ( ) const

Member Data Documentation

◆ _itf

const AggregatedErrorInterface* _itf
private

◆ _idx

Int _idx
private