29 #ifndef CDPL_PHARM_PSDPHARMACOPHOREREADER_HPP
30 #define CDPL_PHARM_PSDPHARMACOPHOREREADER_HPP
125 operator const void*()
const;
135 std::size_t recordIndex;
136 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
Reader for pharmacophore data in the CDPL PSD-format.
Definition: PSDPharmacophoreReader.hpp:52
PSDPharmacophoreReader & read(std::size_t idx, Pharmacophore &pharm, bool overwrite=true)
Reads the pharmacophore at record index idx into pharm.
PSDPharmacophoreReader & skip()
Skips the next pharmacophore record (advances the current record index).
std::size_t getRecordIndex() const
Returns the current record index.
bool hasMoreData()
Tells whether the reader has more records to read.
~PSDPharmacophoreReader()
Destructor.
std::size_t getNumRecords()
Returns the total number of records.
PSDPharmacophoreReader & read(Pharmacophore &pharm, bool overwrite=true)
Reads the next pharmacophore into pharm.
void setRecordIndex(std::size_t idx)
Sets the current record index.
PSDPharmacophoreReader(const std::string &file_name)
Constructs a PSDPharmacophoreReader instance that will read the pharmacophore data from the input fil...
PSDPharmacophoreReader(std::istream &is)
Constructs a PSDPharmacophoreReader instance that will read the pharmacophore data from the input str...
bool operator!() const
Tells whether the reader is in a bad (non-readable) state.
Pharm::ScreeningDBAccessor implementation that reads pharmacophore screening databases stored in the ...
Definition: PSDScreeningDBAccessor.hpp:51
Abstract base class for mutable containers of Pharm::Feature instances representing a pharmacophore m...
Definition: Pharmacophore.hpp:53
The namespace of the Chemical Data Processing Library.