Ark Server API (ASA) - Wiki
|
#include <List.h>
Public Types | |
typedef IteratorType< ContainerType, ElementType > | TIterator |
typedef IteratorType< ContainerType, const ElementType > | TConstIterator |
Public Member Functions | |
TLinkedListBase () | |
FORCEINLINE void | Unlink () |
FORCEINLINE void | LinkBefore (ContainerType *Before) |
FORCEINLINE void | LinkAfter (ContainerType *After) |
FORCEINLINE void | LinkReplace (ContainerType *Replace) |
FORCEINLINE void | LinkHead (ContainerType *&Head) |
FORCEINLINE bool | IsLinked () |
FORCEINLINE ContainerType ** | GetPrevLink () const |
FORCEINLINE ContainerType * | GetNextLink () const |
FORCEINLINE ContainerType * | Next () |
Private Attributes | |
ContainerType * | NextLink |
ContainerType ** | PrevLink |
Friends | |
FORCEINLINE friend TIterator | begin (ContainerType &List) |
FORCEINLINE friend TConstIterator | begin (const ContainerType &List) |
FORCEINLINE friend TIterator | end (ContainerType &List) |
FORCEINLINE friend TConstIterator | end (const ContainerType &List) |
Base linked list class, used to implement methods shared by intrusive/non-intrusive linked lists
typedef IteratorType<ContainerType, const ElementType> TLinkedListBase< ContainerType, ElementType, IteratorType >::TConstIterator |
typedef IteratorType<ContainerType, ElementType> TLinkedListBase< ContainerType, ElementType, IteratorType >::TIterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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.
If Head already has an element, this functions like LinkBefore.
Head | Pointer to the head of the linked list - this pointer should be the main reference point for the linked list |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |