Celeritas
0.5.0-86+4a8eea4
|
#include "ObjectIO.json.hh"
#include <memory>
#include "corecel/cont/ArrayIO.json.hh"
#include "corecel/cont/SpanIO.json.hh"
#include "corecel/io/JsonPimpl.hh"
#include "CsgObject.hh"
#include "IntersectRegion.hh"
#include "ObjectInterface.hh"
#include "PolySolid.hh"
#include "Shape.hh"
#include "Solid.hh"
#include "Transformed.hh"
Macros | |
#define | SIO_ATTR_PAIR(OBJ, ATTR) {#ATTR, OBJ.ATTR()} |
Functions | |
std::string | celeritas::orangeinp::to_string (ObjectInterface const &obj) |
Get a JSON string representing an object. More... | |
template<OperatorToken Op> | |
void | celeritas::orangeinp::to_json (nlohmann::json &j, JoinObjects< Op > const &obj) |
template void | celeritas::orangeinp::to_json (nlohmann::json &, JoinObjects< op_and > const &) |
template void | celeritas::orangeinp::to_json (nlohmann::json &, JoinObjects< op_or > const &) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, NegatedObject const &obj) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, PolyCone const &obj) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, PolyPrism const &obj) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, ShapeBase const &obj) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, SolidBase const &obj) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Transformed const &obj) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, PolySegments const &ps) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, SolidEnclosedAngle const &sea) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, IntersectRegionInterface const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Box const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Cone const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Cylinder const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Ellipsoid const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, GenPrism const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, InfWedge const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Parallelepiped const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Prism const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Sphere const &cr) |
void | celeritas::orangeinp::to_json (nlohmann::json &j, Involute const &cr) |
template void celeritas::orangeinp::to_json | ( | nlohmann::json & | , |
JoinObjects< op_and > const & | |||
) |
Write objects to JSON
template void celeritas::orangeinp::to_json | ( | nlohmann::json & | , |
JoinObjects< op_or > const & | |||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Box const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Cone const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Cylinder const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Ellipsoid const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
GenPrism const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
InfWedge const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
IntersectRegionInterface const & | cr | ||
) |
Write intersect regions to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Involute const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
JoinObjects< Op > const & | obj | ||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
NegatedObject const & | obj | ||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Parallelepiped const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
PolyCone const & | obj | ||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
PolyPrism const & | obj | ||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
PolySegments const & | ps | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Prism const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
ShapeBase const & | obj | ||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
SolidBase const & | obj | ||
) |
Write objects to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
SolidEnclosedAngle const & | sea | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Sphere const & | cr | ||
) |
Write helper classes to JSON
void celeritas::orangeinp::to_json | ( | nlohmann::json & | j, |
Transformed const & | obj | ||
) |
Write objects to JSON
std::string celeritas::orangeinp::to_string | ( | ObjectInterface const & | ) |
Get a JSON string representing an object.