Bridges-C++  3.4.4
Bridges(C++ API)
Public Member Functions | List of all members
bridges::datastructure::Array1D< E >::iterator Class Reference

#include <Array1D.h>

Detailed Description

template<typename E>
class bridges::datastructure::Array1D< E >::iterator

enabling range for loops

Public Member Functions

 iterator (Array1D< E > &a, int ind)
 
E const & operator* () const
 
E & operator* ()
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 
iteratoroperator++ (int)
 
iteratoroperator-- (int)
 
bool operator== (const iterator &it) const
 
bool operator!= (const iterator &it) const
 

Constructor & Destructor Documentation

◆ iterator()

template<typename E >
bridges::datastructure::Array1D< E >::iterator::iterator ( Array1D< E > &  a,
int  ind 
)
inline

Member Function Documentation

◆ operator!=()

template<typename E >
bool bridges::datastructure::Array1D< E >::iterator::operator!= ( const iterator it) const
inline

◆ operator*() [1/2]

template<typename E >
E& bridges::datastructure::Array1D< E >::iterator::operator* ( )
inline

◆ operator*() [2/2]

template<typename E >
E const& bridges::datastructure::Array1D< E >::iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename E >
iterator& bridges::datastructure::Array1D< E >::iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename E >
iterator& bridges::datastructure::Array1D< E >::iterator::operator++ ( int  )
inline

◆ operator--() [1/2]

template<typename E >
iterator& bridges::datastructure::Array1D< E >::iterator::operator-- ( )
inline

◆ operator--() [2/2]

template<typename E >
iterator& bridges::datastructure::Array1D< E >::iterator::operator-- ( int  )
inline

◆ operator==()

template<typename E >
bool bridges::datastructure::Array1D< E >::iterator::operator== ( const iterator it) const
inline

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