RDKit
Open-source cheminformatics and machine learning.
|
#include <MolWriters.h>
Public Member Functions | |
PDBWriter (const std::string &fileName, unsigned int flavor=0) | |
PDBWriter (std::ostream *outStream, bool takeOwnership=false, unsigned int flavor=0) | |
~PDBWriter () override | |
void | write (const ROMol &mol, int confId=defaultConfId) override |
write a new molecule to the file | |
void | setProps (const STR_VECT &) override |
void | flush () override |
flush the ostream | |
void | close () override |
close our stream (the writer cannot be used again) | |
unsigned int | numMols () const override |
get the number of molecules written so far | |
Public Member Functions inherited from RDKit::MolWriter | |
virtual | ~MolWriter () |
The PDBWriter is for writing molecules to Brookhaven Protein DataBank format files.
Definition at line 301 of file MolWriters.h.
RDKit::PDBWriter::PDBWriter | ( | std::ostream * | outStream, |
bool | takeOwnership = false , |
||
unsigned int | flavor = 0 |
||
) |
|
override |
|
inlineoverridevirtual |
close our stream (the writer cannot be used again)
Implements RDKit::MolWriter.
Definition at line 329 of file MolWriters.h.
|
inlineoverridevirtual |
flush the ostream
Implements RDKit::MolWriter.
Definition at line 314 of file MolWriters.h.
References PRECONDITION.
get the number of molecules written so far
Implements RDKit::MolWriter.
Definition at line 341 of file MolWriters.h.
Implements RDKit::MolWriter.
Definition at line 311 of file MolWriters.h.
|
overridevirtual |
write a new molecule to the file
Implements RDKit::MolWriter.