[#Wrapper]
= Wrapper
:mrdocs:

Simple wrapper class to serialize objects using a formatter&semi; used by Using()&period;

== Synopsis

Declared in `&lt;serialize&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Formatter,
    typename T&gt;
class Wrapper;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:Wrapper/2constructor.adoc[`Wrapper`]         [.small]#[constructor]#
| Construct the wrapper around an object&period;
| xref:Wrapper/Serialize.adoc[`Serialize`] 
| Serialize the wrapped object using the formatter&period;
| xref:Wrapper/Unserialize.adoc[`Unserialize`] 
| Unserialize the wrapped object using the formatter&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:Wrapper/m_object.adoc[`m&lowbar;object`] 
| The wrapped object reference that the formatter operates on&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:Using.adoc[`Using`]
| Cause serialization&sol;deserialization of an object to be done using a specified formatter class&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
