![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <MolSupplier.h>
Public Member Functions | |
| MolSupplier () | |
| virtual | ~MolSupplier () |
| virtual void | init ()=0 |
| virtual void | reset ()=0 |
| virtual bool | atEnd ()=0 |
| virtual ROMol * | next ()=0 |
Protected Attributes | |
| std::istream * | dp_inStream |
| bool | df_owner |
Here are a couple of ways one can interact with MolSuppliers:
1) Lazy (ForwardIterator): while(!supplier.atEnd()){ ROMol *mol = supplier.next(); if(mol){ do something; } } 2) Random Access: for(int i=0;i<supplier.length();i++){ ROMol *mol = supplier[i]; if(mol){ do something; } }
Definition at line 56 of file MolSupplier.h.
|
inline |
Definition at line 59 of file MolSupplier.h.
|
inlinevirtual |
Definition at line 60 of file MolSupplier.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 78 of file MolSupplier.h.
|
protected |
Definition at line 76 of file MolSupplier.h.