Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGstUtils::GListIterator< ListType > Struct Template Reference

#include <qglist_helper_p.h>

+ Collaboration diagram for QGstUtils::GListIterator< ListType >:

Public Types

using difference_type = std::ptrdiff_t
 
using value_type = ListType
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 GListIterator (const GList *element=nullptr)
 
const ListType & operator* () const noexcept
 
const ListType * operator-> () const noexcept
 
GListIteratoroperator++ () noexcept
 
GListIterator operator++ (int n) noexcept
 
bool operator== (const GListIterator &r) const noexcept
 
bool operator!= (const GListIterator &r) const noexcept
 

Public Attributes

const GList * element = nullptr
 

Detailed Description

template<typename ListType>
struct QGstUtils::GListIterator< ListType >

Definition at line 28 of file qglist_helper_p.h.

Member Typedef Documentation

◆ difference_type

template<typename ListType >
using QGstUtils::GListIterator< ListType >::difference_type = std::ptrdiff_t

Definition at line 56 of file qglist_helper_p.h.

◆ iterator_category

template<typename ListType >
using QGstUtils::GListIterator< ListType >::iterator_category = std::input_iterator_tag

Definition at line 60 of file qglist_helper_p.h.

◆ pointer

template<typename ListType >
using QGstUtils::GListIterator< ListType >::pointer = value_type *

Definition at line 58 of file qglist_helper_p.h.

◆ reference

template<typename ListType >
using QGstUtils::GListIterator< ListType >::reference = value_type &

Definition at line 59 of file qglist_helper_p.h.

◆ value_type

template<typename ListType >
using QGstUtils::GListIterator< ListType >::value_type = ListType

Definition at line 57 of file qglist_helper_p.h.

Constructor & Destructor Documentation

◆ GListIterator()

template<typename ListType >
QGstUtils::GListIterator< ListType >::GListIterator ( const GList * element = nullptr)
inlineexplicit

Definition at line 30 of file qglist_helper_p.h.

Member Function Documentation

◆ operator!=()

template<typename ListType >
bool QGstUtils::GListIterator< ListType >::operator!= ( const GListIterator< ListType > & r) const
inlinenoexcept

Definition at line 54 of file qglist_helper_p.h.

References QGstUtils::GListIterator< ListType >::element.

◆ operator*()

template<typename ListType >
const ListType & QGstUtils::GListIterator< ListType >::operator* ( ) const
inlinenoexcept

Definition at line 32 of file qglist_helper_p.h.

References QGstUtils::GListIterator< ListType >::operator->().

+ Here is the call graph for this function:

◆ operator++() [1/2]

template<typename ListType >
GListIterator & QGstUtils::GListIterator< ListType >::operator++ ( )
inlinenoexcept

Definition at line 38 of file qglist_helper_p.h.

References QGstUtils::GListIterator< ListType >::element.

◆ operator++() [2/2]

template<typename ListType >
GListIterator QGstUtils::GListIterator< ListType >::operator++ ( int n)
inlinenoexcept

Definition at line 45 of file qglist_helper_p.h.

References i.

◆ operator->()

template<typename ListType >
const ListType * QGstUtils::GListIterator< ListType >::operator-> ( ) const
inlinenoexcept

Definition at line 33 of file qglist_helper_p.h.

References QGstUtils::GListIterator< ListType >::element.

Referenced by QGstUtils::GListIterator< ListType >::operator*().

+ Here is the caller graph for this function:

◆ operator==()

template<typename ListType >
bool QGstUtils::GListIterator< ListType >::operator== ( const GListIterator< ListType > & r) const
inlinenoexcept

Definition at line 53 of file qglist_helper_p.h.

References QGstUtils::GListIterator< ListType >::element.

Member Data Documentation

◆ element


The documentation for this struct was generated from the following file: