29 #ifndef CDPL_CHEM_INCHIMOLECULEREADER_HPP
30 #define CDPL_CHEM_INCHIMOLECULEREADER_HPP
189 bool readData(std::istream&,
Molecule&,
bool overwrite);
190 bool skipData(std::istream&);
191 bool moreData(std::istream&);
193 bool readMolecule(std::istream&,
Molecule&);
194 bool skipMolecule(std::istream&);
213 typedef std::vector<char> StringData;
215 std::string inputToken;
216 StringData inputData;
217 StringData inchiOptions;
218 bool strictErrorChecking;
221 std::string logOutput;
Definition of the preprocessor macro CDPL_CHEM_API.
#define CDPL_CHEM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
struct tagInchiAtom inchi_Atom
Definition: INCHIMolecularGraphWriter.hpp:41
struct tagINCHIStereo0D inchi_Stereo0D
Definition: INCHIMolecularGraphWriter.hpp:42
Definition of the class CDPL::Util::StreamDataReader.
Atom.
Definition: Atom.hpp:52
A reader for molecule data in the IUPAC International Chemical Identifier (InChI) [INCHI] format.
Definition: INCHIMoleculeReader.hpp:151
INCHIMoleculeReader(std::istream &is)
Constructs a INCHIMoleculeReader instance that will read the molecule data from the input stream is.
const std::string & getMessage() const
Returns the error message associated with the last read operation.
INCHIMoleculeReader & operator=(const INCHIMoleculeReader &)=delete
int getReturnCode() const
Returns the error code of the last read operation.
const std::string & getLogOutput() const
Returns the log output that was generated for the last read operation.
INCHIMoleculeReader(const INCHIMoleculeReader &)=delete
Molecule.
Definition: Molecule.hpp:49
A helper class that implements Base::DataReader for std::istream based data readers.
Definition: StreamDataReader.hpp:73
CDPL_CHEM_API void setRadicalType(Atom &atom, unsigned int type)
CDPL_CHEM_API void set3DCoordinates(Entity3DContainer &cntnr, const Math::Vector3DArray &coords)
CDPL_CHEM_API void setIsotope(Atom &atom, std::size_t isotope)
CDPL_CHEM_API void set2DCoordinates(AtomContainer &cntnr, const Math::Vector2DArray &coords)
CDPL_CHEM_API void setFormalCharge(Atom &atom, long charge)
The namespace of the Chemical Data Processing Library.