TIntrusiveDoubleLinkedListNode

Node of an intrusive double linked list Structs/classes must inherit this, to use it, e.g: struct FMyStruct : public TIntrusiveDoubleLinkedListNode [TIntrusiveDoubleLinkedListNode](API\Runtime\Core\Containers\TIntrusiveDoubleLinkedListNode) can be inherited multiple times, ex: if ElementType needs to be stored in several lists at once by specifying a different ContainerType template parameter to distinguish the nodes.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/IntrusiveDoubleLinkedList.h

Include

#include "Containers/IntrusiveDoubleLinkedList.h"

Syntax

template<class InElementType, class ContainerType>
class TIntrusiveDoubleLinkedListNode

Remarks

Node of an intrusive double linked list Structs/classes must inherit this, to use it, e.g: struct FMyStruct : public TIntrusiveDoubleLinkedListNode<FMyStruct> TIntrusiveDoubleLinkedListNode can be inherited multiple times, ex: if ElementType needs to be stored in several lists at once by specifying a different ContainerType template parameter to distinguish the nodes.

Variables

Name Description

Protected variable

ElementType ...

 

Next

Protected variable

ElementType ...

 

Prev

Constructors

Functions

Name Description

Public function Const

ElementType ...

 

GetNext()

Public function Const

ElementType ...

 

GetPrev()

Protected function

ElementType ...

 

GetThisElement()

Protected function Const

const Elemen...

 

GetThisElement()

Public function

void

 

InsertAfter

(
    ElementType* NewPrev
)

Insert this node after the specified node

Public function

void

 

InsertBefore

(
    ElementType* NewNext
)

Insert this node before the specified node

Public function Const

bool

 

IsInList()

Public function

void

 

Remove()

Removes this element from the list in constant time.

Public function

void

 

Reset()

Typedefs

Name

Description

ElementType

NodeType