MySQL 9.1.0
Source Code Documentation
dd::Collection< T >::Collection_const_iterator Class Reference

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = const abstract_type *
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 Collection_const_iterator (const Array *array)
 
 Collection_const_iterator (const Array *array, typename Array::const_iterator it)
 
bool operator== (const Collection_const_iterator &iter) const
 
bool operator!= (const Collection_const_iterator &iter) const
 
Collection_const_iteratoroperator++ ()
 
const abstract_type *& operator* ()
 
Collection_const_iteratorend ()
 
Array::const_iterator current () const
 

Private Attributes

const Arraym_array
 
Array::const_iterator m_current
 
const abstract_typem_current_obj
 

Member Typedef Documentation

◆ difference_type

template<typename T >
using dd::Collection< T >::Collection_const_iterator::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename T >
using dd::Collection< T >::Collection_const_iterator::iterator_category = std::forward_iterator_tag

◆ pointer

template<typename T >
using dd::Collection< T >::Collection_const_iterator::pointer = value_type *

◆ reference

template<typename T >
using dd::Collection< T >::Collection_const_iterator::reference = value_type &

◆ value_type

template<typename T >
using dd::Collection< T >::Collection_const_iterator::value_type = const abstract_type *

Constructor & Destructor Documentation

◆ Collection_const_iterator() [1/2]

template<typename T >
dd::Collection< T >::Collection_const_iterator::Collection_const_iterator ( const Array array)
inline

◆ Collection_const_iterator() [2/2]

template<typename T >
dd::Collection< T >::Collection_const_iterator::Collection_const_iterator ( const Array array,
typename Array::const_iterator  it 
)
inline

Member Function Documentation

◆ current()

template<typename T >
Array::const_iterator dd::Collection< T >::Collection_const_iterator::current ( ) const
inline

◆ end()

template<typename T >
Collection_const_iterator & dd::Collection< T >::Collection_const_iterator::end ( void  )
inline

◆ operator!=()

template<typename T >
bool dd::Collection< T >::Collection_const_iterator::operator!= ( const Collection_const_iterator iter) const
inline

◆ operator*()

template<typename T >
const Collection< T >::abstract_type *& dd::Collection< T >::Collection_const_iterator::operator*

◆ operator++()

template<typename T >
Collection_const_iterator & dd::Collection< T >::Collection_const_iterator::operator++ ( )
inline

◆ operator==()

template<typename T >
bool dd::Collection< T >::Collection_const_iterator::operator== ( const Collection_const_iterator iter) const
inline

Member Data Documentation

◆ m_array

template<typename T >
const Array* dd::Collection< T >::Collection_const_iterator::m_array
private

◆ m_current

template<typename T >
Array::const_iterator dd::Collection< T >::Collection_const_iterator::m_current
private

◆ m_current_obj

template<typename T >
const abstract_type* dd::Collection< T >::Collection_const_iterator::m_current_obj
private

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