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

Class CachedSmilesMolHolder

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

Holds molecules as smiles string
This allows more molecules to be held in memory at a time
  AddMol(mol) -> adds a molecule to the molecule holder, returns index of molecule
  AddSmiles(smiles) -> adds a smiles string to the molecule holder, returns index of molecule
                       The smiles is stored as-is, no checking is done for validity.
  GetMol(idx) -> return the molecule at index idx

Instance Methods [hide private]
 
AddSmiles(...)
AddSmiles( (CachedSmilesMolHolder)arg1, (str)smiles) -> int : Add a trusted smiles string to the molecule holder, no checking is done on the input data
 
__init__(...)
__init__( (object)arg1) -> None :

Inherited from MolHolderBase: AddMol, GetMol, __len__, __reduce__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 32
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

AddSmiles(...)

 

AddSmiles( (CachedSmilesMolHolder)arg1, (str)smiles) -> int :
    Add a trusted smiles string to the molecule holder, no checking is done on the input data

    C++ signature :
        unsigned int AddSmiles(RDKit::CachedSmilesMolHolder {lvalue},std::string)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__