#include <MolSupplier.v1API.h>
|
| | SDMolSupplier () |
| |
| | SDMolSupplier (const std::string &fileName, bool sanitize=true, bool removeHs=true, bool strictParsing=true) |
| |
| | SDMolSupplier (std::istream *inStream, bool takeOwnership=true, bool sanitize=true, bool removeHs=true, bool strictParsing=true) |
| |
| void | moveTo (unsigned int idx) |
| |
| ROMol * | operator[] (unsigned int idx) |
| |
| std::string | getItemText (unsigned int idx) |
| | returns the text block for a particular item
|
| |
| unsigned int | length () |
| |
| void | setData (const std::string &text, bool sanitize=true, bool removeHs=true) |
| |
| void | setData (const std::string &text, bool sanitize, bool removeHs, bool strictParsing) |
| |
| void | setStreamIndices (const std::vector< std::streampos > &locs) |
| |
| | ForwardSDMolSupplier () |
| |
| | ForwardSDMolSupplier (std::istream *inStream, bool takeOwnership=true, bool sanitize=true, bool removeHs=true, bool strictParsing=false) |
| |
| | ~ForwardSDMolSupplier () override |
| |
| void | setProcessPropertyLists (bool val) |
| |
| bool | getProcessPropertyLists () const |
| |
| bool | getEOFHitOnRead () const |
| |
| | MolSupplier () |
| |
| virtual | ~MolSupplier () |
| |
| void | init () |
| |
| void | reset () |
| |
| bool | atEnd () |
| |
| ROMol * | next () |
| |
| virtual void | close () |
| |
Definition at line 128 of file MolSupplier.v1API.h.
◆ ContainedType
◆ SDMolSupplier() [1/3]
| RDKit::v1::SDMolSupplier::SDMolSupplier |
( |
| ) |
|
|
inline |
◆ SDMolSupplier() [2/3]
| RDKit::v1::SDMolSupplier::SDMolSupplier |
( |
const std::string & | fileName, |
|
|
bool | sanitize = true, |
|
|
bool | removeHs = true, |
|
|
bool | strictParsing = true ) |
|
inlineexplicit |
◆ SDMolSupplier() [3/3]
| RDKit::v1::SDMolSupplier::SDMolSupplier |
( |
std::istream * | inStream, |
|
|
bool | takeOwnership = true, |
|
|
bool | sanitize = true, |
|
|
bool | removeHs = true, |
|
|
bool | strictParsing = true ) |
|
inlineexplicit |
◆ getItemText()
| std::string RDKit::v1::SDMolSupplier::getItemText |
( |
unsigned int | idx | ) |
|
|
inline |
◆ length()
| unsigned int RDKit::v1::SDMolSupplier::length |
( |
| ) |
|
|
inline |
◆ moveTo()
| void RDKit::v1::SDMolSupplier::moveTo |
( |
unsigned int | idx | ) |
|
|
inline |
◆ operator[]()
| ROMol * RDKit::v1::SDMolSupplier::operator[] |
( |
unsigned int | idx | ) |
|
|
inline |
◆ setData() [1/2]
| void RDKit::v1::SDMolSupplier::setData |
( |
const std::string & | text, |
|
|
bool | sanitize, |
|
|
bool | removeHs, |
|
|
bool | strictParsing ) |
|
inline |
◆ setData() [2/2]
| void RDKit::v1::SDMolSupplier::setData |
( |
const std::string & | text, |
|
|
bool | sanitize = true, |
|
|
bool | removeHs = true ) |
|
inline |
◆ setStreamIndices()
| void RDKit::v1::SDMolSupplier::setStreamIndices |
( |
const std::vector< std::streampos > & | locs | ) |
|
|
inline |
Resets our internal state and sets the indices of molecules in the stream. The client should be very careful about calling this method, as it's trivial to end up with a completely useless supplier.
- Parameters
-
| locs | - the vector of stream positions. |
Note that this can be used not only to make reading selected molecules from a large SD file much faster, but it can also allow subsetting an SD file or rearranging the order of the molecules.
Definition at line 224 of file MolSupplier.v1API.h.
References RDKit::v1::MolSupplier::dp_supplier, and PRECONDITION.
The documentation for this class was generated from the following file: