8 #ifndef PARAMETERS2JSON_H_INCLUDED
9 #define PARAMETERS2JSON_H_INCLUDED
17 template <
class T>
struct filltype;
58 using json = nlohmann::json;
63 template <
class T>
void to_json(rsvsjson::json &j,
const filltype<T> &p);
64 template <
class T>
void from_json(
const rsvsjson::json &j, filltype<T> &p);
66 void to_json(rsvsjson::json &j,
const outputtemplate &p);
67 void from_json(
const rsvsjson::json &j, outputtemplate &p);
69 void to_json(rsvsjson::json &j,
const rsvs &p);
70 void from_json(
const rsvsjson::json &j, rsvs &p);
72 void to_json(rsvsjson::json &j,
const snaking &p);
73 void from_json(
const rsvsjson::json &j, snaking &p);
75 void to_json(rsvsjson::json &j,
const voxel &p);
76 void from_json(
const rsvsjson::json &j, voxel &p);
78 void to_json(rsvsjson::json &j,
const voronoi &p);
79 void from_json(
const rsvsjson::json &j, voronoi &p);
81 void to_json(rsvsjson::json &j,
const grid &p);
82 void from_json(
const rsvsjson::json &j, grid &p);
84 void to_json(rsvsjson::json &j,
const parameters &p);
85 void from_json(
const rsvsjson::json &j, parameters &p);
87 void to_json(rsvsjson::json &j,
const ioin &p);
88 void from_json(
const rsvsjson::json &j, ioin &p);
90 void to_json(rsvsjson::json &j,
const ioout &p);
91 void from_json(
const rsvsjson::json &j, ioout &p);
93 void to_json(rsvsjson::json &j,
const files &p);
94 void from_json(
const rsvsjson::json &j, files &p);
98 void to_json(rsvsjson::json &j,
const devparam &p);
99 void from_json(
const rsvsjson::json &j, devparam &p);
100 void to_json(rsvsjson::json &j,
const rsvseps &p);
101 void from_json(
const rsvsjson::json &j, rsvseps &p);
106 void flatupdate(json &jfin, json &jnew,
bool isFlatFin,
bool isFlatNew);
111 void to_json(rsvsjson::json &j,
const apiparam &p);
112 void from_json(
const rsvsjson::json &j, apiparam &p);
Namespace containing the parameter classes used to control execution of the 3D-RSVS program.