29 #ifndef CDPL_CHEM_JMEMOLECULARGRAPHWRITER_HPP
30 #define CDPL_CHEM_JMEMOLECULARGRAPHWRITER_HPP
468 operator const void*()
const;
477 typedef std::unique_ptr<JMEDataWriter> JMEDataWriterPtr;
479 std::ostream& output;
481 JMEDataWriterPtr 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 molecular graph data in the native I/O format of the JME Molecular Editor [JME] java apple...
Definition: JMEMolecularGraphWriter.hpp:438
Base::DataWriter< MolecularGraph > & write(const MolecularGraph &molgraph)
Writes data of the molecular graph molgraph to the output stream specified in the constructor.
JMEMolecularGraphWriter & operator=(const JMEMolecularGraphWriter &)=delete
JMEMolecularGraphWriter(const JMEMolecularGraphWriter &)=delete
~JMEMolecularGraphWriter()
Destructor.
JMEMolecularGraphWriter(std::ostream &os)
Constructs a JMEMolecularGraphWriter instance that will write data of molecular graphs to the output ...
bool operator!() const
Tells whether a previous write operation has failed.
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
The namespace of the Chemical Data Processing Library.