WvStreams
|
WvLink is one element of a WvList<T>. More...
#include <wvlink.h>
Public Member Functions | |
WvLink (void *_data, bool _autofree, const char *_id=NULL) | |
WvLink (void *_data, WvLink *prev, WvLink *&tail, bool _autofree, const char *_id=NULL) | |
bool | get_autofree () |
void | set_autofree (bool _autofree) |
void | unlink (WvLink *prev) |
Public Attributes | |
void * | data |
WvLink * | next |
const char * | id |
WvLink is one element of a WvList<T>.
Note that WvLink itself is untyped to minimize the amount of generated code. This means that WvLink cannot handle the autofree behaviour itself which would require static type information. Instead, it defers this behaviour to the template instantiation of WvList<T> that uses it.