BaseListNode< T, false > Class Template Reference

#include <baselist.h>

Inheritance diagram for BaseListNode< T, false >:

Detailed Description

template<typename T>
class maxon::BaseListNode< T, false >

Template for list node containing element data of type T (T has a copy constructor that cannot fail).

If you have to define a custom list node (which should rarely be the case) you can simply use the IMPLEMENT_CUSTOM_BASELISTNODE(YourClass, PointerToBaseListPOD) macro that will implement the required methods.

Template Parameters
TContent of the list node.

Public Member Functions

 BaseListNode ()
 
 BaseListNode (const T &src)
 
 BaseListNode (T &&src)
 
T * _GetData () const
 
- Public Member Functions inherited from BaseListNodeBase< BaseListNode< T, false > >
 ~BaseListNodeBase ()
 
void Remove ()
 
void InsertBefore (BaseListNode< T, false > *next)
 
void InsertAfter (BaseListNode< T, false > *prev)
 
const BaseListLinkPOD_GetLink () const
 

Protected Attributes

_data
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ BaseListNode() [1/3]

◆ BaseListNode() [2/3]

BaseListNode ( const T &  src)
explicit

◆ BaseListNode() [3/3]

BaseListNode ( T &&  src)
explicit

Member Function Documentation

◆ _GetData()

T* _GetData ( ) const

returns element data of the list node

Member Data Documentation

◆ _data

T _data
mutableprotected