engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TLinkedList< ElementType > 模板类 参考

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

#include <List.h>

+ 类 TLinkedList< ElementType > 继承关系图:

Public 成员函数

 TLinkedList ()
 Default constructor (empty list).
 
 TLinkedList (const ElementType &InElement)
 Creates a new linked list with a single element. 更多...
 
- Public 成员函数 继承自 TLinkedListBase< TLinkedList< ElementType >, ElementType, TLinkedListIterator >
FORCEINLINE bool IsLinked ()
 Returns whether element is currently linked. 更多...
 
FORCEINLINE void LinkAfter (TLinkedList< ElementType > *After)
 Adds this element to the linked list, after the specified element 更多...
 
FORCEINLINE void LinkBefore (TLinkedList< ElementType > *Before)
 Adds this element to a list, before the given element. 更多...
 
FORCEINLINE void LinkHead (TLinkedList< ElementType > *&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. 更多...
 
FORCEINLINE void LinkReplace (TLinkedList< ElementType > *Replace)
 Adds this element to the linked list, replacing the specified element. 更多...
 
 TLinkedListBase ()
 Default constructor (empty list)
 
FORCEINLINE void Unlink ()
 Removes this element from the list in constant time. 更多...
 

额外继承的成员函数

- Public 类型 继承自 TLinkedListBase< TLinkedList< ElementType >, ElementType, TLinkedListIterator >
typedef TLinkedListIterator< TLinkedList< ElementType >, ElementType > TIterator
 Used to iterate over the elements of a linked list.
 

详细描述

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)

构造及析构函数说明

◆ TLinkedList()

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

Creates a new linked list with a single element.

参数
InElementThe element to add to the list.

该类的文档由以下文件生成: