29 #ifndef CDPL_CHEM_CDFREACTIONWRITER_HPP
30 #define CDPL_CHEM_CDFREACTIONWRITER_HPP
82 operator const void*()
const;
91 typedef std::unique_ptr<CDFDataWriter> CDFDataWriterPtr;
95 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 class CDPL::Base::DataWriter.
Interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Writer for reaction 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 a previous write operation has failed.
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.
Abstract base class for chemical reactions composed of role-tagged Chem::Molecule components.
Definition: Reaction.hpp:59
The namespace of the Chemical Data Processing Library.