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) |
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.
Definition at line 23 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
|
inline |
Definition at line 34 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
WvLink::WvLink | ( | void * | _data, |
WvLink * | prev, | ||
WvLink *& | tail, | ||
bool | _autofree, | ||
const char * | _id = NULL |
||
) |
Definition at line 12 of file wvlinklist.cc.
|
inline |
Definition at line 34 of file include/wvlink.h.
|
inline |
Definition at line 41 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
|
inline |
Definition at line 46 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
|
inline |
Definition at line 51 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
|
inline |
Definition at line 41 of file include/wvlink.h.
|
inline |
Definition at line 46 of file include/wvlink.h.
|
inline |
Definition at line 51 of file include/wvlink.h.
void * WvLink::data |
Definition at line 26 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
WvLink * WvLink::next |
Definition at line 27 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.
const char * WvLink::id |
Definition at line 28 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlink.h.