![]() |
fpmas 1.6
|
#include <distributed_id.h>
Static Public Member Functions | |
| template<typename JsonType > | |
| static void | to_json (JsonType &j, const DistributedId &value) |
| template<typename JsonType > | |
| static void | from_json (const JsonType &j, DistributedId &id) |
DistributedId serializer.
|
inlinestatic |
Serializes a DistributedId instance as [rank, localId].
| j | current json |
| value | DistributedId to serialize |
|
inlinestatic |
Unserializes a DistributedId id instance from a [rank, localId] json representation.
| j | json to unserialize |
| id | DistributedId output |