RDKit
Open-source cheminformatics and machine learning.
|
Base class API for holding molecules to substructure search. More...
#include <SubstructLibrary.h>
Public Member Functions | |
virtual | ~MolHolderBase () |
virtual unsigned int | addMol (const ROMol &m)=0 |
virtual boost::shared_ptr< ROMol > | getMol (unsigned int) const =0 |
virtual unsigned int | size () const =0 |
Get the current library size. | |
Base class API for holding molecules to substructure search.
This is an API that hides the implementation details used for indexing molecules for substructure searching. It simply provides an API for adding and getting molecules from a set.
Definition at line 67 of file SubstructLibrary.h.
|
inlinevirtual |
Definition at line 69 of file SubstructLibrary.h.
Add a new molecule to the substructure search library Returns the molecules index in the library
Implemented in RDKit::MolHolder, RDKit::CachedMolHolder, RDKit::CachedSmilesMolHolder, and RDKit::CachedTrustedSmilesMolHolder.
Implemented in RDKit::MolHolder, RDKit::CachedMolHolder, RDKit::CachedSmilesMolHolder, and RDKit::CachedTrustedSmilesMolHolder.
Referenced by RDKit::SubstructLibrary::getMol(), and RDKit::SubstructLibrary::operator[]().
Get the current library size.
Implemented in RDKit::MolHolder, RDKit::CachedMolHolder, RDKit::CachedSmilesMolHolder, and RDKit::CachedTrustedSmilesMolHolder.
Referenced by RDKit::SubstructLibrary::setSearchOrder().