#include <baselist.h>

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.
| T | Content 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 |
Public Member Functions inherited from BaseListLink< NODE > | |
| BaseListLink (NODE *prev=nullptr, NODE *next=nullptr, Bool is_head=false) | |
| BaseListLink (BaseListLink &&src) | |
| void | MoveFrom (NODE *thisNode, BaseListLink &src) |
| MAXON_OPERATOR_MOVE_ASSIGNMENT (BaseListLink) | |
| NODE * | _GetNext () const |
| NODE * | _GetPrev () const |
| Bool | IsListHead () const |
| Bool | IsInList () const |
| NODE * | _GetNextChecked () const |
| NODE * | _GetPrevChecked () const |
| void | SetNext (NODE *val) |
| void | SetPrev (NODE *val) |
Protected Attributes | |
| T | _data |
Additional Inherited Members | |
Static Public Member Functions inherited from BaseListLink< NODE > | |
| static void | Remove (NODE *remove) |
| static void | MoveBefore (NODE *move, NODE *next) |
| static void | InsertBefore (NODE *insert, NODE *next) |
| static void | InsertAfter (NODE *insert, NODE *prev) |
Public Attributes inherited from BaseListLinkPOD | |
| void * | _next |
| UInt | _prevFlag |
Protected Member Functions inherited from BaseListLink< NODE > | |
| void | SetListHead (Bool val) |
Static Protected Member Functions inherited from BaseListLink< NODE > | |
| static UInt | ComputePrevFlag (const NODE *prev, Bool head) |
Static Protected Attributes inherited from BaseListLink< NODE > | |
| static const UInt | HEAD_FLAG |
| static const UInt | INFO_FLAG |
| static const UInt | INFO_MASK |
| static const UInt | ADDRESS_MASK |
| BaseListNode | ( | ) |
|
explicit |
|
explicit |
| T* _GetData | ( | ) | const |
returns element data of the list node
|
mutableprotected |