Celeritas  0.5.0-86+4a8eea4
ImageIO.json.cc File Reference
#include "ImageIO.json.hh"
#include "corecel/Assert.hh"
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "corecel/cont/ArrayIO.json.hh"
#include "corecel/io/JsonUtils.json.hh"
#include "corecel/math/ArrayOperators.hh"
#include "geocel/detail/LengthUnits.hh"
#include "Image.hh"
#define IM_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, v, NAME)
 
#define IM_LOAD_REQUIRED(NAME)   CELER_JSON_LOAD_REQUIRED(j, v, NAME)
 
void celeritas::from_json (nlohmann::json const &j, ImageInput &v)
 
void celeritas::to_json (nlohmann::json &j, ImageInput const &v)
 
void celeritas::to_json (nlohmann::json &j, ImageParams const &p)
 

Macro Definition Documentation

◆ IM_LOAD_OPTION

#define IM_LOAD_OPTION (   NAME)    CELER_JSON_LOAD_OPTION(j, v, NAME)

I/O routines for JSON

◆ IM_LOAD_REQUIRED

#define IM_LOAD_REQUIRED (   NAME)    CELER_JSON_LOAD_REQUIRED(j, v, NAME)

I/O routines for JSON

Function Documentation

◆ from_json()

void celeritas::from_json ( nlohmann::json const &  j,
ImageInput v 
)

I/O routines for JSON

◆ to_json() [1/2]

void celeritas::to_json ( nlohmann::json &  j,
ImageInput const &  v 
)

I/O routines for JSON

◆ to_json() [2/2]

void celeritas::to_json ( nlohmann::json &  j,
ImageParams const &  p 
)

I/O routines for JSON