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
QIntrusiveListNode Class Reference

#include <qintrusivelist_p.h>

+ Collaboration diagram for QIntrusiveListNode:

Public Member Functions

 ~QIntrusiveListNode ()
 Destroy the QIntrusiveListNode.
 
void remove ()
 If in a list, remove this node otherwise do nothing.
 
bool isInList () const
 Returns true if this node is in a list, false otherwise.
 

Friends

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

Detailed Description

Definition at line 22 of file qintrusivelist_p.h.

Constructor & Destructor Documentation

◆ ~QIntrusiveListNode()

QIntrusiveListNode::~QIntrusiveListNode ( )
inline

Destroy the QIntrusiveListNode.

If the node is in a list, it is removed.

Definition at line 25 of file qintrusivelist_p.h.

References remove().

+ Here is the call graph for this function:

Member Function Documentation

◆ isInList()

bool QIntrusiveListNode::isInList ( ) const
inline

Returns true if this node is in a list, false otherwise.

Definition at line 35 of file qintrusivelist_p.h.

Referenced by QQmlIncubatorPrivate::clear().

+ Here is the caller graph for this function:

◆ remove()

void QIntrusiveListNode::remove ( )
inline

If in a list, remove this node otherwise do nothing.

Definition at line 27 of file qintrusivelist_p.h.

Referenced by QIntrusiveList< N, member >::~QIntrusiveList(), ~QIntrusiveListNode(), QV4::Heap::VariantObject::addVmePropertyReference(), QQmlIncubatorPrivate::clear(), QIntrusiveList< N, member >::insert(), and QIntrusiveList< N, member >::remove().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QIntrusiveList

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

Definition at line 39 of file qintrusivelist_p.h.


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