29 #ifndef CDPL_CHEM_XYZMOLECULARGRAPHWRITER_HPP
30 #define CDPL_CHEM_XYZMOLECULARGRAPHWRITER_HPP
88 operator const void*()
const;
97 typedef std::unique_ptr<XYZDataWriter> XYZDataWriterPtr;
101 XYZDataWriterPtr 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.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
Writer for molecular graph data in XYZ format to an output stream.
Definition: XYZMolecularGraphWriter.hpp:58
XYZMolecularGraphWriter(std::ostream &os)
Constructs a XYZMolecularGraphWriter instance that will write data of molecular graphs to the output ...
Base::DataWriter< MolecularGraph > & write(const MolecularGraph &molgraph)
Writes data of the molecular graph molgraph to the output stream specified in the constructor.
bool operator!() const
Tells whether the writer is in a bad state.
XYZMolecularGraphWriter & operator=(const XYZMolecularGraphWriter &)=delete
~XYZMolecularGraphWriter()
Destructor.
XYZMolecularGraphWriter(const XYZMolecularGraphWriter &)=delete
The namespace of the Chemical Data Processing Library.