|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
29 #ifndef CDPL_CHEM_SMARTSREACTIONWRITER_HPP
30 #define CDPL_CHEM_SMARTSREACTIONWRITER_HPP
45 class SMARTSDataWriter;
92 operator const void*()
const;
96 typedef std::unique_ptr<SMARTSDataWriter> SMARTSDataWriterPtr;
102 std::ostream& output;
104 SMARTSDataWriterPtr writer;
109 #endif // CDPL_CHEM_SMARTSREACTIONWRITER_HPP
Definition of the class CDPL::Base::DataWriter.
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.
Base::DataWriter< Reaction > & write(const Reaction &rxn)
Writes the reaction rxn to the output stream specified in the constructor.
~SMARTSReactionWriter()
Destructor.
The namespace of the Chemical Data Processing Library.
Reaction.
Definition: Reaction.hpp:52
SMARTSReactionWriter(std::ostream &os)
Constructs a SMARTSReactionWriter instance that will write the reaction data to the output stream os.
A writer for reaction data in the Daylight SMARTS [SMARTS] format.
Definition: SMARTSReactionWriter.hpp:70
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63