comparison transform/CSVFeatureWriter.h @ 1586:841b2a3e606d

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:24:38 +0000
parents ad5f892c0c4d
children
comparison
equal deleted inserted replaced
1585:9570ef94eaa3 1586:841b2a3e606d
15 published by the Free Software Foundation; either version 2 of the 15 published by the Free Software Foundation; either version 2 of the
16 License, or (at your option) any later version. See the file 16 License, or (at your option) any later version. See the file
17 COPYING included with this distribution for more information. 17 COPYING included with this distribution for more information.
18 */ 18 */
19 19
20 #ifndef _CSV_FEATURE_WRITER_H_ 20 #ifndef SV_CSV_FEATURE_WRITER_H
21 #define _CSV_FEATURE_WRITER_H_ 21 #define SV_CSV_FEATURE_WRITER_H
22 22
23 #include <string> 23 #include <string>
24 #include <map> 24 #include <map>
25 #include <set> 25 #include <set>
26 26
38 { 38 {
39 public: 39 public:
40 CSVFeatureWriter(); 40 CSVFeatureWriter();
41 virtual ~CSVFeatureWriter(); 41 virtual ~CSVFeatureWriter();
42 42
43 virtual string getDescription() const; 43 string getDescription() const override;
44 44
45 virtual ParameterList getSupportedParameters() const; 45 ParameterList getSupportedParameters() const override;
46 virtual void setParameters(map<string, string> &params); 46 void setParameters(map<string, string> &params) override;
47 47
48 virtual void write(QString trackid, 48 void write(QString trackid,
49 const Transform &transform, 49 const Transform &transform,
50 const Vamp::Plugin::OutputDescriptor &output, 50 const Vamp::Plugin::OutputDescriptor &output,
51 const Vamp::Plugin::FeatureList &features, 51 const Vamp::Plugin::FeatureList &features,
52 std::string summaryType = ""); 52 std::string summaryType = "") override;
53 53
54 virtual void finish(); 54 void finish() override;
55 55
56 virtual QString getWriterTag() const { return "csv"; } 56 QString getWriterTag() const override { return "csv"; }
57 57
58 private: 58 private:
59 QString m_separator; 59 QString m_separator;
60 bool m_sampleTiming; 60 bool m_sampleTiming;
61 bool m_endTimes; 61 bool m_endTimes;