Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::cnt::fwd_llist_base< T > Struct Template Reference

Each fwd_llist node either has to inherit from fwd_llist_base or it has to provide get_fwd_llist_link() member functions. More...

#include <fwd_llist.h>

Public Member Functions

fwd_llist_link< T > & get_fwd_llist_link ()
 Returns the mutable intrusive link.
 
const fwd_llist_link< T > & get_fwd_llist_link () const
 Returns the immutable intrusive link.
 

Public Attributes

fwd_llist_link< Tfwd_link_GAIA
 Intrusive link storage used by fwd_llist.
 

Detailed Description

template<class T>
struct gaia::cnt::fwd_llist_base< T >

Each fwd_llist node either has to inherit from fwd_llist_base or it has to provide get_fwd_llist_link() member functions.

Member Function Documentation

◆ get_fwd_llist_link() [1/2]

template<class T >
fwd_llist_link< T > & gaia::cnt::fwd_llist_base< T >::get_fwd_llist_link ( )
inline

Returns the mutable intrusive link.

Returns
Reference to this node's link storage.

◆ get_fwd_llist_link() [2/2]

template<class T >
const fwd_llist_link< T > & gaia::cnt::fwd_llist_base< T >::get_fwd_llist_link ( ) const
inline

Returns the immutable intrusive link.

Returns
Const reference to this node's link storage.

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