new BaseMdlWriter()
Base abstract writer for MDL 2000 / 3000 format text data.
Properties:
| Name | Type | Description |
|---|---|---|
mdlVersion |
Int | Output format. V2000 and V3000 has totally different data structures. |
coordMode |
Int | Output 2D or 3D coordinate for molecule. |
- Source:
Extends
Methods
-
writeData(obj, dataType, format, options) → {Variant}
-
Write Kekule object to data.
Parameters:
Name Type Description objKekule.ChemObject Object to write dataTypeString Type of data, value should fom Kekule.IO.ChemDataType. formatString Format ID. optionsHash 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