11#ifndef RDKIT_SYNTHONSPACE_SEARCHRESULTS_H
12#define RDKIT_SYNTHONSPACE_SEARCHRESULTS_H
21 SearchResults(std::vector<std::unique_ptr<ROMol>> &&mols,
size_t maxNumRes);
45 return d_hitMolecules;
49 std::vector<std::unique_ptr<ROMol>> d_hitMolecules;
50 size_t d_maxNumResults;
56 d_hitMolecules = std::move(mols);
61 : d_maxNumResults(
other.d_maxNumResults) {
62 for (
const auto &
hm :
other.d_hitMolecules) {
63 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)
SearchResults(SearchResults &&other)=default
size_t getMaxNumResults() const
#define RDKIT_SYNTHONSPACESEARCH_EXPORT
bool rdvalue_is(const RDValue_cast_t)