libgig
4.5.0.svn7
|
Registrator for native data types. More...
#include <Serialization.h>
Registrator for native data types.
Explicitly registers some of application's native C/C++ data types at C++ global declaration space.
This is just a wrapper class for calling the static method DataType::registerNativeDataType<T>(), as functions in general cannot be called directly from a global declaration space in C++.
Example:
You might define a convenience macro in your app like this:
Definition at line 577 of file Serialization.h.