11#ifndef RDKIT_SYNTHONSPACE_SUBSTRUCTURERESULTS_H
12#define RDKIT_SYNTHONSPACE_SUBSTRUCTURERESULTS_H
45 return d_hitMolecules;
49 std::vector<std::unique_ptr<ROMol>> d_hitMolecules;
50 size_t d_maxNumResults;
54 std::vector<std::unique_ptr<ROMol>> &&mols,
size_t maxNumRes)
56 d_hitMolecules = std::move(mols);
62 : d_maxNumResults(
other.d_maxNumResults) {
63 for (
const auto &
hm :
other.d_hitMolecules) {
64 d_hitMolecules.emplace_back(
new ROMol(*
hm));
Defines the primary molecule class ROMol as well as associated typedefs.
SubstructureResults & operator=(SubstructureResults &&other)=default
const std::vector< std::unique_ptr< ROMol > > & getHitMolecules() const
~SubstructureResults()=default
SubstructureResults(SubstructureResults &&other)=default
SubstructureResults & operator=(const SubstructureResults &other)
size_t getMaxNumResults() const
#define RDKIT_SYNTHONSPACESEARCH_EXPORT
bool rdvalue_is(const RDValue_cast_t)