openPMD-api
Public Member Functions | Public Attributes | List of all members
openPMD::IOTask Class Reference

Self-contained description of a single IO operation. More...

#include <IOTask.hpp>

Collaboration diagram for openPMD::IOTask:
Collaboration graph
[legend]

Public Member Functions

template<Operation op>
 IOTask (Writable *w, Parameter< op > const &p)
 Constructor for self-contained description of single IO operation. More...
 
template<Operation op>
 IOTask (AttributableInterface *a, Parameter< op > const &p)
 
 IOTask (IOTask const &other)
 
IOTaskoperator= (IOTask const &other)
 

Public Attributes

Writablewritable
 
Operation operation
 
std::shared_ptr< AbstractParameterparameter
 

Detailed Description

Self-contained description of a single IO operation.

Contained are 1) the parameters to 2) a single atomic file Operation on the 3) concrete Writable object corresponding to both a local representation in openPMD-api and a persistent object in a file on disk

Constructor & Destructor Documentation

◆ IOTask()

template<Operation op>
openPMD::IOTask::IOTask ( Writable w,
Parameter< op > const &  p 
)
inlineexplicit

Constructor for self-contained description of single IO operation.

Template Parameters
opType of Operation to be executed.
Parameters
wWritable indicating the location of the object being operated on.
pParameter object supplying all required input and/or output parameters to the operation.

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