Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
ParamsWrapper< Params, T > Class Template Reference

Wrapper that serializes objects with the specified parameters. More...

#include <serialize.h>

Public Member Functions

 ParamsWrapper (const Params &params, T &obj)
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 

Private Attributes

const Paramsm_params
 
Tm_object
 

Detailed Description

template<typename Params, typename T>
class ParamsWrapper< Params, T >

Wrapper that serializes objects with the specified parameters.

Definition at line 1187 of file serialize.h.

Constructor & Destructor Documentation

◆ ParamsWrapper()

template<typename Params , typename T >
ParamsWrapper< Params, T >::ParamsWrapper ( const Params params,
T obj 
)
inlineexplicit

Definition at line 1193 of file serialize.h.

Member Function Documentation

◆ Serialize()

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

Definition at line 1196 of file serialize.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unserialize()

template<typename Params , typename T >
template<typename Stream >
void ParamsWrapper< Params, T >::Unserialize ( Stream &  s)
inline

Definition at line 1202 of file serialize.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_object

template<typename Params , typename T >
T& ParamsWrapper< Params, T >::m_object
private

Definition at line 1190 of file serialize.h.

◆ m_params

template<typename Params , typename T >
const Params& ParamsWrapper< Params, T >::m_params
private

Definition at line 1189 of file serialize.h.


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