openPMD-api
Classes | Public Member Functions | Friends | List of all members
openPMD::WriteIterations Class Reference

Writing side of the streaming API. More...

#include <Series.hpp>

Inheritance diagram for openPMD::WriteIterations:
Inheritance graph
[legend]
Collaboration diagram for openPMD::WriteIterations:
Collaboration graph
[legend]

Public Member Functions

mapped_type & operator[] (key_type const &key) override
 
mapped_type & operator[] (key_type &&key) override
 

Friends

class Series
 

Detailed Description

Writing side of the streaming API.

Create instance via Series::writeIterations(). For use via WriteIterations::operator[](). Designed to allow reading any kind of Series, streaming and non- streaming alike. Calling Iteration::close() manually before opening the next iteration is encouraged and will implicitly flush all deferred IO actions. Otherwise, Iteration::close() will be implicitly called upon SeriesIterator::operator++(), i.e. upon going to the next iteration in the foreach loop.

Since this is designed for streaming mode, reopening an iteration is not possible once it has been closed.


The documentation for this class was generated from the following files: