comparison base/XmlExportable.cpp @ 123:0f37e92e1782

* 1502816 file export is too slow and memory-hungry Use text stream when writing to file instead of accumulating into a string. * 1500625 Auto-align in MIDI layer confusing Make value extents convert to Hz in return value * 1494623: Duplicate display of frame 0 from vamp plugin output
author Chris Cannam
date Thu, 15 Jun 2006 15:48:05 +0000
parents ea730e3f9ace
children 70a232b1f12a
comparison
equal deleted inserted replaced
122:c1de4b4e9c29 123:0f37e92e1782
15 15
16 #include "XmlExportable.h" 16 #include "XmlExportable.h"
17 #include <map> 17 #include <map>
18 #include <QMutex> 18 #include <QMutex>
19 #include <QMutexLocker> 19 #include <QMutexLocker>
20 #include <QTextStream>
21
22 void
23 XmlExportable::toXml(QTextStream &stream, QString indent,
24 QString extraAttributes) const
25 {
26 stream << toXmlString(indent, extraAttributes);
27 }
20 28
21 QString 29 QString
22 XmlExportable::encodeEntities(QString s) 30 XmlExportable::encodeEntities(QString s)
23 { 31 {
24 s 32 s