comparison layer/TimeInstantLayer.h @ 316:c0b9eec70639

* Make XmlExportable::toXml the function that is universally overridden (and pure virtual) instead of toXmlString. Tidies up some classes, notably the model classes, significantly. Closes #1794561.
author Chris Cannam
date Thu, 18 Oct 2007 10:15:07 +0000
parents cda569dfbdfe
children 2f83b6e3b8ca 64e84e5efb76
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
89 89
90 virtual bool getValueExtents(float &, float &, bool &, QString &) const { 90 virtual bool getValueExtents(float &, float &, bool &, QString &) const {
91 return false; 91 return false;
92 } 92 }
93 93
94 virtual QString toXmlString(QString indent = "", 94 virtual void toXml(QTextStream &stream, QString indent = "",
95 QString extraAttributes = "") const; 95 QString extraAttributes = "") const;
96 96
97 void setProperties(const QXmlAttributes &attributes); 97 void setProperties(const QXmlAttributes &attributes);
98 98
99 protected: 99 protected:
100 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const; 100 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const;