glibmm 2.82.0
Public Types | Public Member Functions | List of all members
Glib::Container_Helpers::ArrayIterator< Tr > Class Template Reference

#include <glibmm/vectorutils.h>

Public Types

using CppType = typename Tr::CppType
 
using CType = typename Tr::CType
 
using iterator_category = std::random_access_iterator_tag
 
using value_type = CppType
 
using difference_type = std::ptrdiff_t
 
using reference = value_type
 
using pointer = void
 

Public Member Functions

 ArrayIterator (const CType *pos)
 
value_type operator* () const
 
value_type operator[] (difference_type offset) const
 
ArrayIterator< Tr > & operator++ ()
 
const ArrayIterator< Troperator++ (int)
 
ArrayIterator< Tr > & operator+= (difference_type rhs)
 
ArrayIterator< Tr > & operator-= (difference_type rhs)
 
const ArrayIterator< Troperator+ (difference_type rhs) const
 
const ArrayIterator< Troperator- (difference_type rhs) const
 
difference_type operator- (const ArrayIterator< Tr > &rhs) const
 
bool operator== (const ArrayIterator< Tr > &rhs) const
 
bool operator!= (const ArrayIterator< Tr > &rhs) const
 
bool operator< (const ArrayIterator< Tr > &rhs) const
 
bool operator> (const ArrayIterator< Tr > &rhs) const
 
bool operator<= (const ArrayIterator< Tr > &rhs) const
 
bool operator>= (const ArrayIterator< Tr > &rhs) const
 

Member Typedef Documentation

◆ CppType

template <class Tr >
using Glib::Container_Helpers::ArrayIterator< Tr >::CppType = typename Tr::CppType

◆ CType

template <class Tr >
using Glib::Container_Helpers::ArrayIterator< Tr >::CType = typename Tr::CType

◆ difference_type

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ ArrayIterator()

template <class Tr >
Glib::Container_Helpers::ArrayIterator< Tr >::ArrayIterator ( const CType pos)
inlineexplicit

Member Function Documentation

◆ operator!=()

template <class Tr >
bool Glib::Container_Helpers::ArrayIterator< Tr >::operator!= ( const ArrayIterator< Tr > &  rhs) const
inline

◆ operator*()

◆ operator+()

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator+=()

◆ operator-() [1/2]

◆ operator-() [2/2]

◆ operator-=()

◆ operator<()

template <class Tr >
bool Glib::Container_Helpers::ArrayIterator< Tr >::operator< ( const ArrayIterator< Tr > &  rhs) const
inline

◆ operator<=()

template <class Tr >
bool Glib::Container_Helpers::ArrayIterator< Tr >::operator<= ( const ArrayIterator< Tr > &  rhs) const
inline

◆ operator==()

template <class Tr >
bool Glib::Container_Helpers::ArrayIterator< Tr >::operator== ( const ArrayIterator< Tr > &  rhs) const
inline

◆ operator>()

template <class Tr >
bool Glib::Container_Helpers::ArrayIterator< Tr >::operator> ( const ArrayIterator< Tr > &  rhs) const
inline

◆ operator>=()

template <class Tr >
bool Glib::Container_Helpers::ArrayIterator< Tr >::operator>= ( const ArrayIterator< Tr > &  rhs) const
inline

◆ operator[]()