Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QIntrusiveListNode Class Reference

#include <qintrusivelist_p.h>

+ Collaboration diagram for QIntrusiveListNode:

Public Member Functions

 QIntrusiveListNode ()
 Create a QIntrusiveListNode.
 
 ~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.
 

Public Attributes

QIntrusiveListNode_next = nullptr
 
QIntrusiveListNode ** _prev = nullptr
 

Detailed Description

Definition at line 65 of file qintrusivelist_p.h.

Constructor & Destructor Documentation

◆ QIntrusiveListNode()

QIntrusiveListNode::QIntrusiveListNode ( )
inline

Create a QIntrusiveListNode.

Definition at line 216 of file qintrusivelist_p.h.

◆ ~QIntrusiveListNode()

QIntrusiveListNode::~QIntrusiveListNode ( )
inline

Destroy the QIntrusiveListNode.

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

Definition at line 220 of file qintrusivelist_p.h.

References QIntrusiveList< N, member >::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 233 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 225 of file qintrusivelist_p.h.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ _next

QIntrusiveListNode* QIntrusiveListNode::_next = nullptr

◆ _prev

QIntrusiveListNode** QIntrusiveListNode::_prev = nullptr

Definition at line 75 of file qintrusivelist_p.h.

Referenced by QIntrusiveList< N, member >::insert().


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