rdkit.Chem.rdSubstructLibrary.MolHolderBase

Package rdkit :: Package Chem :: Module rdSubstructLibrary :: Class MolHolderBase |
[hide private]
[frames] | no frames]

# Class MolHolderBase

     object --+
              |
    ??.instance --+
                  |
                 MolHolderBase

Known Subclasses:
  - CachedMolHolder
  - , CachedSmilesMolHolder
  - , CachedTrustedSmilesMolHolder
  - , MolHolder

Instance Methods | [hide private]
AddMol(...) AddMol( (MolHolderBase)arg1, (Mol)arg2) -> int : Adds molecle to the molecule holder |
GetMol(...) GetMol( (MolHolderBase)arg1, (int)arg2) -> Mol : Returns a particular molecule in the molecule holder |
__init__(...) Raises an exception... |
__len__(...) __len__( (MolHolderBase)arg1) -> int : |
__reduce__(...) helper for pickle |
Inherited from `unreachable.instance`: `__new__` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### AddMol(...) |
    AddMol( (MolHolderBase)arg1, (Mol)arg2) -> int :
        Adds molecle to the molecule holder

        C++ signature :
            unsigned int AddMol(RDKit::MolHolderBase {lvalue},RDKit::ROMol)

### GetMol(...) |
    GetMol( (MolHolderBase)arg1, (int)arg2) -> Mol :
        Returns a particular molecule in the molecule holder

          ARGUMENTS:
            - idx: which molecule to return

          NOTE: molecule indices start at 0

        C++ signature :
            boost::shared_ptr<RDKit::ROMol> GetMol(RDKit::MolHolderBase {lvalue},unsigned int)

### __init__(...) (Constructor) |
    Raises an exception
    This class cannot be instantiated from Python
Overrides: object.__init__

### __len__(...) (Length operator) |
    __len__( (MolHolderBase)arg1) -> int :

        C++ signature :
            unsigned int __len__(RDKit::MolHolderBase {lvalue})

### __reduce__(...) |
    helper for pickle
Overrides: object.__reduce__ (inherited documentation)