RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::MolWriter Class Referenceabstract

#include <MolWriters.h>

Inheritance diagram for RDKit::MolWriter:
RDKit::PDBWriter RDKit::SDWriter RDKit::SmilesWriter RDKit::TDTWriter

Public Member Functions

virtual ~MolWriter ()
 
virtual void write (const ROMol &mol, int confId=defaultConfId)=0
 
virtual void flush ()=0
 
virtual void close ()=0
 
virtual void setProps (const STR_VECT &propNames)=0
 
virtual unsigned int numMols () const =0
 

Detailed Description

Definition at line 37 of file MolWriters.h.

Constructor & Destructor Documentation

◆ ~MolWriter()

virtual RDKit::MolWriter::~MolWriter ( )
inlinevirtual

Definition at line 39 of file MolWriters.h.

Member Function Documentation

◆ close()

virtual void RDKit::MolWriter::close ( )
pure virtual

◆ flush()

virtual void RDKit::MolWriter::flush ( )
pure virtual

◆ numMols()

virtual unsigned int RDKit::MolWriter::numMols ( ) const
pure virtual

◆ setProps()

virtual void RDKit::MolWriter::setProps ( const STR_VECT propNames)
pure virtual

◆ write()

virtual void RDKit::MolWriter::write ( const ROMol mol,
int  confId = defaultConfId 
)
pure virtual

The documentation for this class was generated from the following file: