fpmas-metamodel 1.0
|
#include <cell.h>
Static Public Member Functions | |
static void | to_json (nlohmann::json &j, const CellType *cell) |
static CellType * | from_json (const nlohmann::json &j) |
static std::size_t | size (const fpmas::io::datapack::ObjectPack &o, const CellType *cell) |
static void | to_datapack (fpmas::io::datapack::ObjectPack &o, const CellType *cell) |
static CellType * | from_datapack (const fpmas::io::datapack::ObjectPack &o) |
MetaCell JSON and ObjectPack serialization rules.
The dummy MetaCell::getData() field is serialized, to produce a fake volume of data.
|
inlinestatic |
Json serialization.
|
inlinestatic |
Json deserialization.
|
inlinestatic |
ObjectPack size.
|
inlinestatic |
ObjectPack serialization.
|
inlinestatic |
ObjectPack deserialization.