Proto  3.2
Public Member Functions | Private Attributes | List of all members
Proto::ArrayIterator< T, N > Class Template Reference

#include <Proto_Array.H>

Public Member Functions

 ArrayIterator (Array< T, N > &arr, int index)
 
T & operator* ()
 
bool operator== (const ArrayIterator< T, N > &iter) const
 
bool operator!= (const ArrayIterator< T, N > &iter) const
 
ArrayIteratoroperator++ ()
 
ArrayIteratoroperator-- ()
 

Private Attributes

Array< T, N > * m_data
 
int m_index
 

Constructor & Destructor Documentation

◆ ArrayIterator()

template<typename T, size_t N>
Proto::ArrayIterator< T, N >::ArrayIterator ( Array< T, N > &  arr,
int  index 
)
inline

Member Function Documentation

◆ operator*()

template<typename T, size_t N>
T& Proto::ArrayIterator< T, N >::operator* ( )
inline

◆ operator==()

template<typename T, size_t N>
bool Proto::ArrayIterator< T, N >::operator== ( const ArrayIterator< T, N > &  iter) const
inline

◆ operator!=()

template<typename T, size_t N>
bool Proto::ArrayIterator< T, N >::operator!= ( const ArrayIterator< T, N > &  iter) const
inline

◆ operator++()

template<typename T, size_t N>
ArrayIterator& Proto::ArrayIterator< T, N >::operator++ ( )
inline

◆ operator--()

template<typename T, size_t N>
ArrayIterator& Proto::ArrayIterator< T, N >::operator-- ( )
inline

Member Data Documentation

◆ m_data

template<typename T, size_t N>
Array<T, N>* Proto::ArrayIterator< T, N >::m_data
private

◆ m_index

template<typename T, size_t N>
int Proto::ArrayIterator< T, N >::m_index
private

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