23 #include "openPMD/Dataset.hpp" 24 #include "openPMD/backend/Attributable.hpp" 27 #ifndef OPENPMD_protected 28 #define OPENPMD_protected protected 35 template <
typename T,
typename T_key,
typename T_container>
41 double unitSI()
const;
77 std::shared_ptr<Dataset> m_dataset;
78 std::shared_ptr<bool> m_isConstant;
91 template <
typename T_RecordComponent>
95 void operator()(T_RecordComponent &rc)
100 template <
unsigned n,
typename... Args>
101 void operator()(Args &&...)
103 throw std::runtime_error(
104 "makeEmpty: Datatype not supported by openPMD.");
Datatype
Concrete datatype of an object available at runtime.
Definition: Datatype.hpp:45
Definition: Container.cpp:50
Public definitions of openPMD-api.
Definition: Date.cpp:28
Functor template to be used in combination with switchType::operator() to set a default value for con...
Definition: BaseRecordComponent.hpp:92
ChunkTable availableChunks()
Get data chunks that are available to be loaded from the backend.
Definition: BaseRecordComponent.cpp:57
Map-like container that enforces openPMD requirements and handles IO.
Definition: Container.hpp:105
bool constant() const
Returns true if this is a constant record component.
Definition: BaseRecordComponent.cpp:52
Definition: Attributable.hpp:444
Definition: BaseRecordComponent.hpp:33