NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import SdfWriter from 'ngl/src/writer/sdf-writer.js'
public class | source

SdfWriter

Extends:

Writer → SdfWriter

Constructor Summary

Public Constructor
public

constructor(structure: Structure, params: Object)

Member Summary

Public Members
public get
public get
public get
public
public get
Private Members
private

Method Summary

Public Methods
public
public
public
Private Methods
private
private
private
private

Inherited Summary

From class Writer
public get abstract
public get abstract
public get abstract
public

download(name: [type], ext: [type]): [type]

Trigger a download of the

public

getBlob(): Blob

Get a blob with the written data

public abstract

getData(): Anything

Public Constructors

public constructor(structure: Structure, params: Object) source

Params:

NameTypeAttributeDescription
structure Structure

structure to write

params Object

parameters

Public Members

public get chargeLines source

public get countsString source

public get idString source

public structure source

public get titleString source

Private Members

private _records source

Public Methods

public formatAtom() source

public formatBond() source

public getData() source

Override:

Writer#getData

Private Methods

private _writeCTab() source

private _writeFooter() source

private _writeHeader() source

private _writeRecords() source