29 #ifndef CDPL_CHEM_MOLMOLECULARGRAPHWRITER_HPP
30 #define CDPL_CHEM_MOLMOLECULARGRAPHWRITER_HPP
147 operator const void*()
const;
151 typedef std::unique_ptr<MDLDataWriter> MDLDataWriterPtr;
153 std::ostream& output;
155 MDLDataWriterPtr 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 MDL Mol-File [CTFILE] format.
Definition: MOLMolecularGraphWriter.hpp:121
~MOLMolecularGraphWriter()
Destructor.
bool operator!() const
Tells whether the writer is in a bad state.
MOLMolecularGraphWriter(std::ostream &os)
Constructs a MOLMolecularGraphWriter instance that will write data of molecular graphs to the output ...
MOLMolecularGraphWriter(const MOLMolecularGraphWriter &)=delete
Base::DataWriter< MolecularGraph > & write(const MolecularGraph &molgraph)
Writes data of the molecular graph molgraph to the output stream specified in the constructor.
MOLMolecularGraphWriter & operator=(const MOLMolecularGraphWriter &)=delete
MolecularGraph.
Definition: MolecularGraph.hpp:52
The namespace of the Chemical Data Processing Library.