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
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 ()
 
 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
 
bool operator!= (const const_iterator &other) const
 
bool operator== (const const_iterator &o) 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)
 

Detailed Description

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

Definition at line 166 of file qfuture.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 173 of file qfuture.h.

◆ iterator_category

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

Definition at line 172 of file qfuture.h.

◆ pointer

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

Definition at line 175 of file qfuture.h.

◆ reference

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

Definition at line 176 of file qfuture.h.

◆ value_type

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

Definition at line 174 of file qfuture.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

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

Definition at line 178 of file qfuture.h.

Referenced by QFuture< T >::const_iterator::operator+(), and QFuture< T >::const_iterator::operator-().

+ Here is the caller graph for this function:

◆ const_iterator() [2/3]

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

Definition at line 179 of file qfuture.h.

◆ const_iterator() [3/3]

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

Definition at line 181 of file qfuture.h.

Member Function Documentation

◆ operator!=()

template<typename T >
bool QFuture< T >::const_iterator::operator!= ( const const_iterator & other) const
inline

Definition at line 186 of file qfuture.h.

References other().

Referenced by QFuture< T >::const_iterator::operator==().

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

◆ operator*()

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

Definition at line 184 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.

References QFuture< T >::const_iterator::const_iterator(), and j.

+ Here is the call graph for this function:

◆ 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.

References j.

◆ operator-()

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

Definition at line 206 of file qfuture.h.

References QFuture< T >::const_iterator::const_iterator(), and j.

+ Here is the call graph for this function:

◆ 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.

References j.

◆ operator->()

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

Definition at line 185 of file qfuture.h.

◆ operator=()

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

Definition at line 182 of file qfuture.h.

References o.

◆ operator==()

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

Definition at line 187 of file qfuture.h.

References o, and QFuture< T >::const_iterator::operator!=().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ 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: