Package rdkit :: Package Chem :: Package Suppliers :: Module DbMolSupplier :: Class ForwardDbMolSupplier

[hide private]
[frames] | no frames]

# Class ForwardDbMolSupplier

source code

                 object --+
                          |
    MolSupplier.MolSupplier --+
                              |
                  DbMolSupplier --+
                                  |
                                 ForwardDbMolSupplier

    DbMol supplier supporting only forward iteration

    new molecules come back with all additional fields from the
    database set in a "_fieldsFromDb" data member

Instance Methods | [hide private]

__init__(self, dbResults, **kwargs) | source code

Reset(self) | source code

NextMol(self) | source code

Inherited from `DbMolSupplier`: `GetColumnNames` Inherited from `DbMolSupplier` (private): `_BuildMol` Inherited from `MolSupplier.MolSupplier`: `__iter__`, `next` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, dbResults, **kwargs)
(Constructor)

source code

    DbResults should be an iterator for Dbase.DbResultSet.DbResultBase

Overrides: object.__init__

### Reset(self)

source code

Overrides: MolSupplier.MolSupplier.Reset

### NextMol(self)

source code

    NOTE: this has side effects

Overrides: MolSupplier.MolSupplier.NextMol