11#ifndef RDKIT_SYNTHONSPACE_SEARCHRESULTS_H
12#define RDKIT_SYNTHONSPACE_SEARCHRESULTS_H
21 SearchResults(std::vector<std::unique_ptr<ROMol>> &&mols,
size_t maxNumRes,
22 bool timedOut,
bool cancelled);
46 return d_hitMolecules;
61 std::vector<std::unique_ptr<ROMol>> d_hitMolecules;
62 size_t d_maxNumResults;
63 bool d_timedOut{
false};
64 bool d_cancelled{
false};
71 d_hitMolecules = std::move(mols);
76 : d_maxNumResults(
other.d_maxNumResults),
77 d_timedOut(
other.d_timedOut),
78 d_cancelled(
other.d_cancelled) {
79 for (
const auto &
hm :
other.d_hitMolecules) {
80 d_hitMolecules.emplace_back(
new ROMol(*
hm));
Defines the primary molecule class ROMol as well as associated typedefs.
const std::vector< std::unique_ptr< ROMol > > & getHitMolecules() const
SearchResults & operator=(SearchResults &&other)=default
SearchResults & operator=(const SearchResults &other)
bool getCancelled() const
SearchResults(SearchResults &&other)=default
size_t getMaxNumResults() const
#define RDKIT_SYNTHONSPACESEARCH_EXPORT
bool rdvalue_is(const RDValue_cast_t)