29 #ifndef CDPL_CHEM_MOL2MOLECULARGRAPHWRITER_HPP
30 #define CDPL_CHEM_MOL2MOLECULARGRAPHWRITER_HPP
75 operator const void*()
const;
79 typedef std::unique_ptr<MOL2DataWriter> MOL2DataWriterPtr;
83 MOL2DataWriterPtr 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
Definition: MOL2MolecularGraphWriter.hpp:49
Base::DataWriter< MolecularGraph > & write(const MolecularGraph &molgraph)
Writes data of the molecular graph molgraph to the output stream specified in the constructor.
MOL2MolecularGraphWriter(std::ostream &os)
Constructs a MOL2MolecularGraphWriter instance that will write data of molecular graphs to the output...
~MOL2MolecularGraphWriter()
Destructor.
MOL2MolecularGraphWriter(const MOL2MolecularGraphWriter &)=delete
bool operator!() const
Tells whether the writer is in a bad state.
MOL2MolecularGraphWriter & operator=(const MOL2MolecularGraphWriter &)=delete
MolecularGraph.
Definition: MolecularGraph.hpp:52
The namespace of the Chemical Data Processing Library.