29 #ifndef CDPL_CHEM_RDFREACTIONWRITER_HPP
30 #define CDPL_CHEM_RDFREACTIONWRITER_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 reaction data in the MDL RD-File [CTFILE] format.
Definition: RDFReactionWriter.hpp:121
RDFReactionWriter & operator=(const RDFReactionWriter &)=delete
bool operator!() const
Tells whether the writer is in a bad state.
~RDFReactionWriter()
Destructor.
RDFReactionWriter(std::ostream &os)
Constructs a RDFReactionWriter instance that will write the reaction data to the output stream os.
Base::DataWriter< Reaction > & write(const Reaction &rxn)
Writes the reaction rxn to the output stream specified in the constructor.
RDFReactionWriter(const RDFReactionWriter &)=delete
Reaction.
Definition: Reaction.hpp:52
The namespace of the Chemical Data Processing Library.