qse
0.5.4
|
#include <qsedataset.h>
Signals | |
void | operationCompleted () |
void | message (const QString &msg) |
void | madeProgress (int level) |
void | dataCleared () |
void | scanAdded (int n) |
void | dataChanged () |
Public Member Functions | |
QseDataSet (const QString &name, QObject *parent=0) | |
~QseDataSet () | |
void | writeScan (int i, const QString &name) |
void | writeScans (const QString &name) |
void | removeScan (int i) |
int | scanCount () const |
void | clear () |
int | maxColumnCount () const |
QseScan * | scan (int n) const |
QStringList | header () const |
void | setHeader (const QStringList &hdr) |
void | appendHeader (const QString &hline) |
QseScan * | appendScan () |
QString | fileName () const |
void | setFileName (const QString &name) |
void | emitOperationCompleted () |
void | emitDataChanged () |
Protected Attributes | |
QMutex | m_Mutex |
Private Attributes | |
QStringList | m_Header |
QList< QseScan * > | m_Scans |
QList< QseScan * > | m_SpareScans |
QString | m_FileName |
Definition at line 14 of file qsedataset.h.
QseDataSet::QseDataSet | ( | const QString & | name, |
QObject * | parent = 0 |
||
) |
Definition at line 9 of file qsedataset.cpp.
QseDataSet::~QseDataSet | ( | ) |
Definition at line 16 of file qsedataset.cpp.
References m_Mutex, m_Scans, m_SpareScans, and scan().
void QseDataSet::appendHeader | ( | const QString & | hline | ) |
Definition at line 137 of file qsedataset.cpp.
References m_Header, and m_Mutex.
Referenced by QseInputFile::nextInputLine().
QseScan * QseDataSet::appendScan | ( | ) |
Definition at line 100 of file qsedataset.cpp.
References clear(), dataChanged(), m_Mutex, m_Scans, m_SpareScans, scan(), scanAdded(), and scanCount().
Referenced by QseInputFile::nextInputLine().
void QseDataSet::clear | ( | ) |
Definition at line 52 of file qsedataset.cpp.
References dataChanged(), dataCleared(), m_Header, m_Mutex, m_Scans, m_SpareScans, and scanCount().
Referenced by appendScan().
|
signal |
Referenced by appendScan(), clear(), emitDataChanged(), and removeScan().
|
signal |
Referenced by clear().
void QseDataSet::emitDataChanged | ( | ) |
void QseDataSet::emitOperationCompleted | ( | ) |
Definition at line 38 of file qsedataset.cpp.
References operationCompleted().
Referenced by QseFileReader::timerRoutine().
QString QseDataSet::fileName | ( | ) | const |
Definition at line 186 of file qsedataset.cpp.
References m_FileName.
Referenced by QseDataExport::QseDataExport(), and QseDataExport::substituteFilenamePatterns().
QStringList QseDataSet::header | ( | ) | const |
Definition at line 125 of file qsedataset.cpp.
References m_Header, and m_Mutex.
Referenced by QseDataExport::updatePreview().
|
signal |
Referenced by QseInputFile::nextInputLine(), and QseInputFile::updateProgress().
int QseDataSet::maxColumnCount | ( | ) | const |
Definition at line 82 of file qsedataset.cpp.
References QseScan::columnCount(), m_Mutex, m_Scans, and scan().
Referenced by QseDataSetModel::columnCount().
|
signal |
Referenced by QseInputFile::nextInputLine(), and writeScan().
|
signal |
Referenced by emitOperationCompleted(), and QseInputFile::nextInputLine().
void QseDataSet::removeScan | ( | int | i | ) |
Definition at line 170 of file qsedataset.cpp.
References dataChanged(), m_Mutex, m_Scans, m_SpareScans, and scanCount().
QseScan * QseDataSet::scan | ( | int | n | ) | const |
Definition at line 70 of file qsedataset.cpp.
References m_Mutex, m_Scans, and scanCount().
Referenced by appendScan(), QseController::currentScan(), QseDataSetModel::data(), QseGraphScansModel::data(), QseNormalizer::matchesScan(), QseNormalizer::matchesScanPattern(), maxColumnCount(), QseNormalizer::normalizeScan(), QseDataExport::QseDataExport(), QseDataReference::QseDataReference(), QseController::scan(), QseDataExport::substituteFilenamePatterns(), writeScan(), and ~QseDataSet().
|
signal |
Referenced by appendScan().
int QseDataSet::scanCount | ( | ) | const |
Definition at line 31 of file qsedataset.cpp.
References m_Mutex, and m_Scans.
Referenced by appendScan(), clear(), QseInputFile::nextInputLine(), QseDataExport::QseDataExport(), removeScan(), scan(), and writeScans().
void QseDataSet::setFileName | ( | const QString & | name | ) |
Definition at line 191 of file qsedataset.cpp.
References m_FileName.
Referenced by QseInputFile::nextDataFile().
void QseDataSet::setHeader | ( | const QStringList & | hdr | ) |
Definition at line 132 of file qsedataset.cpp.
References m_Header.
void QseDataSet::writeScan | ( | int | i, |
const QString & | name | ||
) |
Definition at line 151 of file qsedataset.cpp.
References message(), and scan().
Referenced by writeScans().
void QseDataSet::writeScans | ( | const QString & | name | ) |
|
private |
Definition at line 59 of file qsedataset.h.
Referenced by fileName(), and setFileName().
|
private |
Definition at line 55 of file qsedataset.h.
Referenced by appendHeader(), clear(), header(), and setHeader().
|
mutableprotected |
Definition at line 62 of file qsedataset.h.
Referenced by appendHeader(), appendScan(), QseInputFile::atEnd(), clear(), QseInputFile::filePath(), header(), maxColumnCount(), QseInputFile::nextDataFile(), QseInputFile::nextInputLine(), removeScan(), scan(), scanCount(), QseInputFile::updateProgress(), ~QseDataSet(), and QseInputFile::~QseInputFile().
|
private |
Definition at line 56 of file qsedataset.h.
Referenced by appendScan(), clear(), maxColumnCount(), removeScan(), scan(), scanCount(), and ~QseDataSet().
|
private |
Definition at line 57 of file qsedataset.h.
Referenced by appendScan(), clear(), removeScan(), and ~QseDataSet().