Package CHEM :: Package DB :: Module DBPopulator3 :: Class MolStringProcessor
[hide private]
[frames] | no frames]

Class MolStringProcessor



BaseDBPopulator.BaseProcessor --+
                                |
                               MolStringProcessor

Convert the current object's attached mol attribute into a molecule string format, specified by the molFormat parameter (one of the OEChem constants, such as OEFormat_SDF), and save this string into the object's field named by the columnName parameter.

Instance Methods [hide private]
 
__init__(self, conn, tableName, columnName, molFormat)
Default constructor should specify the connection object to the database and name of the table it is meant to affect / relate to, but subclasses may override.
 
process(self, parentObj, currObj)
Method Details [hide private]

__init__(self, conn, tableName, columnName, molFormat)
(Constructor)

 
Default constructor should specify the connection object to the database and name of the table it is meant to affect / relate to, but subclasses may override.
Overrides: BaseDBPopulator.BaseProcessor.__init__
(inherited documentation)

process(self, parentObj, currObj)

 
Overrides: BaseDBPopulator.BaseProcessor.process