11#ifndef RDKIT_SYNTHONSPACE_SEARCHRESULTS_H
12#define RDKIT_SYNTHONSPACE_SEARCHRESULTS_H
25 std::function<bool(std::vector<std::unique_ptr<ROMol>> &)>;
34 std::uint64_t maxNumRes,
bool timedOut,
bool cancelled);
58 return d_hitMolecules;
77 std::vector<std::unique_ptr<ROMol>> d_hitMolecules;
80 std::unordered_set<std::string> d_molNames;
82 std::uint64_t d_maxNumResults;
83 bool d_timedOut{
false};
84 bool d_cancelled{
false};
Defines the primary molecule class ROMol as well as associated typedefs.
const std::vector< std::unique_ptr< ROMol > > & getHitMolecules() const
std::uint64_t getMaxNumResults() const
SearchResults & operator=(SearchResults &&other)=default
SearchResults(const SearchResults &other)
SearchResults & operator=(const SearchResults &other)
void mergeResults(SearchResults &other)
bool getCancelled() const
SearchResults(std::vector< std::unique_ptr< ROMol > > &&mols, std::uint64_t maxNumRes, bool timedOut, bool cancelled)
SearchResults(SearchResults &&other)=default
#define RDKIT_SYNTHONSPACESEARCH_EXPORT
std::function< bool(std::vector< std::unique_ptr< ROMol > > &)> SearchResultCallback