29 #ifndef CDPL_PHARM_PSDMOLECULARGRAPHWRITER_HPP
30 #define CDPL_PHARM_PSDMOLECULARGRAPHWRITER_HPP
94 operator const void*()
const;
104 std::ostream* output;
105 std::streampos outputPos;
Definition of class CDPL::Base::DataWriter.
Definition of class CDPL::Pharm::PSDScreeningDBCreator.
Definition of the preprocessor macro CDPL_PHARM_API.
#define CDPL_PHARM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
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 the CDPL PSD-format.
Definition: PSDMolecularGraphWriter.hpp:56
PSDMolecularGraphWriter(const std::string &file_name)
Constructs a PSDMolecularGraphWriter instance that will write the molecular graph data to the output ...
PSDMolecularGraphWriter & write(const Chem::MolecularGraph &molgraph)
Writes molgraph as the next record to the underlying PSD database.
bool operator!() const
Tells whether the writer is in a bad (non-writable) state.
void close()
Closes the underlying PSD database and finalizes the output stream/file.
~PSDMolecularGraphWriter()
Destructor.
PSDMolecularGraphWriter(std::ostream &os)
Constructs a PSDMolecularGraphWriter instance that will write the molecular graph data to the output ...
Pharm::ScreeningDBCreator implementation that builds optimized pharmacophore screening databases in t...
Definition: PSDScreeningDBCreator.hpp:51
The namespace of the Chemical Data Processing Library.