29 #ifndef CDPL_BIOMOL_MMCIFMOLECULARGRAPHWRITER_HPP
30 #define CDPL_BIOMOL_MMCIFMOLECULARGRAPHWRITER_HPP
51 class MMCIFDataWriter;
83 operator const void*()
const;
88 typedef std::unique_ptr<MMCIFDataWriter> MMCIFDataWriterPtr;
92 MMCIFDataWriterPtr writer;
Definition of the preprocessor macro CDPL_BIOMOL_API.
#define CDPL_BIOMOL_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: MMCIFMolecularGraphWriter.hpp:57
MMCIFMolecularGraphWriter & operator=(const MMCIFMolecularGraphWriter &)=delete
MMCIFMolecularGraphWriter(std::ostream &os)
Constructs a MMCIFMolecularGraphWriter instance that will write data of molecular graphs to the outpu...
bool operator!() const
Tells whether the writer is in a bad state.
MMCIFMolecularGraphWriter(const MMCIFMolecularGraphWriter &)=delete
~MMCIFMolecularGraphWriter()
Destructor.
Base::DataWriter< Chem::MolecularGraph > & write(const Chem::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.