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