Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QIntrusiveList< N, member >::iterator Class Reference

#include <qintrusivelist_p.h>

+ Collaboration diagram for QIntrusiveList< N, member >::iterator:

Public Member Functions

 iterator ()
 
 iterator (N *value)
 
N * operator* () const
 
N * operator-> () const
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 
iteratoroperator++ ()
 
iteratorerase ()
 Remove the current object from the list, and return an iterator to the next element.
 

Detailed Description

template<class N, QIntrusiveListNode N::* member>
class QIntrusiveList< N, member >::iterator

Definition at line 35 of file qintrusivelist_p.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<class N , QIntrusiveListNode N::* member>
QIntrusiveList< N, member >::iterator::iterator
inline

Definition at line 79 of file qintrusivelist_p.h.

◆ iterator() [2/2]

template<class N , QIntrusiveListNode N::* member>
QIntrusiveList< N, member >::iterator::iterator ( N *  value)
inline

Definition at line 85 of file qintrusivelist_p.h.

Member Function Documentation

◆ erase()

template<class N , QIntrusiveListNode N::* member>
QIntrusiveList< N, member >::iterator & QIntrusiveList< N, member >::iterator::erase
inline

Remove the current object from the list, and return an iterator to the next element.

Definition at line 122 of file qintrusivelist_p.h.

References QIntrusiveList< N, member >::next(), and QIntrusiveList< N, member >::remove().

+ Here is the call graph for this function:

◆ operator!=()

template<class N , QIntrusiveListNode N::* member>
bool QIntrusiveList< N, member >::iterator::operator!= ( const iterator other) const
inline

Definition at line 109 of file qintrusivelist_p.h.

References other().

+ Here is the call graph for this function:

◆ operator*()

template<class N , QIntrusiveListNode N::* member>
N * QIntrusiveList< N, member >::iterator::operator*
inline

Definition at line 91 of file qintrusivelist_p.h.

◆ operator++()

template<class N , QIntrusiveListNode N::* member>
QIntrusiveList< N, member >::iterator & QIntrusiveList< N, member >::iterator::operator++
inline

Definition at line 115 of file qintrusivelist_p.h.

References QIntrusiveList< N, member >::next().

+ Here is the call graph for this function:

◆ operator->()

template<class N , QIntrusiveListNode N::* member>
N * QIntrusiveList< N, member >::iterator::operator->
inline

Definition at line 97 of file qintrusivelist_p.h.

◆ operator==()

template<class N , QIntrusiveListNode N::* member>
bool QIntrusiveList< N, member >::iterator::operator== ( const iterator other) const
inline

Definition at line 103 of file qintrusivelist_p.h.

References other().

+ Here is the call graph for this function:

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