13#ifndef RD_SMILESPARSEOPS_H
14#define RD_SMILESPARSEOPS_H
40 bool toleratePartials);
46 std::string::const_iterator &pos,
unsigned int startAtomIdx = 0,
47 unsigned int startBondIdx = 0);
49 unsigned int startAtomIdx,
50 unsigned int startBondIdx) {
51 auto iter = extText.begin();
72 std::string_view err_message,
73 unsigned int bad_token_position);
The class for representing atoms.
BondDir
the bond's direction (for chirality)
Class for storing Bond queries.
RWMol is a molecule class that is intended to be edited.
#define RDKIT_SMILESPARSE_EXPORT
void printSyntaxErrorMessage(std::string_view input, std::string_view err_message, unsigned int bad_token_position)
constexpr auto _needsDetectBondStereo
constexpr auto _needsDetectAtomStereo
RDKIT_SMILESPARSE_EXPORT void CheckChiralitySpecifications(RDKit::RWMol *mol, bool strict)
RDKIT_SMILESPARSE_EXPORT void CloseMolRings(RDKit::RWMol *mol, bool toleratePartials)
RDKIT_SMILESPARSE_EXPORT RDKit::QueryBond * getUnspecifiedQueryBond(const RDKit::Atom *a1, const RDKit::Atom *a2)
RDKIT_SMILESPARSE_EXPORT bool checkChiralPermutation(int chiralTag, int permutation)
RDKIT_SMILESPARSE_EXPORT void ClearAtomChemicalProps(RDKit::Atom *atom)
removes formal charge, isotope, etc. Primarily useful for QueryAtoms
RDKIT_SMILESPARSE_EXPORT void parseCXExtensions(RDKit::RWMol &mol, const std::string &extText, std::string::const_iterator &pos, unsigned int startAtomIdx=0, unsigned int startBondIdx=0)
RDKIT_SMILESPARSE_EXPORT void ReportParseError(const char *message, bool throwIt=true)
RDKIT_SMILESPARSE_EXPORT void SetUnspecifiedBondTypes(RDKit::RWMol *mol)
RDKIT_SMILESPARSE_EXPORT void AddFragToMol(RDKit::RWMol *mol, RDKit::RWMol *frag, RDKit::Bond::BondType bondOrder=RDKit::Bond::UNSPECIFIED, RDKit::Bond::BondDir bondDir=RDKit::Bond::NONE)
RDKIT_SMILESPARSE_EXPORT void CleanupAfterParseError(RDKit::RWMol *mol)
RDKIT_SMILESPARSE_EXPORT void AdjustAtomChiralityFlags(RDKit::RWMol *mol)
RDKIT_SMILESPARSE_EXPORT void CheckRingClosureBranchStatus(RDKit::Atom *atom, RDKit::RWMol *mp)
RDKIT_SMILESPARSE_EXPORT RDKit::Bond::BondType GetUnspecifiedBondType(const RDKit::RWMol *mol, const RDKit::Atom *atom1, const RDKit::Atom *atom2)
RDKIT_SMILESPARSE_EXPORT void CleanupAfterParsing(RDKit::RWMol *mol)