TDoubleLinkedList

Double linked list.

Windows
MacOS
Linux

Inheritance Hierarchy

TDoubleLinkedList

FEditPropertyChain

References

Module

Core

Header

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

Include

#include "Containers/List.h"

Syntax

template<class ElementType>
class TDoubleLinkedList

Remarks

Double linked list.

Constructors

Name Description

Public function

TDoubleLinkedList()

Constructors.

Destructors

Name Description

Public function Virtual

~TDoubleLinkedList()

Destructor

Functions

Name Description

Public function

bool

 

AddHead

(
    TDoubleLinkedListNode* NewNode
)

Public function

bool

 

AddHead

(
    const ElementType& InElement
)

Add the specified value to the beginning of the list, making that value the new head of the list.

Public function

bool

 

AddTail

(
    const ElementType& InElement
)

Append the specified value to the end of the list

Public function

bool

 

AddTail

(
    TDoubleLinkedListNode* NewNode
)

Public function

bool

 

Contains

(
    const ElementType& InElement
)

Public function

void

 

Empty()

Removes all nodes from the list.

Public function

TDoubleLinke...

 

FindNode

(
    const ElementType& InElement
)

Finds the node corresponding to the value specified

Public function Const

TDoubleLinke...

 

GetHead()

Returns the node at the head of the list.

Public function Const

TDoubleLinke...

 

GetTail()

Returns the node at the end of the list.

Public function

bool

 

InsertNode

(
    const ElementType& InElement,
    TDoubleLinkedListNode* NodeToI...
)

Insert the specified value into the list at an arbitrary point.

Public function

bool

 

InsertNode

(
    TDoubleLinkedListNode* NewNode,
    TDoubleLinkedListNode* NodeToI...
)

Public function Const

int32

 

Num()

Returns the number of items in the list.

Public function

void

 

RemoveNode

(
    TDoubleLinkedListNode* NodeToR...,
    bool bDeleteNode
)

Removes the node specified.

Public function

void

 

RemoveNode

(
    const ElementType& InElement
)

Remove the node corresponding to InElement.

Protected function Virtual

void

 

SetListSize

(
    int32 NewListSize
)

Updates the size reported by Num().

Classes

Name

Description

Public class

TDoubleLinkedListNode

Typedefs

Name

Description

TConstIterator

TIterator

Used to iterate over the elements of a linked list.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss