GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
IteratorArray< T, K >::const_iterator Struct Reference

#include <Effect.hh>

Collaboration diagram for IteratorArray< T, K >::const_iterator:

Public Types

typedef std::random_access_iterator_tag iterator_category
typedef int pointer
typedef int & reference
typedef K value_type
typedef int difference_type

Public Member Functions

 const_iterator (const Array< T, K > &arr, T index)
void operator++ ()
void operator-- ()
void operator+= (int i)
void operator-= (int i)
K operator* () const

Public Attributes

const Array< T, K > & arr
T index

Friends

int operator- (const const_iterator &i, const const_iterator &i2)

Member Typedef Documentation

◆ difference_type

template<class T, class K>
typedef int IteratorArray< T, K >::const_iterator::difference_type

◆ iterator_category

template<class T, class K>
typedef std::random_access_iterator_tag IteratorArray< T, K >::const_iterator::iterator_category

◆ pointer

template<class T, class K>
typedef int IteratorArray< T, K >::const_iterator::pointer

◆ reference

template<class T, class K>
typedef int& IteratorArray< T, K >::const_iterator::reference

◆ value_type

template<class T, class K>
typedef K IteratorArray< T, K >::const_iterator::value_type

Constructor & Destructor Documentation

◆ const_iterator()

template<class T, class K>
IteratorArray< T, K >::const_iterator::const_iterator ( const Array< T, K > & arr,
T index )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

template<class T, class K>
K IteratorArray< T, K >::const_iterator::operator* ( ) const
inline

◆ operator++()

template<class T, class K>
void IteratorArray< T, K >::const_iterator::operator++ ( )
inline

◆ operator+=()

template<class T, class K>
void IteratorArray< T, K >::const_iterator::operator+= ( int i)
inline

◆ operator--()

template<class T, class K>
void IteratorArray< T, K >::const_iterator::operator-- ( )
inline

◆ operator-=()

template<class T, class K>
void IteratorArray< T, K >::const_iterator::operator-= ( int i)
inline

◆ operator-

template<class T, class K>
int operator- ( const const_iterator & i,
const const_iterator & i2 )
friend

Member Data Documentation

◆ arr

template<class T, class K>
const Array<T,K>& IteratorArray< T, K >::const_iterator::arr

◆ index

template<class T, class K>
T IteratorArray< T, K >::const_iterator::index

The documentation for this struct was generated from the following file: