RDKit
Open-source cheminformatics and machine learning.
|
Concrete class that holds molecules in memory. More...
#include <SubstructLibrary.h>
Public Member Functions | |
MolHolder () | |
unsigned int | addMol (const ROMol &m) override |
boost::shared_ptr< ROMol > | getMol (unsigned int idx) const override |
unsigned int | size () const override |
Get the current library size. | |
std::vector< boost::shared_ptr< ROMol > > & | getMols () |
const std::vector< boost::shared_ptr< ROMol > > & | getMols () const |
Public Member Functions inherited from RDKit::MolHolderBase | |
virtual | ~MolHolderBase () |
Concrete class that holds molecules in memory.
This is currently one of the faster implementations. However it is very memory intensive.
Definition at line 87 of file SubstructLibrary.h.
|
inline |
Definition at line 91 of file SubstructLibrary.h.
Add a new molecule to the substructure search library Returns the molecules index in the library
Implements RDKit::MolHolderBase.
Definition at line 93 of file SubstructLibrary.h.
Implements RDKit::MolHolderBase.
Definition at line 98 of file SubstructLibrary.h.
|
inline |
Definition at line 109 of file SubstructLibrary.h.
Definition at line 110 of file SubstructLibrary.h.
Get the current library size.
Implements RDKit::MolHolderBase.
Definition at line 105 of file SubstructLibrary.h.