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

#include <glibmm/vectorutils.h>

Public Types

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

Public Member Functions

 ListIterator (const GList * node)
 
value_type operator* () const
 
ListIterator< Tr > & operator++ ()
 
const ListIterator< Tr > operator++ (int)
 
bool operator== (const ListIterator< Tr > & rhs) const
 
bool operator!= (const ListIterator< Tr > & rhs) const
 

Member Typedef Documentation

◆ CppType

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

◆ CType

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

◆ difference_type

template <class Tr >
using Glib::Container_Helpers::ListIterator< Tr >::difference_type = std::ptrdiff_t

◆ iterator_category

template <class Tr >
using Glib::Container_Helpers::ListIterator< Tr >::iterator_category = std::forward_iterator_tag

◆ pointer

template <class Tr >
using Glib::Container_Helpers::ListIterator< Tr >::pointer = void

◆ reference

template <class Tr >
using Glib::Container_Helpers::ListIterator< Tr >::reference = value_type

◆ value_type

template <class Tr >
using Glib::Container_Helpers::ListIterator< Tr >::value_type = CppType

Constructor & Destructor Documentation

◆ ListIterator()

template <class Tr >
Glib::Container_Helpers::ListIterator< Tr >::ListIterator ( const GList *  node)
inlineexplicit

Member Function Documentation

◆ operator!=()

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

◆ operator*()

template <class Tr >
value_type Glib::Container_Helpers::ListIterator< Tr >::operator* ( ) const
inline

◆ operator++() [1/2]

template <class Tr >
ListIterator< Tr > & Glib::Container_Helpers::ListIterator< Tr >::operator++ ( )
inline

◆ operator++() [2/2]

template <class Tr >
const ListIterator< Tr > Glib::Container_Helpers::ListIterator< Tr >::operator++ ( int  )
inline

◆ operator==()

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