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
QmlIR::PoolList< T >::Iterator Struct Reference

#include <qqmlirbuilder_p.h>

+ Collaboration diagram for QmlIR::PoolList< T >::Iterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = T
 
using difference_type = ptrdiff_t
 
using pointer = T *
 
using reference = T &
 

Public Member Functions

 Iterator (T *p)
 
T * operator-> ()
 
const T * operator-> () const
 
T & operator* ()
 
const T & operator* () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 
 operator T* ()
 
 operator const T * () const
 

Public Attributes

T * ptr
 

Detailed Description

template<typename T>
struct QmlIR::PoolList< T >::Iterator

Definition at line 124 of file qqmlirbuilder_p.h.

Member Typedef Documentation

◆ difference_type

template<typename T >
using QmlIR::PoolList< T >::Iterator::difference_type = ptrdiff_t

Definition at line 128 of file qqmlirbuilder_p.h.

◆ iterator_category

template<typename T >
using QmlIR::PoolList< T >::Iterator::iterator_category = std::forward_iterator_tag

Definition at line 126 of file qqmlirbuilder_p.h.

◆ pointer

template<typename T >
using QmlIR::PoolList< T >::Iterator::pointer = T *

Definition at line 129 of file qqmlirbuilder_p.h.

◆ reference

template<typename T >
using QmlIR::PoolList< T >::Iterator::reference = T &

Definition at line 130 of file qqmlirbuilder_p.h.

◆ value_type

template<typename T >
using QmlIR::PoolList< T >::Iterator::value_type = T

Definition at line 127 of file qqmlirbuilder_p.h.

Constructor & Destructor Documentation

◆ Iterator()

template<typename T >
QmlIR::PoolList< T >::Iterator::Iterator ( T * p)
inlineexplicit

Definition at line 134 of file qqmlirbuilder_p.h.

Member Function Documentation

◆ operator const T *()

template<typename T >
QmlIR::PoolList< T >::Iterator::operator const T * ( ) const
inline

Definition at line 172 of file qqmlirbuilder_p.h.

◆ operator T*()

template<typename T >
QmlIR::PoolList< T >::Iterator::operator T* ( )
inline

Definition at line 171 of file qqmlirbuilder_p.h.

◆ operator!=()

template<typename T >
bool QmlIR::PoolList< T >::Iterator::operator!= ( const Iterator & rhs) const
inline

Definition at line 167 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator*() [1/2]

template<typename T >
T & QmlIR::PoolList< T >::Iterator::operator* ( )
inline

Definition at line 144 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator*() [2/2]

template<typename T >
const T & QmlIR::PoolList< T >::Iterator::operator* ( ) const
inline

Definition at line 148 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator++() [1/2]

template<typename T >
Iterator & QmlIR::PoolList< T >::Iterator::operator++ ( )
inline

Definition at line 152 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator++() [2/2]

template<typename T >
Iterator QmlIR::PoolList< T >::Iterator::operator++ ( int )
inline

Definition at line 157 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator->() [1/2]

template<typename T >
T * QmlIR::PoolList< T >::Iterator::operator-> ( )
inline

Definition at line 136 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator->() [2/2]

template<typename T >
const T * QmlIR::PoolList< T >::Iterator::operator-> ( ) const
inline

Definition at line 140 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

◆ operator==()

template<typename T >
bool QmlIR::PoolList< T >::Iterator::operator== ( const Iterator & rhs) const
inline

Definition at line 163 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::Iterator::ptr.

Member Data Documentation

◆ ptr


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