diff base/EventSeries.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 e8b552549225
children 21c792334c2e
line wrap: on
line diff
--- a/base/EventSeries.h	Wed Jan 08 15:26:49 2020 +0000
+++ b/base/EventSeries.h	Fri Jan 10 14:29:54 2020 +0000
@@ -221,6 +221,14 @@
                Event::ExportNameOptions) const;
 
     /**
+     * Emit a label for each column that would be written by
+     * toDelimitedDataString, separated by the given delimiter.
+     */
+    QString getDelimitedDataHeaderLine(QString delimiter,
+                                       DataExportOptions options,
+                                       Event::ExportNameOptions) const;
+    
+    /**
      * Emit events starting within the given range to a delimited
      * (e.g. comma-separated) data format.
      */