UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TLinkedList< ElementType > Class Template Reference

#include <List.h>

+ Inheritance diagram for TLinkedList< ElementType >:

Public Member Functions

 TLinkedList ()
 
 TLinkedList (const ElementType &InElement)
 
UE_FORCEINLINE_HINT ElementType * operator-> ()
 
UE_FORCEINLINE_HINT const ElementType * operator-> () const
 
UE_FORCEINLINE_HINT ElementType & operator* ()
 
UE_FORCEINLINE_HINT const ElementType & operator* () const
 
- Public Member Functions inherited from TLinkedListBase< TLinkedList< ElementType >, ElementType, TLinkedListIterator >
 TLinkedListBase ()
 
void Unlink ()
 
void LinkBefore (TLinkedList< ElementType > *Before)
 
void LinkAfter (TLinkedList< ElementType > *After)
 
void LinkReplace (TLinkedList< ElementType > *Replace)
 
void LinkHead (TLinkedList< ElementType > *&Head)
 
UE_FORCEINLINE_HINT bool IsLinked ()
 
UE_FORCEINLINE_HINT TLinkedList< ElementType > ** GetPrevLink () const
 
UE_FORCEINLINE_HINT TLinkedList< ElementType > * GetNextLink () const
 
UE_FORCEINLINE_HINT TLinkedList< ElementType > * Next ()
 

Additional Inherited Members

- Public Types inherited from TLinkedListBase< TLinkedList< ElementType >, ElementType, TLinkedListIterator >
typedef TLinkedListIterator< TLinkedList< ElementType >, ElementType > TIterator
 
typedef TLinkedListIterator< TLinkedList< ElementType >, const ElementType > TConstIterator
 

Detailed Description

template<class ElementType>
class TLinkedList< ElementType >

Encapsulates a link in a single linked list with constant access time.

This linked list is non-intrusive, i.e. it stores a copy of the element passed to it (typically a pointer)

Constructor & Destructor Documentation

◆ TLinkedList() [1/2]

template<class ElementType >
TLinkedList< ElementType >::TLinkedList ( )
inline

Default constructor (empty list).

◆ TLinkedList() [2/2]

template<class ElementType >
TLinkedList< ElementType >::TLinkedList ( const ElementType &  InElement)
inlineexplicit

Creates a new linked list with a single element.

Parameters
InElementThe element to add to the list.

Member Function Documentation

◆ operator*() [1/2]

template<class ElementType >
UE_FORCEINLINE_HINT ElementType & TLinkedList< ElementType >::operator* ( )
inline

◆ operator*() [2/2]

template<class ElementType >
UE_FORCEINLINE_HINT const ElementType & TLinkedList< ElementType >::operator* ( ) const
inline

◆ operator->() [1/2]

template<class ElementType >
UE_FORCEINLINE_HINT ElementType * TLinkedList< ElementType >::operator-> ( )
inline

◆ operator->() [2/2]

template<class ElementType >
UE_FORCEINLINE_HINT const ElementType * TLinkedList< ElementType >::operator-> ( ) const
inline

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