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
QDoubleEndedList< N > Class Template Reference

#include <qdoubleendedlist_p.h>

+ Collaboration diagram for QDoubleEndedList< N >:

Classes

class  base_iterator
 

Public Types

using iterator = base_iterator<N, QInheritedListNode>
 
using const_iterator = base_iterator<const N, const QInheritedListNode>
 

Public Member Functions

 QDoubleEndedList ()
 
 ~QDoubleEndedList ()
 
bool isEmpty () const
 
void prepend (N *n)
 
void append (N *n)
 
void remove (N *n)
 
bool contains (const N *n) const
 
const N * first () const
 
N * first ()
 
const N * last () const
 
N * last ()
 
const N * next (const N *current) const
 
N * next (N *current)
 
const N * prev (const N *current) const
 
N * prev (N *current)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
qsizetype count () const
 

Detailed Description

template<class N>
class QDoubleEndedList< N >

Definition at line 53 of file qdoubleendedlist_p.h.

Member Typedef Documentation

◆ const_iterator

template<class N >
using QDoubleEndedList< N >::const_iterator = base_iterator<const N, const QInheritedListNode>

Definition at line 158 of file qdoubleendedlist_p.h.

◆ iterator

template<class N >
using QDoubleEndedList< N >::iterator = base_iterator<N, QInheritedListNode>

Definition at line 157 of file qdoubleendedlist_p.h.

Constructor & Destructor Documentation

◆ QDoubleEndedList()

template<class N >
QDoubleEndedList< N >::QDoubleEndedList ( )
inline

Definition at line 56 of file qdoubleendedlist_p.h.

◆ ~QDoubleEndedList()

template<class N >
QDoubleEndedList< N >::~QDoubleEndedList ( )
inline

Definition at line 63 of file qdoubleendedlist_p.h.

References QDoubleEndedList< N >::isEmpty().

+ Here is the call graph for this function:

Member Function Documentation

◆ append()

template<class N >
void QDoubleEndedList< N >::append ( N * n)
inline

Definition at line 91 of file qdoubleendedlist_p.h.

Referenced by QAnimationGroupJob::appendAnimation().

+ Here is the caller graph for this function:

◆ begin() [1/2]

template<class N >
iterator QDoubleEndedList< N >::begin ( )
inline

Definition at line 194 of file qdoubleendedlist_p.h.

◆ begin() [2/2]

template<class N >
const_iterator QDoubleEndedList< N >::begin ( ) const
inline

Definition at line 206 of file qdoubleendedlist_p.h.

◆ contains()

template<class N >
bool QDoubleEndedList< N >::contains ( const N * n) const
inline

Definition at line 112 of file qdoubleendedlist_p.h.

Referenced by QDoubleEndedList< N >::next(), QDoubleEndedList< N >::next(), QDoubleEndedList< N >::prev(), QDoubleEndedList< N >::prev(), and QDoubleEndedList< N >::remove().

+ Here is the caller graph for this function:

◆ count()

template<class N >
qsizetype QDoubleEndedList< N >::count ( ) const
inline

Definition at line 218 of file qdoubleendedlist_p.h.

◆ end() [1/2]

template<class N >
iterator QDoubleEndedList< N >::end ( )
inline

Definition at line 200 of file qdoubleendedlist_p.h.

◆ end() [2/2]

template<class N >
const_iterator QDoubleEndedList< N >::end ( ) const
inline

Definition at line 212 of file qdoubleendedlist_p.h.

◆ first() [1/2]

template<class N >
N * QDoubleEndedList< N >::first ( )
inline

Definition at line 161 of file qdoubleendedlist_p.h.

◆ first() [2/2]

template<class N >
const N * QDoubleEndedList< N >::first ( ) const
inline

Definition at line 160 of file qdoubleendedlist_p.h.

Referenced by QAnimationGroupJob::~QAnimationGroupJob(), QSequentialAnimationGroupJob::animationInserted(), and QAnimationGroupJob::clear().

+ Here is the caller graph for this function:

◆ isEmpty()

template<class N >
bool QDoubleEndedList< N >::isEmpty ( ) const
inline

◆ last() [1/2]

template<class N >
N * QDoubleEndedList< N >::last ( )
inline

Definition at line 164 of file qdoubleendedlist_p.h.

◆ last() [2/2]

template<class N >
const N * QDoubleEndedList< N >::last ( ) const
inline

Definition at line 163 of file qdoubleendedlist_p.h.

◆ next() [1/2]

template<class N >
const N * QDoubleEndedList< N >::next ( const N * current) const
inline

Definition at line 166 of file qdoubleendedlist_p.h.

References QDoubleEndedList< N >::contains(), and Q_ASSERT.

Referenced by QSequentialAnimationGroupJob::animationInserted(), QAnimationGroupJob::removeAnimation(), and QSequentialAnimationGroupJob::uncontrolledAnimationFinished().

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

◆ next() [2/2]

template<class N >
N * QDoubleEndedList< N >::next ( N * current)
inline

Definition at line 173 of file qdoubleendedlist_p.h.

References QDoubleEndedList< N >::contains(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ prepend()

template<class N >
void QDoubleEndedList< N >::prepend ( N * n)
inline

Definition at line 77 of file qdoubleendedlist_p.h.

Referenced by QAnimationGroupJob::prependAnimation().

+ Here is the caller graph for this function:

◆ prev() [1/2]

template<class N >
const N * QDoubleEndedList< N >::prev ( const N * current) const
inline

Definition at line 180 of file qdoubleendedlist_p.h.

References QDoubleEndedList< N >::contains(), and Q_ASSERT.

Referenced by QAnimationGroupJob::removeAnimation(), and QSequentialAnimationGroupJob::uncontrolledAnimationFinished().

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

◆ prev() [2/2]

template<class N >
N * QDoubleEndedList< N >::prev ( N * current)
inline

Definition at line 187 of file qdoubleendedlist_p.h.

References QDoubleEndedList< N >::contains(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ remove()

template<class N >
void QDoubleEndedList< N >::remove ( N * n)
inline

Definition at line 105 of file qdoubleendedlist_p.h.

References QDoubleEndedList< N >::contains(), and Q_ASSERT.

Referenced by QAnimationGroupJob::ungroupChild().

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

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