29 #ifndef CDPL_GRID_CDFDREGULARGRIDWRITER_HPP
30 #define CDPL_GRID_CDFDREGULARGRIDWRITER_HPP
46 class CDFRegularGridDataWriter;
82 operator const void*()
const;
91 typedef std::unique_ptr<CDFRegularGridDataWriter> CDFDataWriterPtr;
95 CDFDataWriterPtr writer;
Definition of 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.
Interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Writer for regular spatial 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 (non-writable) state.
CDFDRegularGridWriter & operator=(const CDFDRegularGridWriter &)=delete
CDFDRegularGridWriter(const CDFDRegularGridWriter &)=delete
CDFDRegularGridWriter(std::ostream &os)
Constructs a CDFDRegularGridWriter instance that will write data of regular spatial grids to the outp...
Base::DataWriter< DRegularGrid > & write(const DRegularGrid &grid)
Writes data of the regular spatial grid grid to the output stream specified in the constructor.
~CDFDRegularGridWriter()
Destructor.
Implementation of the Grid::SpatialGrid interface for regular spatial grids.
Definition: RegularGrid.hpp:55
The namespace of the Chemical Data Processing Library.