classPiiSerialization::Accessor
#include <PiiSerialization.h>
A proxy through which calls to serialization member functions are passed.
Description
With intrusive serialization (serialize member function as opposed to an external serializer), it is a good practice to hide the serialization function(s) from the outer world by making them private. The serialization system can access these members if you also make this struct a friend of your class.
class MyClass { friend struct PiiSerialization::Accessor; //... private serialization function(s) here ... };
Static public member functions
|
template<class Archive, class T>
static void
|
(
|
|
template<class Archive, class T>
static void
|
(
|
|
template<class Archive, class T>
static void
|
(
|
|
template<class T>
static const PiiMetaObject *
|
(
|
|
template<class T>
static T *
|
( )
|
Function details
-
template<class Archive, class T>
static void load
(- Archive & archive
- T & value
- const unsigned int version
[inline, static] -
template<class Archive, class T>
static void save
(- Archive & archive
- T & value
- const unsigned int version
[inline, static] -
template<class Archive, class T>
static void serialize
(- Archive & archive
- T & value
- const unsigned int version
[inline, static] -
-
template<class T>
static T * voidConstruct
()[inline, static]
Add a note
Not a single note added yet. Be the first, add yours.