#ifndef CERTIFY_CALCULATION_H #define CERTIFY_CALCULATION_H #include "nlohmann/json.hpp" #include "TonnageModelDS.hxx" #include "EEDIModelDS.hxx" namespace tonnagemodel_ds { class JsonBInf { public: static nlohmann::json to_json(const BInf &b_inf); static BInf from_json(const nlohmann::json &j); }; class JsonV1Inf { public: static nlohmann::json to_json(const V1Inf &v1_inf); static V1Inf from_json(const nlohmann::json &j); }; class JsonV1Simpson { public: static nlohmann::json to_json(const V1Simpson &v1_simpson); static V1Simpson from_json(const nlohmann::json &j); }; class JsonV2Simpson { public: static nlohmann::json to_json(const V2Simpson &v2_simpson); static V2Simpson from_json(const nlohmann::json &j); }; class JsonV2Block { public: static nlohmann::json to_json(const V2Block &v2_block); static V2Block from_json(const nlohmann::json &j); }; class JsonV2other { public: static nlohmann::json to_json(const V2other &v2_other); static V2other from_json(const nlohmann::json &j); }; class JsonV3 { public: static nlohmann::json to_json(const V3 &v3); static V3 from_json(const nlohmann::json &j); }; class JsonV43 { public: static nlohmann::json to_json(const V43 &v43); static V43 from_json(const nlohmann::json &j); }; class JsonV41 { public: static nlohmann::json to_json(const V41 &v41); static V41 from_json(const nlohmann::json &j); }; class JsonV42 { public: static nlohmann::json to_json(const V42 &v42); static V42 from_json(const nlohmann::json &j); }; class JsonV43Total { public: static nlohmann::json to_json(const V43Total &v43_total); static V43Total from_json(const nlohmann::json &j); }; class JsonV5 { public: static nlohmann::json to_json(const V5 &v5); static V5 from_json(const nlohmann::json &j); }; class JsonV2Entity { public: static nlohmann::json to_json(const V2Entity &v2_entity); static V2Entity from_json(const nlohmann::json &j); }; class JsonV1Entity { public: static nlohmann::json to_json(const V1Entity &v1_entity); static V1Entity from_json(const nlohmann::json &j); }; } namespace eedimodel_ds { class JsonBInf { public: static nlohmann::json to_json(const BInf &b_inf); static BInf from_json(const nlohmann::json &j); }; class JsonME { public: static nlohmann::json to_json(const ME &me); static ME from_json(const nlohmann::json &j); }; class JsonAE { public: static nlohmann::json to_json(const AE &ae); static AE from_json(const nlohmann::json &j); }; class JsonPTI { public: static nlohmann::json to_json(const PTI &pti); static PTI from_json(const nlohmann::json &j); }; class JsonPTO { public: static nlohmann::json to_json(const PTO &pto); static PTO from_json(const nlohmann::json &j); }; class JsonPropelor { public: static nlohmann::json to_json(const Propelor &propelor); static Propelor from_json(const nlohmann::json &j); }; } #endif // CERTIFY_CALCULATION_H