29 #ifndef CDPL_CHEM_CDFREACTIONWRITER_HPP
30 #define CDPL_CHEM_CDFREACTIONWRITER_HPP
78 operator const void*()
const;
82 typedef std::unique_ptr<CDFDataWriter> CDFDataWriterPtr;
86 CDFDataWriterPtr 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 native I/O format of the CDPL.
Definition: CDFReactionWriter.hpp:52
Base::DataWriter< Reaction > & write(const Reaction &rxn)
Writes the reaction rxn to the output stream specified in the constructor.
bool operator!() const
Tells whether the writer is in a bad state.
CDFReactionWriter & operator=(const CDFReactionWriter &)=delete
~CDFReactionWriter()
Destructor.
CDFReactionWriter(const CDFReactionWriter &)=delete
CDFReactionWriter(std::ostream &os)
Constructs a CDFReactionWriter instance that will write reaction data to the output stream os.
Reaction.
Definition: Reaction.hpp:52
The namespace of the Chemical Data Processing Library.