comparison data/model/SparseOneDimensionalModel.h @ 338:f14e2f7b24f7

* More space and time efficient AlignmentModel
author Chris Cannam
date Thu, 22 Nov 2007 11:09:26 +0000
parents 7a4bd2c8585c
children 700cd3350391
comparison
equal deleted inserted replaced
336:5cd7f6d10d47 338:f14e2f7b24f7
28 28
29 int getDimensions() const { return 1; } 29 int getDimensions() const { return 1; }
30 30
31 long frame; 31 long frame;
32 QString label; 32 QString label;
33 33
34 QString getLabel() const { return label; }
35
34 void toXml(QTextStream &stream, 36 void toXml(QTextStream &stream,
35 QString indent = "", 37 QString indent = "",
36 QString extraAttributes = "") const 38 QString extraAttributes = "") const
37 { 39 {
38 stream << QString("%1<point frame=\"%2\" label=\"%3\" %4/>\n") 40 stream << QString("%1<point frame=\"%2\" label=\"%3\" %4/>\n")