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
QFuture< T >::const_iterator Class Reference

#include <qfuture.h>

Collaboration diagram for QFuture< T >::const_iterator:

Public Types

typedef std::bidirectional_iterator_tag iterator_category
typedef qptrdiff difference_type
typedef T value_type
typedef const T * pointer
typedef const T & reference

Public Member Functions

 const_iterator ()=default
 const_iterator (QFuture const *const _future, int _index)
 const_iterator (const const_iterator &o)
const_iteratoroperator= (const const_iterator &o)
const T & operator* () const
const T * operator-> () const
const_iteratoroperator++ ()
const_iteratoroperator-- ()
const_iterator operator++ (int)
const_iterator operator-- (int)
const_iterator operator+ (int j) const
const_iterator operator- (int j) const
const_iteratoroperator+= (int j)
const_iteratoroperator-= (int j)

Friends

const_iterator operator+ (int j, const_iterator k)
bool comparesEqual (const const_iterator &lhs, const const_iterator &rhs) noexcept

Detailed Description

template<typename T>
class QFuture< T >::const_iterator

Definition at line 168 of file qfuture.h.

Member Typedef Documentation

◆ difference_type

template<typename T>
typedef qptrdiff QFuture< T >::const_iterator::difference_type

Definition at line 175 of file qfuture.h.

◆ iterator_category

template<typename T>
typedef std::bidirectional_iterator_tag QFuture< T >::const_iterator::iterator_category

Definition at line 174 of file qfuture.h.

◆ pointer

template<typename T>
typedef const T* QFuture< T >::const_iterator::pointer

Definition at line 177 of file qfuture.h.

◆ reference

template<typename T>
typedef const T& QFuture< T >::const_iterator::reference

Definition at line 178 of file qfuture.h.

◆ value_type

template<typename T>
typedef T QFuture< T >::const_iterator::value_type

Definition at line 176 of file qfuture.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

template<typename T>
QFuture< T >::const_iterator::const_iterator ( )
default

◆ const_iterator() [2/3]

template<typename T>
QFuture< T >::const_iterator::const_iterator ( QFuture const *const _future,
int _index )
inline

Definition at line 181 of file qfuture.h.

References const_iterator().

Referenced by const_iterator().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ const_iterator() [3/3]

template<typename T>
QFuture< T >::const_iterator::const_iterator ( const const_iterator & o)
inline

Definition at line 183 of file qfuture.h.

Member Function Documentation

◆ operator*()

template<typename T>
const T & QFuture< T >::const_iterator::operator* ( ) const
inline

Definition at line 186 of file qfuture.h.

◆ operator+()

template<typename T>
const_iterator QFuture< T >::const_iterator::operator+ ( int j) const
inline

Definition at line 204 of file qfuture.h.

◆ operator++() [1/2]

template<typename T>
const_iterator & QFuture< T >::const_iterator::operator++ ( )
inline

Definition at line 188 of file qfuture.h.

◆ operator++() [2/2]

template<typename T>
const_iterator QFuture< T >::const_iterator::operator++ ( int )
inline

Definition at line 192 of file qfuture.h.

◆ operator+=()

template<typename T>
const_iterator & QFuture< T >::const_iterator::operator+= ( int j)
inline

Definition at line 208 of file qfuture.h.

◆ operator-()

template<typename T>
const_iterator QFuture< T >::const_iterator::operator- ( int j) const
inline

Definition at line 206 of file qfuture.h.

◆ operator--() [1/2]

template<typename T>
const_iterator & QFuture< T >::const_iterator::operator-- ( )
inline

Definition at line 190 of file qfuture.h.

◆ operator--() [2/2]

template<typename T>
const_iterator QFuture< T >::const_iterator::operator-- ( int )
inline

Definition at line 198 of file qfuture.h.

◆ operator-=()

template<typename T>
const_iterator & QFuture< T >::const_iterator::operator-= ( int j)
inline

Definition at line 210 of file qfuture.h.

◆ operator->()

template<typename T>
const T * QFuture< T >::const_iterator::operator-> ( ) const
inline

Definition at line 187 of file qfuture.h.

◆ operator=()

template<typename T>
const_iterator & QFuture< T >::const_iterator::operator= ( const const_iterator & o)
inline

Definition at line 184 of file qfuture.h.

References future.

◆ comparesEqual

template<typename T>
bool comparesEqual ( const const_iterator & lhs,
const const_iterator & rhs )
friend

Definition at line 216 of file qfuture.h.

◆ operator+

template<typename T>
const_iterator operator+ ( int j,
const_iterator k )
friend

Definition at line 212 of file qfuture.h.


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