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

 MolWriter ()=default
 MolWriter (const MolWriter &)=delete
MolWriter & operator= (const MolWriter &)=delete
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 31 of file MolWriters.h.

Constructor & Destructor Documentation

◆ MolWriter() [1/2]

RDKit::MolWriter::MolWriter ( )
default

Referenced by MolWriter(), and operator=().

◆ MolWriter() [2/2]

RDKit::MolWriter::MolWriter ( const MolWriter & )
delete

References MolWriter().

◆ ~MolWriter()

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

Definition at line 36 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

◆ operator=()

MolWriter & RDKit::MolWriter::operator= ( const MolWriter & )
delete

References MolWriter().

◆ 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: