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

Class CachedMolHolder

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

Holds molecules in their binary representation.
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
  AddBinary(data) -> adds a picked molecule molecule to the molecule holder, returns index of molecule
                     The data is stored as-is, no checking is done for validity.
  GetMol(idx) -> return the molecule at index idx

Instance Methods [hide private]
 
AddBinary(...)
AddBinary( (CachedMolHolder)arg1, (str)pickle) -> int : Add a binary pickle 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]

AddBinary(...)

 

AddBinary( (CachedMolHolder)arg1, (str)pickle) -> int :
    Add a binary pickle to the molecule holder, no checking is done on the input data

    C++ signature :
        unsigned int AddBinary(RDKit::CachedMolHolder {lvalue},std::string)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__