Bitcoin Core 29.99.0
P2P Digital Currency
Namespaces | Functions
type-struct.h File Reference
#include <mp/util.h>
Include dependency graph for type-struct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mp
 Functions to serialize / deserialize common bitcoin types.
 

Functions

template<size_t index, typename LocalType , typename Value , typename Output >
void mp::BuildOne (TypeList< LocalType > param, InvokeContext &invoke_context, Output &&output, Value &&value, typename std::enable_if< index< ProxyType< LocalType >::fields >::type *enable=nullptr)
 
template<size_t index, typename LocalType , typename Value , typename Output >
void mp::BuildOne (TypeList< LocalType > param, InvokeContext &invoke_context, Output &&output, Value &&value, typename std::enable_if< index==ProxyType< LocalType >::fields >::type *enable=nullptr)
 
template<typename LocalType , typename Value , typename Output >
void mp::CustomBuildField (TypeList< LocalType > local_type, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output, typename ProxyType< LocalType >::Struct *enable=nullptr)
 
template<size_t index, typename LocalType , typename Input , typename Value >
void mp::ReadOne (TypeList< LocalType > param, InvokeContext &invoke_context, Input &&input, Value &&value, typename std::enable_if< index !=ProxyType< LocalType >::fields >::type *enable=nullptr)
 
template<size_t index, typename LocalType , typename Input , typename Value >
void mp::ReadOne (TypeList< LocalType > param, InvokeContext &invoke_context, Input &input, Value &value, typename std::enable_if< index==ProxyType< LocalType >::fields >::type *enable=nullptr)
 
template<typename LocalType , typename Input , typename ReadDest >
decltype(auto) mp::CustomReadField (TypeList< LocalType > param, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest, typename ProxyType< LocalType >::Struct *enable=nullptr)