29 #ifndef CDPL_PHARM_SCREENINGDBCREATOR_HPP
30 #define CDPL_PHARM_SCREENINGDBCREATOR_HPP
52 class ScreeningDBAccessor;
78 virtual void open(
const std::string& name,
Mode mode = CREATE,
bool allow_dup_entries =
true) = 0;
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.
MolecularGraph.
Definition: MolecularGraph.hpp:52
A class for accessing the data stored in pharmacophore screening databases.
Definition: ScreeningDBAccessor.hpp:58
A class for the creation of optimized pharmacophore screening databases.
Definition: ScreeningDBCreator.hpp:58
virtual Mode getMode() const =0
Mode
Definition: ScreeningDBCreator.hpp:66
@ UPDATE
Definition: ScreeningDBCreator.hpp:69
@ CREATE
Definition: ScreeningDBCreator.hpp:68
ScreeningDBCreator & operator=(const ScreeningDBCreator &)
Definition: ScreeningDBCreator.hpp:101
virtual const std::string & getDatabaseName() const =0
virtual ~ScreeningDBCreator()
Virtual destructor.
Definition: ScreeningDBCreator.hpp:76
virtual bool allowDuplicateEntries() const =0
virtual std::size_t getNumProcessed() const =0
virtual std::size_t getNumDeleted() const =0
std::function< bool(double)> ProgressCallbackFunction
Definition: ScreeningDBCreator.hpp:63
virtual std::size_t getNumRejected() const =0
virtual std::size_t getNumInserted() const =0
virtual bool process(const Chem::MolecularGraph &molgraph)=0
std::shared_ptr< ScreeningDBCreator > SharedPointer
Definition: ScreeningDBCreator.hpp:61
virtual bool merge(const ScreeningDBAccessor &db_acc, const ProgressCallbackFunction &func)=0
virtual void open(const std::string &name, Mode mode=CREATE, bool allow_dup_entries=true)=0
The namespace of the Chemical Data Processing Library.