ConfigDB::ArrayIterator< ArrayType, ItemType > Class Template Reference

Array iterator support. More...

#include <ArrayIterator.h>

Public Types

using const_iterator = ArrayIterator
 

Public Member Functions

 ArrayIterator ()=default
 
 ArrayIterator (const ArrayIterator &)=default
 
 ArrayIterator (ArrayType &array, unsigned index)
 
 operator bool () const
 
bool operator== (const ArrayIterator &rhs) const
 
bool operator!= (const ArrayIterator &rhs) const
 
const ItemType operator* () const
 
ItemType operator* ()
 
unsigned index () const
 
ArrayIteratoroperator++ ()
 
ArrayIterator operator++ (int)
 

Detailed Description

template<class ArrayType, typename ItemType>
class ConfigDB::ArrayIterator< ArrayType, ItemType >

Array iterator support.

Member Typedef Documentation

◆ const_iterator

template<class ArrayType , typename ItemType >
using ConfigDB::ArrayIterator< ArrayType, ItemType >::const_iterator = ArrayIterator

Constructor & Destructor Documentation

◆ ArrayIterator() [1/3]

template<class ArrayType , typename ItemType >
ConfigDB::ArrayIterator< ArrayType, ItemType >::ArrayIterator ( )
default

◆ ArrayIterator() [2/3]

template<class ArrayType , typename ItemType >
ConfigDB::ArrayIterator< ArrayType, ItemType >::ArrayIterator ( const ArrayIterator< ArrayType, ItemType > &  )
default

◆ ArrayIterator() [3/3]

template<class ArrayType , typename ItemType >
ConfigDB::ArrayIterator< ArrayType, ItemType >::ArrayIterator ( ArrayType &  array,
unsigned  index 
)
inline

Member Function Documentation

◆ index()

template<class ArrayType , typename ItemType >
unsigned ConfigDB::ArrayIterator< ArrayType, ItemType >::index ( ) const
inline

◆ operator bool()

template<class ArrayType , typename ItemType >
ConfigDB::ArrayIterator< ArrayType, ItemType >::operator bool ( ) const
inline

◆ operator!=()

template<class ArrayType , typename ItemType >
bool ConfigDB::ArrayIterator< ArrayType, ItemType >::operator!= ( const ArrayIterator< ArrayType, ItemType > &  rhs) const
inline

◆ operator*() [1/2]

template<class ArrayType , typename ItemType >
ItemType ConfigDB::ArrayIterator< ArrayType, ItemType >::operator* ( )
inline

◆ operator*() [2/2]

template<class ArrayType , typename ItemType >
const ItemType ConfigDB::ArrayIterator< ArrayType, ItemType >::operator* ( ) const
inline

◆ operator++() [1/2]

template<class ArrayType , typename ItemType >
ArrayIterator& ConfigDB::ArrayIterator< ArrayType, ItemType >::operator++ ( )
inline

◆ operator++() [2/2]

template<class ArrayType , typename ItemType >
ArrayIterator ConfigDB::ArrayIterator< ArrayType, ItemType >::operator++ ( int  )
inline

◆ operator==()

template<class ArrayType , typename ItemType >
bool ConfigDB::ArrayIterator< ArrayType, ItemType >::operator== ( const ArrayIterator< ArrayType, ItemType > &  rhs) const
inline

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