MySQL 9.0.0
Source Code Documentation
dd::Collection< T >::Collection_iterator Class Reference

Public Types

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

Public Member Functions

 Collection_iterator (Array *array)
 
 Collection_iterator (Array *array, typename Array::iterator it)
 
bool operator== (const Collection_iterator &iter) const
 
bool operator!= (const Collection_iterator &iter) const
 
Collection_iteratoroperator++ ()
 
T & operator* ()
 
Collection_iteratorend ()
 
Array::iterator current ()
 

Private Attributes

Arraym_array
 
Array::iterator m_current
 
m_current_obj
 

Member Typedef Documentation

◆ difference_type

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

◆ iterator_category

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

◆ pointer

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

◆ reference

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

◆ value_type

template<typename T >
using dd::Collection< T >::Collection_iterator::value_type = T

Constructor & Destructor Documentation

◆ Collection_iterator() [1/2]

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

◆ Collection_iterator() [2/2]

template<typename T >
dd::Collection< T >::Collection_iterator::Collection_iterator ( Array array,
typename Array::iterator  it 
)
inline

Member Function Documentation

◆ current()

template<typename T >
Array::iterator dd::Collection< T >::Collection_iterator::current ( )
inline

◆ end()

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

◆ operator!=()

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

◆ operator*()

template<typename T >
T & dd::Collection< T >::Collection_iterator::operator*

◆ operator++()

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

◆ operator==()

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

Member Data Documentation

◆ m_array

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

◆ m_current

template<typename T >
Array::iterator dd::Collection< T >::Collection_iterator::m_current
private

◆ m_current_obj

template<typename T >
T dd::Collection< T >::Collection_iterator::m_current_obj
private

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