RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
SmartsWrite.h File Reference
#include <RDGeneral/export.h>
#include <string>
#include <vector>
#include "SmilesWrite.h"

Go to the source code of this file.

Namespaces

namespace  RDKit
 Std stuff.
 
namespace  RDKit::SmartsWrite
 

Functions

RDKIT_SMILESPARSE_EXPORT std::string RDKit::SmartsWrite::GetAtomSmarts (const Atom *qatom, const SmilesWriteParams &params)
 returns the SMARTS for an Atom
 
std::string RDKit::SmartsWrite::GetAtomSmarts (const Atom *qatom)
 returns the SMARTS for an Atom
 
RDKIT_SMILESPARSE_EXPORT std::string RDKit::SmartsWrite::GetBondSmarts (const Bond *qbond, const SmilesWriteParams &params, int atomToLeftIdx=-1)
 returns the SMARTS for a Bond
 
std::string RDKit::SmartsWrite::GetBondSmarts (const Bond *qbond, int atomToLeftIdx=-1)
 returns the SMARTS for a Bond
 
RDKIT_SMILESPARSE_EXPORT std::string RDKit::MolToSmarts (const ROMol &mol, const SmilesWriteParams &params)
 
std::string RDKit::MolToSmarts (const ROMol &mol, bool doIsomericSmarts=true, int rootedAtAtom=-1)
 returns the SMARTS for a molecule
 
RDKIT_SMILESPARSE_EXPORT std::string RDKit::MolFragmentToSmarts (const ROMol &mol, const SmilesWriteParams &params, const std::vector< int > &atomsToUse, const std::vector< int > *bondsToUse=nullptr)
 
RDKIT_SMILESPARSE_EXPORT std::string RDKit::MolToCXSmarts (const ROMol &mol, const SmilesWriteParams &params)
 returns the CXSMARTS for a molecule
 
RDKIT_SMILESPARSE_EXPORT std::string RDKit::MolFragmentToCXSmarts (const ROMol &mol, const SmilesWriteParams &params, const std::vector< int > &atomsToUse, const std::vector< int > *bondsToUse=nullptr)
 
std::string RDKit::MolFragmentToSmarts (const ROMol &mol, const std::vector< int > &atomsToUse, const std::vector< int > *bondsToUse=nullptr, bool doIsomericSmarts=true)
 
std::string RDKit::MolToCXSmarts (const ROMol &mol, bool doIsomericSmarts=true)
 returns the CXSMARTS for a molecule
 
std::string RDKit::MolFragmentToCXSmarts (const ROMol &mol, const std::vector< int > &atomsToUse, const std::vector< int > *bondsToUse=nullptr, bool doIsomericSmarts=true)