11#ifndef RDK_DEPROTECT_LIBRARY
12#define RDK_DEPROTECT_LIBRARY
46 std::shared_ptr<ChemicalReaction>
50 const std::string &reaction_smarts, std::string abbreviation,
51 std::string full_name, std::string example =
"");
61 return !(*
this == other);
66 return rxn.get() !=
nullptr && rxn->getNumProductTemplates() == 1;
pulls in the core RDKit functionality
RWMol is a molecule class that is intended to be edited.
#define RDKIT_DEPROTECT_EXPORT
RDKIT_DEPROTECT_EXPORT const std::vector< DeprotectData > & getDeprotections()
Retrieves the built in list of common deprotections.
RDKIT_DEPROTECT_EXPORT std::unique_ptr< ROMol > deprotect(const ROMol &mol, const std::vector< DeprotectData > &deprotections=getDeprotections())
Deprotect a molecule.
RDKIT_DEPROTECT_EXPORT bool deprotectInPlace(RWMol &mol, const std::vector< DeprotectData > &deprotections=getDeprotections())
Deprotect a molecule in place.
bool rdvalue_is(const RDValue_cast_t)
bool operator!=(const DeprotectData &other) const
bool operator==(const DeprotectData &other) const
std::shared_ptr< ChemicalReaction > rxn
DeprotectData(std::string deprotection_class, const std::string &reaction_smarts, std::string abbreviation, std::string full_name, std::string example="")
std::string reaction_smarts
std::string deprotection_class
bool isValid() const
Returns true if the deprotection is valid.