OpenBarnyard
 
Loading...
Searching...
No Matches
T2DListNodeWrapper< T > Class Template Reference

#include <T2DList.h>

Inheritance diagram for T2DListNodeWrapper< T >:
T2GenericDList::Node

Public Types

using Type = T
 

Public Member Functions

constexpr T2DListNodeWrapper ()=default
 
constexpr T2DListNodeWrapper (T *a_pValue)
 
 ~T2DListNodeWrapper ()=default
 
constexpr T * GetNodeValue ()
 
constexpr const T * GetNodeValue () const
 
constexpr T * operator-> ()
 
constexpr const T * operator-> () const
 
constexpr void SetNodeValue (T *a_pValue)
 
constexpr T2DListNodeWrapperoperator= (T *a_pValue)
 
- Public Member Functions inherited from T2GenericDList::Node
constexpr Node ()
 
 ~Node ()
 
TBOOL IsLinked () const
 
void InsertBefore (Node *pInsertBefore)
 
void InsertAfter (Node *pInsertAfter)
 
void Remove ()
 
NodeNext () const
 
NodePrev () const
 

Additional Inherited Members

- Protected Attributes inherited from T2GenericDList::Node
friend T2GenericDList
 

Detailed Description

template<typename T>
class T2DListNodeWrapper< T >

Definition at line 278 of file T2DList.h.

Member Typedef Documentation

◆ Type

template<typename T>
using T2DListNodeWrapper< T >::Type = T

Definition at line 281 of file T2DList.h.

Constructor & Destructor Documentation

◆ T2DListNodeWrapper() [1/2]

template<typename T>
T2DListNodeWrapper< T >::T2DListNodeWrapper ( )
constexprdefault

◆ T2DListNodeWrapper() [2/2]

template<typename T>
T2DListNodeWrapper< T >::T2DListNodeWrapper ( T * a_pValue)
inlineconstexpr

Definition at line 287 of file T2DList.h.

288 : m_pValue( a_pValue ) {}

◆ ~T2DListNodeWrapper()

template<typename T>
T2DListNodeWrapper< T >::~T2DListNodeWrapper ( )
default

Member Function Documentation

◆ GetNodeValue() [1/2]

template<typename T>
T * T2DListNodeWrapper< T >::GetNodeValue ( )
inlineconstexpr

Definition at line 292 of file T2DList.h.

292{ return m_pValue; }

◆ GetNodeValue() [2/2]

template<typename T>
const T * T2DListNodeWrapper< T >::GetNodeValue ( ) const
inlineconstexpr

Definition at line 293 of file T2DList.h.

293{ return m_pValue; }

◆ operator->() [1/2]

template<typename T>
T * T2DListNodeWrapper< T >::operator-> ( )
inlineconstexpr

Definition at line 294 of file T2DList.h.

294{ return m_pValue; }

◆ operator->() [2/2]

template<typename T>
const T * T2DListNodeWrapper< T >::operator-> ( ) const
inlineconstexpr

Definition at line 295 of file T2DList.h.

295{ return m_pValue; }

◆ operator=()

template<typename T>
T2DListNodeWrapper & T2DListNodeWrapper< T >::operator= ( T * a_pValue)
inlineconstexpr

Definition at line 299 of file T2DList.h.

300 {
302 return *this;
303 }
constexpr void SetNodeValue(T *a_pValue)
Definition T2DList.h:297

◆ SetNodeValue()

template<typename T>
void T2DListNodeWrapper< T >::SetNodeValue ( T * a_pValue)
inlineconstexpr

Definition at line 297 of file T2DList.h.

297{ m_pValue = a_pValue; }

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