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

#include <Array1D.h>

Detailed Description

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

enabling iterator loops in const contexts

Public Member Functions

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

Constructor & Destructor Documentation

◆ const_iterator()

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

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator==()

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

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