Class: MdlRxnWriter

Kekule.IO. MdlRxnWriter

new MdlRxnWriter()

Writer for RXN 2000 / 3000 format text data. Use RxnReader.writeData(obj) to save a Kekule.Reaction to MDL V2000 or 3000 text.
Source:

Extends

Methods

writeData(obj, dataType, format, options) → {Variant}

Write Kekule object to data.
Parameters:
Name Type Description
obj Kekule.ChemObject Object to write
dataType String Type of data, value should fom Kekule.IO.ChemDataType.
format String Format ID.
options Hash Additional options to write data. Different writer may have different options.
Inherited From:
Source:
Returns:
Data output, the type of data is decided by dataType param.
Type
Variant