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

#include <T2SList.h>

Inheritance diagram for T2SListNodeWrapper< T >:
T2SList< T, Unknown >::Node T2GenericSList::Node

Public Types

using Type = T
 

Public Member Functions

constexpr T2SListNodeWrapper ()=default
 
constexpr T2SListNodeWrapper (T *a_pValue)
 
 ~T2SListNodeWrapper ()=default
 
constexpr T * GetNodeValue ()
 
constexpr const T * GetNodeValue () const
 
constexpr T * operator-> ()
 
constexpr const T * operator-> () const
 
constexpr void SetNodeValue (T *a_pValue)
 
constexpr T2SListNodeWrapperoperator= (T *a_pValue)
 
- Public Member Functions inherited from T2SList< T, Unknown >::Node
T * Next () const
 
T * Prev () const
 
- Public Member Functions inherited from T2GenericSList::Node
 Node ()
 
void Reset ()
 
NodeNext () const
 
TBOOL IsLinked () const
 
void InsertAfter (Node *a_pNode)
 

Detailed Description

template<typename T>
class T2SListNodeWrapper< T >

Definition at line 268 of file T2SList.h.

Member Typedef Documentation

◆ Type

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

Definition at line 271 of file T2SList.h.

Constructor & Destructor Documentation

◆ T2SListNodeWrapper() [1/2]

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

◆ T2SListNodeWrapper() [2/2]

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

Definition at line 277 of file T2SList.h.

278 : m_pValue( a_pValue ) {}

◆ ~T2SListNodeWrapper()

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

Member Function Documentation

◆ GetNodeValue() [1/2]

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

Definition at line 282 of file T2SList.h.

282{ return m_pValue; }

◆ GetNodeValue() [2/2]

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

Definition at line 283 of file T2SList.h.

283{ return m_pValue; }

◆ operator->() [1/2]

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

Definition at line 284 of file T2SList.h.

284{ return m_pValue; }

◆ operator->() [2/2]

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

Definition at line 285 of file T2SList.h.

285{ return m_pValue; }

◆ operator=()

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

Definition at line 289 of file T2SList.h.

290 {
292 return *this;
293 }
constexpr void SetNodeValue(T *a_pValue)
Definition T2SList.h:287

◆ SetNodeValue()

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

Definition at line 287 of file T2SList.h.

287{ m_pValue = a_pValue; }

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