23 #include "openPMD/RecordComponent.hpp" 24 #include "openPMD/backend/BaseRecord.hpp" 28 #include <type_traits> 39 Record(Record
const &) =
default;
40 Record &operator=(Record
const &) =
default;
41 ~Record()
override =
default;
43 Record &setUnitDimension(std::map<UnitDimension, double>
const &);
48 Record &setTimeOffset(
T);
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");
Logical compilation of data from one snapshot (e.g.
Definition: Iteration.hpp:40
Public definitions of openPMD-api.
Definition: Date.cpp:28
Definition: Record.hpp:32
bool setAttribute(std::string const &key, T value)
Populate Attribute of provided name with provided value.
Definition: Attributable.hpp:458
Definition: BaseRecord.hpp:35
Parameters recursively passed through the openPMD hierarchy when flushing.
Definition: AbstractIOHandler.hpp:103
Definition: ParticleSpecies.hpp:33
Map-like container that enforces openPMD requirements and handles IO.
Definition: Container.hpp:105