fpmas-metamodel 1.0
|
#include <agent.h>
Static Public Member Functions | |
static void | to_json (nlohmann::json &j, const AgentType *agent) |
static AgentType * | from_json (const nlohmann::json &j) |
static std::size_t | size (const fpmas::io::datapack::ObjectPack &o, const AgentType *agent) |
static void | to_datapack (fpmas::io::datapack::ObjectPack &o, const AgentType *agent) |
static AgentType * | from_datapack (const fpmas::io::datapack::ObjectPack &o) |
MetaAgent JSON and ObjectPack serialization rules.
Only the list of contacts needs to be serialized, all other fields are automatically handled by FPMAS.
|
static |
Json serialization.
|
static |
Json deserialization.
|
static |
ObjectPack size.
|
static |
ObjectPack serialization.
|
static |
ObjectPack deserialization.