![]() |
fpmas 1.6
|
#include <distributed_edge.h>
Static Public Member Functions | |
| template<typename JsonType > | |
| static void | to_json (JsonType &j, const EdgePtrWrapper< T > &edge) |
| template<typename JsonType > | |
| static void | from_json (const JsonType &j, EdgePtrWrapper< T > &edge_ptr) |
|
inlinestatic |
DistributedEdge json serialization.
Source and target DistributedNode are unserialized depending on the provided JsonType, that might be the classic nlohmann::json type or fpmas::io::json::light_json.
| j | json |
| edge | wrapper of pointer to the DistributedEdge to serialize |
|
inlinestatic |
DistributedEdge json unserialization.
Source and target DistributedNode are unserialized depending on the provided JsonType, that might be the classic nlohmann::json type or fpmas::io::json::light_json.
| j | json |
| edge_ptr | output edge |