23 #include "openPMD/RecordComponent.hpp"
24 #include "openPMD/backend/BaseRecord.hpp"
28 #include <type_traits>
41 ~
Record()
override =
default;
43 Record &setUnitDimension(std::map<UnitDimension, double>
const &);
59 inline T Record::timeOffset()
const
61 return readFloatingpoint<T>(
"timeOffset");
65 inline Record &Record::setTimeOffset(T to)
68 std::is_floating_point<T>::value,
69 "Type of attribute must be floating point");
bool setAttribute(std::string const &key, T value)
Populate Attribute of provided name with provided value.
Definition: Attributable.hpp:455
Base class for any type of record (e.g.
Definition: BaseRecord.hpp:224
Map-like container that enforces openPMD requirements and handles IO.
Definition: Container.hpp:104
Logical compilation of data from one snapshot (e.g.
Definition: Iteration.hpp:127
Definition: ParticleSpecies.hpp:34
Definition: Record.hpp:33
Public definitions of openPMD-api.
Definition: Date.cpp:29
Parameters recursively passed through the openPMD hierarchy when flushing.
Definition: AbstractIOHandler.hpp:86