Wrapper

Simple wrapper class to serialize objects using a formatter; used by Using().

Synopsis

Declared in <serialize.h>

template<
    typename Formatter,
    typename T>
class Wrapper;

Member Functions

NameDescription
Wrapper [constructor]Construct the wrapper around an object.
Serialize Serialize the wrapped object using the formatter.
Unserialize Unserialize the wrapped object using the formatter.

Protected Data Members

NameDescription
m_object The wrapped object reference that the formatter operates on.

Non-Member Functions

NameDescription
UsingCause serialization/deserialization of an object to be done using a specified formatter class.