WvStreams
Public Member Functions | Public Attributes | List of all members
WvLink Class Reference

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
 
WvLinknext
 
const char * id
 

Detailed Description

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 wvlink.h.


The documentation for this class was generated from the following files: