fpmas 1.5
Static Public Member Functions | List of all members
fpmas::io::json::light_serializer< fpmas::api::model::WeakAgentPtr > Struct Reference

#include <model.h>

Static Public Member Functions

static void to_json (light_json &j, const fpmas::api::model::WeakAgentPtr &pointer)
 
static fpmas::api::model::WeakAgentPtr from_json (const light_json &j)
 

Detailed Description

fpmas::api::model::WeakAgentPtr fpmas::io::json::light_json serialization rules declaration.

to_json and from_json methods must be defined by the user at compile time, depending on its own Agent types, using the FPMAS_JSON_SET_UP() macro, that must be called from a source file. Otherwise, linker errors will be thrown.

Member Function Documentation

◆ to_json()

◆ from_json()


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