BaseListNode< T, true > Class Template Reference

#include <baselist.h>

Inheritance diagram for BaseListNode< T, true >:

Detailed Description

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

Template for list node containing element data of type T (to copy T you must use CopyFrom)

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, true > >
 ~BaseListNodeBase ()
void Remove ()
void InsertBefore (BaseListNode< T, true > *next)
void InsertAfter (BaseListNode< T, true > *prev)
const BaseListLinkPOD_GetLink () const

Protected Attributes


Additional Inherited Members

Constructor & Destructor Documentation

◆ BaseListNode() [1/3]

◆ BaseListNode() [2/3]

BaseListNode ( const T &  src)

◆ BaseListNode() [3/3]

BaseListNode ( T &&  src)

Member Function Documentation

◆ _GetData()

T* _GetData ( ) const

returns element data of the list node

Member Data Documentation

◆ _data

T _data