Changeset View
Changeset View
Standalone View
Standalone View
libscience/isotopeparser.h
Show All 27 Lines | |||||
28 | */ | 28 | */ | ||
29 | class SCIENCE_EXPORT IsotopeParser : public QXmlDefaultHandler | 29 | class SCIENCE_EXPORT IsotopeParser : public QXmlDefaultHandler | ||
30 | { | 30 | { | ||
31 | public: | 31 | public: | ||
32 | /** | 32 | /** | ||
33 | * Constructor | 33 | * Constructor | ||
34 | */ | 34 | */ | ||
35 | IsotopeParser(); | 35 | IsotopeParser(); | ||
36 | ~IsotopeParser(); | 36 | ~IsotopeParser() override; | ||
37 | bool startElement(const QString &, const QString &localName, const QString &, | 37 | bool startElement(const QString &, const QString &localName, const QString &, | ||
38 | const QXmlAttributes &attrs) override; | 38 | const QXmlAttributes &attrs) override; | ||
39 | 39 | | |||
40 | bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName) override; | 40 | bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName) override; | ||
41 | 41 | | |||
42 | bool characters(const QString &ch) override; | 42 | bool characters(const QString &ch) override; | ||
43 | 43 | | |||
44 | QList<Isotope*> getIsotopes(); | 44 | QList<Isotope*> getIsotopes(); | ||
45 | 45 | | |||
46 | private: | 46 | private: | ||
47 | class Private; | 47 | class Private; | ||
48 | Private *const d; | 48 | Private *const d; | ||
49 | }; | 49 | }; | ||
50 | #endif // ISOTOPEPARSER_H | 50 | #endif // ISOTOPEPARSER_H | ||
51 | 51 | |