13#ifndef RD_MARVINPARSER_H
14#define RD_MARVINPARSER_H
24namespace MarvinParser {
41 const std::string &
fName,
51 const std::string &
fName,
72 bool removeHs =
false) {
79 bool removeHs =
false) {
86 bool sanitize =
false,
bool removeHs =
false) {
93 bool removeHs =
false) {
101 std::istream *
inStream,
bool sanitize =
false,
bool removeHs =
false) {
109 std::istream &
inStream,
bool sanitize =
false,
bool removeHs =
false) {
117 const std::string &
molmrvText,
bool sanitize =
false,
118 bool removeHs =
false) {
125 bool sanitize =
false,
126 bool removeHs =
false) {
135 bool includeStereo =
true;
138 bool prettyPrint =
false;
139 unsigned int precision = 6;
150 const std::string &
fName,
164 bool includeStereo =
true,
int confId = -1,
165 bool kekulize =
true,
bool prettyPrint =
false) {
188 int confId = -1,
bool kekulize =
true,
189 bool prettyPrint =
false) {
199 bool prettyPrint =
false);
pulls in the core RDKit functionality
This is a class for storing and applying general chemical reactions.
RWMol is a molecule class that is intended to be edited.
#define RDKIT_MARVINPARSER_EXPORT
ChemicalReaction * MrvDataStreamToChemicalReaction(std::istream *inStream, bool sanitize=false, bool removeHs=false)
bool MrvFileIsReaction(const std::string &fname)
RWMol * MrvFileToMol(const std::string &fName, bool sanitize=false, bool removeHs=false)
RWMol * MrvBlockToMol(const std::string &molmrvText, bool sanitize=false, bool removeHs=false)
bool MrvDataStreamIsReaction(std::istream *inStream)
ChemicalReaction * MrvBlockToChemicalReaction(const std::string &molmrvText, bool sanitize=false, bool removeHs=false)
bool MrvBlockIsReaction(const std::string &molmrvText)
RWMol * MrvDataStreamToMol(std::istream *inStream, bool sanitize=false, bool removeHs=false)
ChemicalReaction * MrvFileToChemicalReaction(const std::string &fName, bool sanitize=false, bool removeHs=false)
RDKIT_MARVINPARSER_EXPORT std::unique_ptr< ChemicalReaction > ReactionFromMrvFile(const std::string &fName, const MrvParserParams ¶ms=MrvParserParams())
RDKIT_MARVINPARSER_EXPORT std::unique_ptr< ChemicalReaction > ReactionFromMrvBlock(const std::string &molmrvText, const MrvParserParams ¶ms=MrvParserParams())
RDKIT_MARVINPARSER_EXPORT std::unique_ptr< RWMol > MolFromMrvBlock(const std::string &molmrvText, const MrvParserParams ¶ms=MrvParserParams())
RDKIT_MARVINPARSER_EXPORT std::unique_ptr< RWMol > MolFromMrvFile(const std::string &fName, const MrvParserParams ¶ms=MrvParserParams())
RDKIT_MARVINPARSER_EXPORT bool MrvBlockIsReaction(const std::string &molmrvText)
RDKIT_MARVINPARSER_EXPORT bool MrvFileIsReaction(const std::string &fname)
RDKIT_MARVINPARSER_EXPORT std::unique_ptr< RWMol > MolFromMrvDataStream(std::istream &inStream, const MrvParserParams ¶ms=MrvParserParams())
RDKIT_MARVINPARSER_EXPORT std::unique_ptr< ChemicalReaction > ReactionFromMrvDataStream(std::istream &inStream, const MrvParserParams ¶ms=MrvParserParams())
RDKIT_MARVINPARSER_EXPORT bool MrvDataStreamIsReaction(std::istream &inStream)
bool rdvalue_is(const RDValue_cast_t)
RDKIT_MARVINPARSER_EXPORT std::string MolToMrvBlock(const ROMol &mol, const MrvWriterParams ¶ms, int confId=-1)
RDKIT_MARVINPARSER_EXPORT std::string ChemicalReactionToMrvBlock(const ChemicalReaction &rxn, bool prettyPrint=false)
RDKIT_MARVINPARSER_EXPORT void MolToMrvFile(const ROMol &mol, const std::string &fName, const MrvWriterParams ¶ms, int confId=-1)
RDKIT_MARVINPARSER_EXPORT void ChemicalReactionToMrvFile(const ChemicalReaction &rxn, const std::string &fName, bool prettyPrint=false)