13#ifndef RD_MARVINPARSER_H
14#define RD_MARVINPARSER_H
27 const std::string &molmrvText);
37 const std::string &molmrvText,
40 const std::string &fName,
50 const std::string &fName,
71 bool removeHs =
false) {
78 bool removeHs =
false) {
85 bool sanitize =
false,
bool removeHs =
false) {
92 bool removeHs =
false) {
100 std::istream *inStream,
bool sanitize =
false,
bool removeHs =
false) {
108 std::istream &inStream,
bool sanitize =
false,
bool removeHs =
false) {
116 const std::string &molmrvText,
bool sanitize =
false,
117 bool removeHs =
false) {
124 bool sanitize =
false,
125 bool removeHs =
false) {
149 const std::string &fName,
163 bool includeStereo =
true,
int confId = -1,
164 bool kekulize =
true,
bool prettyPrint =
false) {
187 int confId = -1,
bool kekulize =
true,
188 bool prettyPrint =
false) {
198 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)
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)