fpmas 1.6
Static Public Member Functions | List of all members
nlohmann::adl_serializer< NodePtrWrapper< T > > Struct Template Reference

#include <distributed_node.h>

Static Public Member Functions

static void to_json (json &j, const NodePtrWrapper< T > &node)
 
static NodePtrWrapper< T > from_json (const json &j)
 

Detailed Description

template<typename T>
struct nlohmann::adl_serializer< NodePtrWrapper< T > >

DistributedNode JSON serialization.

Member Function Documentation

◆ to_json()

template<typename T >
static void nlohmann::adl_serializer< NodePtrWrapper< T > >::to_json ( json &  j,
const NodePtrWrapper< T > &  node 
)
inlinestatic

DistributedNode json serialization.

Parameters
jjson
nodewrapper of pointer to the DistributedNode to serialize

◆ from_json()

template<typename T >
static NodePtrWrapper< T > nlohmann::adl_serializer< NodePtrWrapper< T > >::from_json ( const json &  j)
inlinestatic

DistributedNode json unserialization.

Parameters
jjson
Returns
wrapped heap allocated unserialized fpmas::graph::DistributedNode

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