#include <MolWriters.h>
|
static std::string | getText (const ROMol &mol, int confId=defaultConfId, bool kekulize=true, bool force_V3000=false, int molid=-1, STR_VECT *propNames=nullptr) |
| return the text that would be written to the file
|
|
The SDWriter is for writing molecules and properties to SD files
Definition at line 141 of file MolWriters.h.
◆ SDWriter() [1/2]
RDKit::SDWriter::SDWriter |
( |
const std::string & | fileName | ) |
|
- Parameters
-
fileName | : filename to write to ("-" to write to stdout) |
◆ SDWriter() [2/2]
RDKit::SDWriter::SDWriter |
( |
std::ostream * | outStream, |
|
|
bool | takeOwnership = false ) |
◆ ~SDWriter()
RDKit::SDWriter::~SDWriter |
( |
| ) |
|
|
override |
◆ close()
void RDKit::SDWriter::close |
( |
| ) |
|
|
inlineoverridevirtual |
◆ flush()
void RDKit::SDWriter::flush |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getForceV3000()
bool RDKit::SDWriter::getForceV3000 |
( |
| ) |
const |
|
inline |
◆ getKekulize()
bool RDKit::SDWriter::getKekulize |
( |
| ) |
const |
|
inline |
◆ getText()
static std::string RDKit::SDWriter::getText |
( |
const ROMol & | mol, |
|
|
int | confId = defaultConfId, |
|
|
bool | kekulize = true, |
|
|
bool | force_V3000 = false, |
|
|
int | molid = -1, |
|
|
STR_VECT * | propNames = nullptr ) |
|
static |
return the text that would be written to the file
◆ numMols()
unsigned int RDKit::SDWriter::numMols |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setForceV3000()
void RDKit::SDWriter::setForceV3000 |
( |
bool | val | ) |
|
|
inline |
◆ setKekulize()
void RDKit::SDWriter::setKekulize |
( |
bool | val | ) |
|
|
inline |
◆ setProps()
void RDKit::SDWriter::setProps |
( |
const STR_VECT & | propNames | ) |
|
|
overridevirtual |
set a vector of property names that are need to be written out for each molecule
Implements RDKit::MolWriter.
◆ write()
The documentation for this class was generated from the following file: