29 #ifndef CDPL_GRID_CDFDREGULARGRIDWRITER_HPP
30 #define CDPL_GRID_CDFDREGULARGRIDWRITER_HPP
46 class CDFRegularGridDataWriter;
78 operator const void*()
const;
82 typedef std::unique_ptr<CDFRegularGridDataWriter> CDFDataWriterPtr;
86 CDFDataWriterPtr writer;
Definition of the class CDPL::Base::DataWriter.
Definition of the preprocessor macro CDPL_GRID_API.
#define CDPL_GRID_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of a regular spatial grid data type.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
A writer for spatial regular grid data in the native I/O format of the CDPL.
Definition: CDFDRegularGridWriter.hpp:52
bool operator!() const
Tells whether the writer is in a bad state.
CDFDRegularGridWriter & operator=(const CDFDRegularGridWriter &)=delete
CDFDRegularGridWriter(const CDFDRegularGridWriter &)=delete
CDFDRegularGridWriter(std::ostream &os)
Constructs a CDFDRegularGridWriter instance that will write data of spatial regular grids to the outp...
Base::DataWriter< DRegularGrid > & write(const DRegularGrid &grid)
Writes data of the spatial regular grid grid to the output stream specified in the constructor.
~CDFDRegularGridWriter()
Destructor.
RegularGrid.
Definition: RegularGrid.hpp:48
The namespace of the Chemical Data Processing Library.