Bitcoin Core 29.99.0
P2P Digital Currency
Namespaces | Functions
type-pointer.h File Reference
#include <mp/util.h>
Include dependency graph for type-pointer.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<typename LocalType , typename Value , typename Output >
void mp::CustomBuildField (TypeList< LocalType * >, Priority< 3 >, InvokeContext &invoke_context, Value &&value, Output &&output)
 
template<typename LocalType , typename Value , typename Output >
void mp::CustomBuildField (TypeList< std::shared_ptr< LocalType > >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output)
 
template<typename LocalType , typename Input , typename ReadDest >
decltype(auto) mp::CustomReadField (TypeList< LocalType * >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)
 
template<typename LocalType , typename Input , typename ReadDest >
decltype(auto) mp::CustomReadField (TypeList< std::shared_ptr< LocalType > >, Priority< 0 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)
 
template<typename LocalType , typename Input , typename ReadDest >
decltype(auto) mp::CustomReadField (TypeList< std::shared_ptr< const LocalType > >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)
 
template<typename Accessor , typename LocalType , typename ServerContext , typename Fn , typename... Args>
void mp::PassField (Priority< 1 >, TypeList< LocalType * >, ServerContext &server_context, const Fn &fn, Args &&... args)
 PassField override for C++ pointer arguments. More...