WvStreams
|
If there's a deserializer for type "T", this will make a default deserializer for type "T *"; that is, it'll allocate the new object dynamically and you'll have to free it after. More...
#include <wvserialize.h>
Static Public Member Functions | |
static T * | go (WvBuf &buf) |
If there's a deserializer for type "T", this will make a default deserializer for type "T *"; that is, it'll allocate the new object dynamically and you'll have to free it after.
This helps when you want to assume *all* deserializers return pointers that you need to delete later.
FIXME: this class takes precedence over *specialized* _wv_deserialize() functions for pointers! Pointer-based deserializers need to be classes too until this is resolved.
Definition at line 231 of file wvserialize.h.