23 #include "openPMD/snapshots/ContainerTraits.hpp"
24 #include "openPMD/snapshots/RandomAccessIterator.hpp"
25 #include "openPMD/snapshots/StatefulIterator.hpp"
64 using BufferedIterator_t = std::variant<Deferred_t, Evaluated_t>;
65 BufferedIterator_t m_bufferedIterator =
nullptr;
86 noexcept(Members(std::declval<Members &&>())));
92 std::declval<Members>().
operator=(std::declval<Members &&>())));
94 using AbstractSnapshotsContainer::currentIteration;
95 auto currentIteration()
const -> std::optional<value_type const *>
override;
96 auto currentIteration() -> std::optional<value_type *>
override;
107 auto empty()
const ->
bool override;
108 auto size()
const ->
size_t override;
110 auto at(key_type
const &key)
const ->
mapped_type const &
override;
111 auto at(key_type
const &key) ->
mapped_type &
override;
113 auto operator[](key_type
const &key) ->
mapped_type &
override;
115 auto clear() ->
void override;
117 auto find(key_type
const &key) ->
iterator override;
120 auto contains(key_type
const &key)
const ->
bool override;
122 auto erase(key_type
const &key) -> size_type
override;
125 auto emplace(value_type &&) -> std::pair<iterator, bool>
override;
158 using AbstractSnapshotsContainer::currentIteration;
159 auto currentIteration()
const -> std::optional<value_type const *>
override;
170 auto empty()
const ->
bool override;
171 auto size()
const ->
size_t override;
173 using AbstractSnapshotsContainer::at;
174 auto at(key_type
const &key)
const ->
mapped_type const &
override;
175 auto operator[](key_type
const &key) ->
mapped_type &
override;
177 auto clear() ->
void override;
179 auto find(key_type
const &key) ->
iterator override;
182 auto contains(key_type
const &key)
const ->
bool override;
184 auto erase(key_type
const &key) -> size_type
override;
187 auto emplace(value_type &&) -> std::pair<iterator, bool>
override;
Definition: ContainerTraits.hpp:118
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:146
Counterpart to Snapshots class: Iterator type that can wrap different implementations internally.
Definition: ContainerTraits.hpp:43
Definition: ContainerImpls.hpp:131
Definition: RandomAccessIterator.hpp:49
Implementation for the root level of the openPMD hierarchy.
Definition: Series.hpp:288
Based on the logic of the former class ReadIterations, integrating into itself the logic of former Wr...
Definition: StatefulIterator.hpp:204
Definition: ContainerImpls.hpp:36
Public definitions of openPMD-api.
Definition: Date.cpp:29
SnapshotWorkflow
Enum used as a label for distinguishing the different Snapshots implementations.
Definition: ContainerTraits.hpp:109