RDKit
Open-source cheminformatics and machine learning.
|
#include <TautomerQuery.h>
Public Member Functions | |
TautomerQuery (std::vector< ROMOL_SPTR > tautomers, const ROMol *const templateMolecule, std::vector< size_t > modifiedAtoms, std::vector< size_t > modifiedBonds) | |
TautomerQuery (const TautomerQuery &other) | |
Copy constructor performs a deep copy. | |
TautomerQuery (const std::string &pickle) | |
std::vector< MatchVectType > | substructOf (const ROMol &mol, const SubstructMatchParameters ¶ms=SubstructMatchParameters(), std::vector< ROMOL_SPTR > *matchingTautomers=nullptr) const |
bool | isSubstructOf (const ROMol &mol, const SubstructMatchParameters ¶ms=SubstructMatchParameters()) |
ExplicitBitVect * | patternFingerprintTemplate (unsigned int fpSize=2048U) const |
const ROMol & | getTemplateMolecule () const |
const std::vector< ROMOL_SPTR > | getTautomers () const |
const std::vector< size_t > | getModifiedAtoms () const |
const std::vector< size_t > | getModifiedBonds () const |
void | toStream (std::ostream &ss) const |
serializes (pickles) to a stream | |
std::string | serialize () const |
returns a string with a serialized (pickled) representation | |
void | initFromStream (std::istream &ss) |
initializes from a stream pickle | |
void | initFromString (const std::string &text) |
initializes from a string pickle | |
Static Public Member Functions | |
static TautomerQuery * | fromMol (const ROMol &molecule, const std::string &tautomerTransformFile=std::string()) |
static ExplicitBitVect * | patternFingerprintTarget (const ROMol &target, unsigned int fpSize=2048U) |
Friends | |
class | TautomerQueryMatcher |
Definition at line 36 of file TautomerQuery.h.
RDKit::TautomerQuery::TautomerQuery | ( | std::vector< ROMOL_SPTR > | tautomers, |
const ROMol *const | templateMolecule, | ||
std::vector< size_t > | modifiedAtoms, | ||
std::vector< size_t > | modifiedBonds | ||
) |
|
inline |
Copy constructor performs a deep copy.
Definition at line 58 of file TautomerQuery.h.
References PRECONDITION.
|
inline |
Definition at line 71 of file TautomerQuery.h.
|
static |
Definition at line 103 of file TautomerQuery.h.
Definition at line 105 of file TautomerQuery.h.
|
inline |
Definition at line 101 of file TautomerQuery.h.
Definition at line 99 of file TautomerQuery.h.
void RDKit::TautomerQuery::initFromStream | ( | std::istream & | ss | ) |
initializes from a stream pickle
initializes from a string pickle
bool RDKit::TautomerQuery::isSubstructOf | ( | const ROMol & | mol, |
const SubstructMatchParameters & | params = SubstructMatchParameters() |
||
) |
|
static |
ExplicitBitVect * RDKit::TautomerQuery::patternFingerprintTemplate | ( | unsigned int | fpSize = 2048U | ) | const |
std::string RDKit::TautomerQuery::serialize | ( | ) | const |
returns a string with a serialized (pickled) representation
std::vector< MatchVectType > RDKit::TautomerQuery::substructOf | ( | const ROMol & | mol, |
const SubstructMatchParameters & | params = SubstructMatchParameters() , |
||
std::vector< ROMOL_SPTR > * | matchingTautomers = nullptr |
||
) | const |
void RDKit::TautomerQuery::toStream | ( | std::ostream & | ss | ) | const |
serializes (pickles) to a stream
Definition at line 116 of file TautomerQuery.h.