Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGstUtils::GListIterator< ListType, IsConst > Struct Template Reference

#include <qglist_helper_p.h>

Inheritance diagram for QGstUtils::GListIterator< ListType, IsConst >:
Collaboration diagram for QGstUtils::GListIterator< ListType, IsConst >:

Public Types

using GListType = std::conditional_t<IsConst, const GList *, GList *>
Public Types inherited from QtMultimediaPrivate::IteratorFacade< GListIterator< ListType, IsConst >, ListType, std::input_iterator_tag, const ListType & >
using iterator_category
using value_type
using reference
using difference_type
using pointer

Public Member Functions

 GListIterator (GListType element=nullptr)
const ListType & dereference () const noexcept
void increment () noexcept
bool equals (const GListIterator &other) const noexcept
Public Member Functions inherited from QtMultimediaPrivate::IteratorFacade< GListIterator< ListType, IsConst >, ListType, std::input_iterator_tag, const ListType & >
constexpr decltype(auto) operator* () const
constexpr GListIterator< ListType, IsConst > & operator++ ()
constexpr GListIterator< ListType, IsConst > & operator-- ()
constexpr GListIterator< ListType, IsConst > & operator+= (N n)
constexpr GListIterator< ListType, IsConst > & operator-= (N n)
constexpr decltype(auto) operator[] (N n) const

Public Attributes

GListType element = nullptr

Detailed Description

template<typename ListType, bool IsConst>
struct QGstUtils::GListIterator< ListType, IsConst >

Definition at line 31 of file qglist_helper_p.h.

Member Typedef Documentation

◆ GListType

template<typename ListType, bool IsConst>
using QGstUtils::GListIterator< ListType, IsConst >::GListType = std::conditional_t<IsConst, const GList *, GList *>

Definition at line 35 of file qglist_helper_p.h.

Constructor & Destructor Documentation

◆ GListIterator()

template<typename ListType, bool IsConst>
QGstUtils::GListIterator< ListType, IsConst >::GListIterator ( GListType element = nullptr)
inlineexplicit

Definition at line 37 of file qglist_helper_p.h.

Member Function Documentation

◆ dereference()

template<typename ListType, bool IsConst>
const ListType & QGstUtils::GListIterator< ListType, IsConst >::dereference ( ) const
inlinenoexcept

Definition at line 39 of file qglist_helper_p.h.

◆ equals()

template<typename ListType, bool IsConst>
bool QGstUtils::GListIterator< ListType, IsConst >::equals ( const GListIterator< ListType, IsConst > & other) const
inlinenoexcept

Definition at line 50 of file qglist_helper_p.h.

◆ increment()

template<typename ListType, bool IsConst>
void QGstUtils::GListIterator< ListType, IsConst >::increment ( )
inlinenoexcept

Definition at line 44 of file qglist_helper_p.h.

Member Data Documentation

◆ element

template<typename ListType, bool IsConst>
GListType QGstUtils::GListIterator< ListType, IsConst >::element = nullptr

Definition at line 52 of file qglist_helper_p.h.


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