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