The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
IntrusiveListNode< T > Struct Template Reference

#include <IntrusiveList.h>

+ Collaboration diagram for IntrusiveListNode< T >:

Public Member Functions

IntrusiveListNode * next ()
 
IntrusiveListNode * previous ()
 

Public Attributes

IntrusiveListNode * m_Next = nullptr
 
IntrusiveListNode * m_Previous = nullptr
 
IntrusiveListNode * m_Owner = nullptr
 
T * value = nullptr
 

Detailed Description

template<typename T>
struct IntrusiveListNode< T >

A caller-owned link embedded in an IntrusiveList element.

Definition at line 29 of file IntrusiveList.h.

Member Function Documentation

◆ next()

template<typename T >
IntrusiveListNode * IntrusiveListNode< T >::next ( )
inline

Definition at line 30 of file IntrusiveList.h.

◆ previous()

template<typename T >
IntrusiveListNode * IntrusiveListNode< T >::previous ( )
inline

Definition at line 34 of file IntrusiveList.h.

Member Data Documentation

◆ m_Next

template<typename T >
IntrusiveListNode* IntrusiveListNode< T >::m_Next = nullptr

Definition at line 38 of file IntrusiveList.h.

◆ m_Owner

template<typename T >
IntrusiveListNode* IntrusiveListNode< T >::m_Owner = nullptr

Owning list's sentinel, used for constant-time membership checks.

Definition at line 41 of file IntrusiveList.h.

◆ m_Previous

template<typename T >
IntrusiveListNode* IntrusiveListNode< T >::m_Previous = nullptr

Definition at line 39 of file IntrusiveList.h.

◆ value

template<typename T >
T* IntrusiveListNode< T >::value = nullptr

Definition at line 42 of file IntrusiveList.h.


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