Mercurial > hg > svcore
comparison data/model/NoteModel.h @ 1815:c546429d4c2f
Add optional ability to write a header on delimited data output, & to write times in frames
author | Chris Cannam |
---|---|
date | Fri, 10 Jan 2020 14:29:54 +0000 |
parents | ee3b248bda25 |
children | 21c792334c2e |
comparison
equal
deleted
inserted
replaced
1814:1318e069906b | 1815:c546429d4c2f |
---|---|
406 .arg(extraAttributes)); | 406 .arg(extraAttributes)); |
407 | 407 |
408 m_events.toXml(out, indent, QString("dimensions=\"3\"")); | 408 m_events.toXml(out, indent, QString("dimensions=\"3\"")); |
409 } | 409 } |
410 | 410 |
411 QString getDelimitedDataHeaderLine(QString delimiter, | |
412 DataExportOptions options) const override { | |
413 return m_events.getDelimitedDataHeaderLine(delimiter, | |
414 options, | |
415 Event::ExportNameOptions()); | |
416 } | |
417 | |
411 QString toDelimitedDataString(QString delimiter, | 418 QString toDelimitedDataString(QString delimiter, |
412 DataExportOptions options, | 419 DataExportOptions options, |
413 sv_frame_t startFrame, | 420 sv_frame_t startFrame, |
414 sv_frame_t duration) const override { | 421 sv_frame_t duration) const override { |
415 return m_events.toDelimitedDataString | 422 return m_events.toDelimitedDataString |