Mercurial > hg > svcore
comparison transform/FeatureWriter.h @ 1586:841b2a3e606d
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:38 +0000 |
parents | ad5f892c0c4d |
children | 98339fac0faf |
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 _FEATURE_WRITER_H_ | 20 #ifndef SV_FEATURE_WRITER_H |
21 #define _FEATURE_WRITER_H_ | 21 #define SV_FEATURE_WRITER_H |
22 | 22 |
23 #include <string> | 23 #include <string> |
24 #include <map> | 24 #include <map> |
25 #include <vector> | 25 #include <vector> |
26 | 26 |
70 FailedToOpenOutputStream(QString trackId, QString transformId) throw() : | 70 FailedToOpenOutputStream(QString trackId, QString transformId) throw() : |
71 m_trackId(trackId), | 71 m_trackId(trackId), |
72 m_transformId(transformId) | 72 m_transformId(transformId) |
73 { } | 73 { } |
74 virtual ~FailedToOpenOutputStream() throw() { } | 74 virtual ~FailedToOpenOutputStream() throw() { } |
75 virtual const char *what() const throw() { | 75 const char *what() const throw() override { |
76 return QString("Failed to open output stream for track id \"%1\", transform id \"%2\"") | 76 return QString("Failed to open output stream for track id \"%1\", transform id \"%2\"") |
77 .arg(m_trackId).arg(m_transformId).toLocal8Bit().data(); | 77 .arg(m_trackId).arg(m_transformId).toLocal8Bit().data(); |
78 } | 78 } |
79 | 79 |
80 protected: | 80 protected: |