RDCode: RDKit::TDTWriter Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# RDKit::TDTWriter Class Reference

`#include <MolWriters.h>`

Inheritance diagram for RDKit::TDTWriter:

List of all members.

## Public Member Functions
| TDTWriter (std::string fileName)
| TDTWriter (std::ostream *outStream, bool takeOwnership=false)
| ~TDTWriter ()
void | setProps (const STR_VECT &propNames)
void | write (ROMol &mol, int confId=defaultConfId)
void | flush ()
unsigned int | numMols () const
void | setWrite2D (bool state=true)
bool | getWrite2D () const
void | setWriteNames (bool state=true)
bool | getWriteNames () const
void | setNumDigits (unsigned int numDigits)
unsigned int | getNumDigits () const

## Detailed Description

Definition at line 135 of file MolWriters.h.

## Constructor & Destructor Documentation

RDKit::TDTWriter::TDTWriter | ( | std::string | fileName | ) |

RDKit::TDTWriter::TDTWriter | ( | std::ostream * | outStream,
|  | bool | takeOwnership = `false` |
| ) |  |  |

RDKit::TDTWriter::~TDTWriter | ( |  | ) |

## Member Function Documentation

void RDKit::TDTWriter::setProps | ( | const STR_VECT & | propNames | ) | `[virtual]`

Implements RDKit::MolWriter.

void RDKit::TDTWriter::write | ( | ROMol & | mol,
|  | int | confId = `defaultConfId` |
| ) |  |  | `[virtual]`

Implements RDKit::MolWriter.

void RDKit::TDTWriter::flush | ( |  | ) | `[inline, virtual]`

Implements RDKit::MolWriter.

Definition at line 162 of file MolWriters.h.

References PRECONDITION.

unsigned int RDKit::TDTWriter::numMols | ( |  | ) | const`[inline, virtual]`

Implements RDKit::MolWriter.

Definition at line 168 of file MolWriters.h.

void RDKit::TDTWriter::setWrite2D | ( | bool | state = `true` | ) | `[inline]`

Definition at line 170 of file MolWriters.h.

bool RDKit::TDTWriter::getWrite2D | ( |  | ) | const`[inline]`

Definition at line 171 of file MolWriters.h.

void RDKit::TDTWriter::setWriteNames | ( | bool | state = `true` | ) | `[inline]`

Definition at line 173 of file MolWriters.h.

bool RDKit::TDTWriter::getWriteNames | ( |  | ) | const`[inline]`

Definition at line 174 of file MolWriters.h.

void RDKit::TDTWriter::setNumDigits | ( | unsigned int | numDigits | ) | `[inline]`

Definition at line 176 of file MolWriters.h.

unsigned int RDKit::TDTWriter::getNumDigits | ( |  | ) | const`[inline]`

Definition at line 177 of file MolWriters.h.

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

- MolWriters.h