Namespace Acts::VolumeBoundsJsonConverter¶
-
namespace VolumeBoundsJsonConverter
Functions
-
template<typename bounds_t>
std::unique_ptr<bounds_t> fromJson(const nlohmann::json &jVolumeBounds) Conversion to volume bounds from json.
The Surface converter from json.
Convert the single delegate if it is of the type of the reference.
The Transform converter from json.
The type is given as a template argument in order to be able to construct the correct fitting types for surfaces.
- Parameters
jVolumeBounds – the read-in json object
jVolumeBounds – the read-in json object
- Returns
a unique_ptr to a volume bounds object for type polymorphism
- Returns
a unique_ptr to a volume bounds object for type polymorphism
-
nlohmann::json toJson(const VolumeBounds &bounds)
Conversion to Json from volume bounds.
- Parameters
bounds – is the bounds object
- Returns
the json object
-
template<typename bounds_t>