Bitcoin ABC 0.30.5
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
Wrapper< Formatter, T > Class Template Reference

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

#include <serialize.h>

Public Member Functions

 Wrapper (T obj)
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 

Protected Attributes

m_object
 

Detailed Description

template<typename Formatter, typename T>
class Wrapper< Formatter, T >

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

Definition at line 543 of file serialize.h.

Constructor & Destructor Documentation

◆ Wrapper()

template<typename Formatter , typename T >
Wrapper< Formatter, T >::Wrapper ( obj)
inlineexplicit

Definition at line 551 of file serialize.h.

Member Function Documentation

◆ Serialize()

template<typename Formatter , typename T >
template<typename Stream >
void Wrapper< Formatter, T >::Serialize ( Stream &  s) const
inline

Definition at line 552 of file serialize.h.

◆ Unserialize()

template<typename Formatter , typename T >
template<typename Stream >
void Wrapper< Formatter, T >::Unserialize ( Stream &  s)
inline

Definition at line 555 of file serialize.h.

Member Data Documentation

◆ m_object

template<typename Formatter , typename T >
T Wrapper< Formatter, T >::m_object
protected

Definition at line 548 of file serialize.h.


The documentation for this class was generated from the following file: