glibmm 2.80.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< Troperator++ (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

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

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*()

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator==()

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