|
|
| Attributable (NoInit) noexcept |
| |
| Attribute | getAttribute (std::string const &key) const |
| | Retrieve value of Attribute stored with provided key. More...
|
| |
| bool | deleteAttribute (std::string const &key) |
| | Remove Attribute of provided value both logically and physically. More...
|
| |
| std::vector< std::string > | attributes () const |
| | List all currently stored Attributes' keys. More...
|
| |
| size_t | numAttributes () const |
| | Count all currently stored Attributes. More...
|
| |
| bool | containsAttribute (std::string const &key) const |
| | Check whether am Attribute with a given key exists. More...
|
| |
| std::string | comment () const |
| | Retrieve a user-supplied comment associated with the object. More...
|
| |
| Attributable & | setComment (std::string const &comment) |
| | Populate Attribute corresponding to a comment with the user-supplied comment. More...
|
| |
| void | seriesFlush (std::string backendConfig="{}") |
| | Flush the corresponding Series object. More...
|
| |
| void | iterationFlush (std::string backendConfig="{}") |
| | Flush the containing Iteration. More...
|
| |
| MyPath | myPath () const |
| | The path to this object within its containing Series. More...
|
| |
|
void | touch () |
| | Sets the object dirty to make internal procedures think it has been modified.
|
| |
| virtual void | visitHierarchy (HierarchyVisitor &visitor, bool recursive) |
| | Visitor pattern for the openPMD object hierarchy in postfix traversal. More...
|
| |
| template<typename Lambda > |
| void | visitHierarchyFromLambda (Lambda &&lambda, bool recursive) |
| | Visitor pattern for the openPMD object hierarchy in postfix traversal, lambda version. More...
|
| |
| void | populateMissingMetadata (bool recursive) |
| | Create standard defined attributes with default values now, insofar they are still missing. More...
|
| |
|
OpenpmdStandard | openPMDStandard () const |
| |
|
protected Series | retrieveSeries () const |
| |
|
template<bool flush_entire_series> |
| void | seriesFlush_impl (internal::FlushParams const &) |
| |
|
void | flushAttributes (internal::FlushParams const &) |
| |
|
void | readAttributes (ReadMode) |
| |
| template<typename T > |
| T | readFloatingpoint (std::string const &key) const |
| | Retrieve the value of a floating point Attribute of user-defined precision with ensured type-safety. More...
|
| |
| template<typename T > |
| std::vector< T > | readVectorFloatingpoint (std::string const &key) const |
| | Retrieve a vector of values of a floating point Attributes of user-defined precision with ensured type-safety. More...
|
| |
|
AbstractIOHandler * | IOHandler () |
| |
|
AbstractIOHandler const * | IOHandler () const |
| |
|
Writable *& | parent () |
| |
|
Writable const * | parent () const |
| |
|
Writable & | writable () |
| |
|
Writable const & | writable () const |
| |
|
void | setData (std::shared_ptr< internal::AttributableData > attri) |
| |
|
internal::SharedAttributableData & | get () |
| |
|
internal::SharedAttributableData const & | get () const |
| |
|
bool | dirty () const |
| |
|
bool | dirtyRecursive () const |
| | O(1).
|
| |
|
void | setDirty (bool dirty_in) |
| |
|
void | setDirtyRecursive (bool dirty_in) |
| |
|
bool | written () const |
| |
|
void | setWritten (bool val, EnqueueAsynchronously) |
| |
|
| template<typename T > |
| bool | setAttribute (std::string const &key, T value) |
| | Populate Attribute of provided name with provided value. More...
|
| |
|
bool | setAttribute (std::string const &key, char const value[]) |
| |
|
bool | setAttribute (std::string const &key, Attribute value) |
| |
|
| auto | containingIteration () const -> std::pair< std::optional< internal::IterationData const * >, internal::SeriesData const * > |
| | Returns the corresponding Iteration. More...
|
| |
|
auto | containingIteration () -> std::pair< std::optional< internal::IterationData * >, internal::SeriesData * > |
| |
|
|
template<typename T_elem > |
| class | BaseRecord |
| |
|
template<typename T_elem > |
| class | BaseRecordInterface |
| |
|
template<typename , typename > |
| class | internal::BaseRecordData |
| |
|
template<typename T , typename T_key , typename T_container > |
| class | Container |
| |
|
template<typename T > |
| struct | traits::GenerationPolicy |
| |
|
class | Iteration |
| |
|
class | Series |
| |
|
class | Writable |
| |
|
class | internal::RecordComponentData |
| |
|
class | StatefulSnapshotsContainer |
| |
|
class | internal::AttributableData |
| |
|
class | Snapshots |
| |
|
struct | internal::HomogenizeExtents |
| |
|
struct | internal::ConfigAttribute |
| |
|
class | internal::ScientificDefaults |
| |
|
Writable * | getWritable (Attributable *) |
| |
|
void | debug::printDirty (Series const &) |
| |
|
template<typename T > |
| T & | internal::makeOwning (T &self, Series) |
| |
Layer to manage storage of attributes associated with file objects.
Mandatory and user-defined Attributes and their data for every object in the openPMD hierarchy are stored and managed through this class.
| void openPMD::Attributable::populateMissingMetadata |
( |
bool |
recursive | ) |
|
Create standard defined attributes with default values now, insofar they are still missing.
Does not flush.
Refer to https://github.com/openPMD/openPMD-standard/blob/latest/STANDARD.md for the attributes implied by this operation.
By default, standard defined attributes are written upon closing the containing Iteration / Series. Calling this soon can make data available for early readers (e.g. read while the writer is still modifying). In workflows that keep single Iterations open over an extended period of time (e.g. back-transformed diagnostics), this can help creating readable files earlier than without.
Attributes may still be modified after this as usual. Attributes defined before this call will not be modified by it.
- Parameters
-
| recursive | Extend the operation recursively to children. |