comparison data/fileio/CSVFormat.h @ 1521:2d291eac9f21 import-audio-data

Ignore non-value columns when guessing sample range
author Chris Cannam
date Wed, 12 Sep 2018 15:27:30 +0100
parents ad46f6e80369
children 64ef24ebb19c
comparison
equal deleted inserted replaced
1520:954d0cf29ca7 1521:2d291eac9f21
131 // read-only; only valid if format has been guessed: 131 // read-only; only valid if format has been guessed:
132 const QList<ColumnQualities> &getColumnQualities() const { 132 const QList<ColumnQualities> &getColumnQualities() const {
133 return m_columnQualities; 133 return m_columnQualities;
134 } 134 }
135 135
136 bool isColumnNumeric(int i) const {
137 return (m_columnQualities.size() > i &&
138 m_columnQualities[i] & ColumnNumeric);
139 }
140
141 // read-only; only valid if format has been guessed: 136 // read-only; only valid if format has been guessed:
142 const QList<QStringList> &getExample() const { 137 const QList<QStringList> &getExample() const {
143 return m_example; 138 return m_example;
144 } 139 }
145 140