TLinkedListBase

Base linked list class, used to implement methods shared by intrusive/non-intrusive linked lists

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Containers/List.h"

Syntax

template<class ContainerType, class ElementType, template< class, class > class IteratorType>
class TLinkedListBase

Remarks

Base linked list class, used to implement methods shared by intrusive/non-intrusive linked lists

Constructors

Name Description

Public function

TLinkedListBase()

Default constructor (empty list)

Functions

Name Description

Public function Const

ContainerTyp...

 

GetNextLink()

Public function Const

ContainerTyp...

 

GetPrevLink()

Public function

bool

 

IsLinked()

Returns whether element is currently linked.

Public function

void

 

LinkAfter

(
    ContainerType* After
)

Adds this element to the linked list, after the specified element

Public function

void

 

LinkBefore

(
    ContainerType* Before
)

Adds this element to a list, before the given element.

Public function

void

 

LinkHead

(
    ContainerType*& Head
)

Adds this element as the head of the linked list, linking the input Head pointer to this element, so that when the element is linked/unlinked, the Head linked list pointer will be correctly updated.

Public function

void

 

LinkReplace

(
    ContainerType* Replace
)

Adds this element to the linked list, replacing the specified element.

Public function

ContainerTyp...

 

Next()

Public function

void

 

Unlink()

Removes this element from the list in constant time.

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