Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
type-interface.h File Reference
#include <mp/util.h>
Include dependency graph for type-interface.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 Interface, typename Impl>
kj::Own< typename Interface::Server > mp::MakeProxyServer (InvokeContext &context, std::shared_ptr< Impl > impl)
template<typename Interface, typename Impl>
kj::Own< typename Interface::Server > mp::CustomMakeProxyServer (InvokeContext &context, std::shared_ptr< Impl > &&impl)
template<typename Impl, typename Value, typename Output>
void mp::CustomBuildField (TypeList< std::unique_ptr< Impl > >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output, typename Decay< decltype(output.get())>::Calls *enable=nullptr)
template<typename Impl, typename Value, typename Output>
void mp::CustomBuildField (TypeList< std::shared_ptr< Impl > >, Priority< 2 >, InvokeContext &invoke_context, Value &&value, Output &&output, typename Decay< decltype(output.get())>::Calls *enable=nullptr)
template<typename Impl, typename Output>
void mp::CustomBuildField (TypeList< Impl & >, Priority< 1 >, InvokeContext &invoke_context, Impl &value, Output &&output, typename decltype(output.get())::Calls *enable=nullptr)
template<typename Interface, typename Impl>
std::unique_ptr< Impl > mp::MakeProxyClient (InvokeContext &context, typename Interface::Client &&client)
template<typename Interface, typename Impl>
std::unique_ptr< Impl > mp::CustomMakeProxyClient (InvokeContext &context, typename Interface::Client &&client)
template<typename LocalType, typename Input, typename ReadDest>
decltype(auto) mp::CustomReadField (TypeList< std::unique_ptr< LocalType > >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest, typename Decay< decltype(input.get())>::Calls *enable=nullptr)
template<typename LocalType, typename Input, typename ReadDest>
decltype(auto) mp::CustomReadField (TypeList< std::shared_ptr< LocalType > >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest, typename Decay< decltype(input.get())>::Calls *enable=nullptr)