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

Name

Description

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

Name

Description

m_object

The wrapped object reference that the formatter operates on.

Non-Member Functions

Name

Description

Using

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

Created with MrDocs