comparison data/fileio/MatrixFile.h @ 1206:659372323b45 tony-2.0-integration

Merge latest SV 3.0 branch code
author Chris Cannam
date Fri, 19 Aug 2016 15:58:57 +0100
parents aa588c391d1a
children
comparison
equal deleted inserted replaced
1136:e94719f941ba 1206:659372323b45
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _MATRIX_FILE_CACHE_H_ 16 #ifndef MATRIX_FILE_H
17 #define _MATRIX_FILE_CACHE_H_ 17 #define MATRIX_FILE_H
18
19 #include "base/ResizeableBitset.h"
20 18
21 #include "FileReadThread.h" 19 #include "FileReadThread.h"
22 20
23 #include <sys/types.h> 21 #include <sys/types.h>
24 #include <QString> 22 #include <QString>
89 int m_width; 87 int m_width;
90 int m_height; 88 int m_height;
91 int m_headerSize; 89 int m_headerSize;
92 QString m_fileName; 90 QString m_fileName;
93 91
94 ResizeableBitset *m_setColumns; // only in writer 92 std::vector<bool> m_setColumns; // only populated in writer
95 bool m_autoClose; 93 bool m_autoClose;
96 94
97 // In reader: if this is >= 0, we can read that column directly 95 // In reader: if this is >= 0, we can read that column directly
98 // without seeking (and we know that the column exists) 96 // without seeking (and we know that the column exists)
99 mutable int m_readyToReadColumn; 97 mutable int m_readyToReadColumn;