Celeritas  0.5.0-56+6b053cd
Macros | Functions
GeantOpticalPhysicsOptionsIO.json.cc File Reference
#include "GeantOpticalPhysicsOptionsIO.json.hh"
#include <string>
#include "corecel/io/JsonUtils.json.hh"
#include "corecel/io/StringEnumMapper.hh"
#include "GeantOpticalPhysicsOptions.hh"

Macros

#define GCPO_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, options, NAME)
 
#define GSPO_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, options, NAME)
 
#define GBPO_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, options, NAME)
 
#define GOPO_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, options, NAME)
 

Functions

void celeritas::from_json (nlohmann::json const &j, WLSTimeProfileSelection &value)
 
void celeritas::to_json (nlohmann::json &j, WLSTimeProfileSelection const &value)
 
void celeritas::from_json (nlohmann::json const &j, CerenkovPhysicsOptions &options)
 
void celeritas::to_json (nlohmann::json &j, CerenkovPhysicsOptions const &inp)
 
void celeritas::from_json (nlohmann::json const &j, ScintillationPhysicsOptions &options)
 
void celeritas::to_json (nlohmann::json &j, ScintillationPhysicsOptions const &inp)
 
void celeritas::from_json (nlohmann::json const &j, BoundaryPhysicsOptions &options)
 
void celeritas::to_json (nlohmann::json &j, BoundaryPhysicsOptions const &inp)
 
void celeritas::from_json (nlohmann::json const &j, GeantOpticalPhysicsOptions &options)
 Read options from JSON.
 
void celeritas::to_json (nlohmann::json &j, GeantOpticalPhysicsOptions const &inp)
 Write options to JSON.