comparison data/fileio/CSVFormat.h @ 1511:12b7a9613eb5 import-audio-data

Add quicker accessor for numeric status
author Chris Cannam
date Thu, 06 Sep 2018 11:49:00 +0100
parents 5f1b2a117a4f
children c9c2aa17439a
comparison
equal deleted inserted replaced
1510:5f1b2a117a4f 1511:12b7a9613eb5
119 // read-only; only valid if format has been guessed: 119 // read-only; only valid if format has been guessed:
120 const QList<ColumnQualities> &getColumnQualities() const { 120 const QList<ColumnQualities> &getColumnQualities() const {
121 return m_columnQualities; 121 return m_columnQualities;
122 } 122 }
123 123
124 bool isColumnNumeric(int i) const {
125 return (m_columnQualities.size() > i &&
126 m_columnQualities[i] & ColumnNumeric);
127 }
128
124 // read-only; only valid if format has been guessed: 129 // read-only; only valid if format has been guessed:
125 const QList<QStringList> &getExample() const { 130 const QList<QStringList> &getExample() const {
126 return m_example; 131 return m_example;
127 } 132 }
128 133