AutoIterator< T[N]> Class Template Reference

#include <foreach.h>

Inheritance diagram for AutoIterator< T[N]>:

Public Member Functions

MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator (T *array, Int count)
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator (T(&array)[N])
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator (const AutoIterator &src)
 
 MAXON_OPERATOR_COPY_ASSIGNMENT (AutoIterator)
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator ()
 
MAXON_ATTRIBUTE_FORCE_INLINE operator Bool () const
 
MAXON_ATTRIBUTE_FORCE_INLINE T & operator* () const
 
MAXON_ATTRIBUTE_FORCE_INLINE T * operator-> () const
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool operator== (const AutoIterator &b) const
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool operator< (const AutoIterator &b) const
 
 MAXON_OPERATOR_COMPARISON (AutoIterator)
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIteratoroperator++ ()
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator operator++ (int)
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIteratoroperator+= (Int i)
 
MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator operator+ (Int i) const
 
MAXON_ATTRIBUTE_FORCE_INLINE Int operator- (const AutoIterator &b) const
 
- Public Member Functions inherited from ForEachIterator< AutoIterator< T[N]> >
MAXON_ATTRIBUTE_FORCE_INLINE ForEachIterator (ARGS &&... args)
 
String ToString (const FormatStatement *formatStatement)
 
AutoIterator< T[N]> & Find (const T &v)
 
Int FindIndex (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool Contains (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper begin ()
 

Protected Attributes

T * _it
 
T * _end
 

Additional Inherited Members

- Public Types inherited from ForEachIterator< AutoIterator< T[N]> >
using IsForEachIterator = std::true_type
 
- Static Public Member Functions inherited from ForEachIterator< AutoIterator< T[N]> >
static MAXON_ATTRIBUTE_FORCE_INLINE PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end()
 

Constructor & Destructor Documentation

◆ AutoIterator() [1/4]

MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator ( T *  array,
Int  count 
)

◆ AutoIterator() [2/4]

MAXON_ATTRIBUTE_FORCE_INLINE AutoIterator ( T(&)  array[N])
explicit

◆ AutoIterator() [3/4]

◆ AutoIterator() [4/4]

Member Function Documentation

◆ MAXON_OPERATOR_COPY_ASSIGNMENT()

MAXON_OPERATOR_COPY_ASSIGNMENT ( AutoIterator< T[N]>  )

◆ operator Bool()

MAXON_ATTRIBUTE_FORCE_INLINE operator Bool ( ) const
explicit

◆ operator*()

MAXON_ATTRIBUTE_FORCE_INLINE T& operator* ( ) const

◆ operator->()

MAXON_ATTRIBUTE_FORCE_INLINE T* operator-> ( ) const

◆ operator==()

MAXON_ATTRIBUTE_FORCE_INLINE Bool operator== ( const AutoIterator< T[N]> &  b) const

◆ operator<()

MAXON_ATTRIBUTE_FORCE_INLINE Bool operator< ( const AutoIterator< T[N]> &  b) const

◆ MAXON_OPERATOR_COMPARISON()

MAXON_OPERATOR_COMPARISON ( AutoIterator< T[N]>  )

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator+=()

◆ operator+()

◆ operator-()

MAXON_ATTRIBUTE_FORCE_INLINE Int operator- ( const AutoIterator< T[N]> &  b) const

Member Data Documentation

◆ _it

T* _it
protected

◆ _end

T* _end
protected