29 #ifndef CDPL_PHARM_PSDMOLECULEREADER_HPP
30 #define CDPL_PHARM_PSDMOLECULEREADER_HPP
129 operator const void*()
const;
139 std::size_t recordIndex;
140 std::size_t numRecords;
Definition of class CDPL::Base::DataReader.
Definition of class CDPL::Pharm::PSDScreeningDBAccessor.
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 reading data objects of a given type from an arbitrary data source.
Definition: DataReader.hpp:73
Abstract base class representing a mutable molecular graph that owns its atoms and bonds.
Definition: Molecule.hpp:53
Reader for molecule data in the CDPL PSD-format.
Definition: PSDMoleculeReader.hpp:56
PSDMoleculeReader & read(std::size_t idx, Chem::Molecule &mol, bool overwrite=true)
Reads the molecule at record index idx into mol.
std::size_t getRecordIndex() const
Returns the current record index.
bool operator!() const
Tells whether the reader is in a bad (non-readable) state.
PSDMoleculeReader(std::istream &is)
Constructs a PSDMoleculeReader instance that will read the molecule data from the input stream is.
void setRecordIndex(std::size_t idx)
Sets the current record index.
bool hasMoreData()
Tells whether the reader has more records to read.
PSDMoleculeReader & read(Chem::Molecule &mol, bool overwrite=true)
Reads the next molecule into mol.
PSDMoleculeReader & skip()
Skips the next molecule record (advances the current record index).
~PSDMoleculeReader()
Destructor.
std::size_t getNumRecords()
Returns the total number of records.
PSDMoleculeReader(const std::string &file_name)
Constructs a PSDMoleculeReader instance that will read the molecule data from the input file file_nam...
Pharm::ScreeningDBAccessor implementation that reads pharmacophore screening databases stored in the ...
Definition: PSDScreeningDBAccessor.hpp:51
The namespace of the Chemical Data Processing Library.