qse
0.5.4
|
#include <qsescan.h>
Public Member Functions | |
QseScan (const char *name) | |
~QseScan () | |
QString | name () const |
void | setName (QString name) |
int | columnCount () const |
void | setColumnCount (int n) |
int | maxRowCount () const |
void | setRowCount (int n) |
void | clear () |
QseColumn * | column (int n) const |
QseColumn * | column (const QString &nm) const |
void | setColumnNames (const char *nms) |
void | appendHeader (const QString &h) |
void | appendData (const char *l) |
QseColumn * | appendColumn (const QString &name, const QseColumn *proto=NULL) |
QString | scanCommand () const |
void | setScanCommand (const QString &cmd) |
void | writeScan (const QString &name) |
QStringList | header () const |
void | mergeHeaders (const QStringList &hdr) |
QDateTime | scanDateTime () const |
void | setScanDateTime (const QDateTime &datetime) |
QString | scanDateLine () const |
QString | scanColumnCountLine () const |
QString | scanColumnNamesLine () const |
int | scanNumber () const |
void | setScanNumber (int n) |
Private Attributes | |
QStringList | m_Header |
QList< QseColumn * > | m_Columns |
QString | m_Name |
QString | m_Command |
QMutex | m_Mutex |
QDateTime | m_ScanDateTime |
int | m_ScanNumber |
QHash< QString, QseColumn * > | m_ColumnsDictionary |
QseScan::QseScan | ( | const char * | name | ) |
Definition at line 9 of file qsescan.cpp.
QseScan::~QseScan | ( | ) |
Definition at line 20 of file qsescan.cpp.
References column(), m_Columns, and m_Mutex.
Definition at line 240 of file qsescan.cpp.
References column(), columnCount(), m_Columns, m_ColumnsDictionary, m_Mutex, name(), and setRowCount().
Referenced by appendData(), QseNormalizer::normalizeScan(), and setColumnNames().
void QseScan::appendData | ( | const char * | l | ) |
Definition at line 190 of file qsescan.cpp.
References appendColumn(), column(), columnCount(), and setRowCount().
void QseScan::appendHeader | ( | const QString & | h | ) |
Definition at line 161 of file qsescan.cpp.
References m_Header, and m_Mutex.
Referenced by mergeHeaders().
void QseScan::clear | ( | ) |
QseColumn * QseScan::column | ( | int | n | ) | const |
Definition at line 104 of file qsescan.cpp.
References m_Columns.
Referenced by appendColumn(), appendData(), column(), QseDataSetModel::data(), QseScanAveragerModel::data(), QseNormalizerModel::data(), QseScanAverager::finishAveraging(), maxRowCount(), QseNormalizer::normalizeScan(), QseDataReference::QseDataReference(), scanColumnNamesLine(), QseGraphController::scansSelectionChanged(), setRowCount(), QseGraphController::updateGraph(), QseDataExport::updatePreview(), writeScan(), and ~QseScan().
QseColumn * QseScan::column | ( | const QString & | nm | ) | const |
Definition at line 113 of file qsescan.cpp.
References column(), m_Columns, m_Mutex, and QseColumn::name().
int QseScan::columnCount | ( | ) | const |
Definition at line 45 of file qsescan.cpp.
References m_Columns, and m_Mutex.
Referenced by appendColumn(), appendData(), QseGraphScansModel::data(), QseNormalizer::matchesScan(), QseNormalizer::matchesScanPattern(), QseDataSet::maxColumnCount(), maxRowCount(), scanColumnCountLine(), scanColumnNamesLine(), QseGraphController::scansSelectionChanged(), setColumnCount(), setColumnNames(), QseGraphController::updateGraph(), and writeScan().
QStringList QseScan::header | ( | ) | const |
Definition at line 167 of file qsescan.cpp.
References m_Header, and m_Mutex.
Referenced by QseScanAverager::addScanToAverage(), QseNormalizer::normalizeScan(), and QseDataExport::updatePreview().
int QseScan::maxRowCount | ( | ) | const |
Definition at line 74 of file qsescan.cpp.
References column(), columnCount(), and QseColumn::rowCount().
Referenced by QseNormalizer::matchesScan(), QseNormalizer::matchesScanPattern(), and writeScan().
void QseScan::mergeHeaders | ( | const QStringList & | hdr | ) |
QString QseScan::name | ( | ) | const |
Definition at line 31 of file qsescan.cpp.
References m_Mutex, and m_Name.
Referenced by QseScanAverager::addScanToAverage(), appendColumn(), QseNormalizer::normalizeScan(), QseDataExport::QseDataExport(), scanColumnNamesLine(), and setName().
QString QseScan::scanColumnCountLine | ( | ) | const |
Definition at line 328 of file qsescan.cpp.
References columnCount(), and m_Mutex.
Referenced by QseGraphScansModel::data(), and QseDataExport::updatePreview().
QString QseScan::scanColumnNamesLine | ( | ) | const |
Definition at line 335 of file qsescan.cpp.
References column(), columnCount(), m_Mutex, and name().
Referenced by QseGraphScansModel::data(), and QseDataExport::updatePreview().
QString QseScan::scanCommand | ( | ) | const |
Definition at line 226 of file qsescan.cpp.
References m_Command, and m_Mutex.
Referenced by QseScanAverager::addScanToAverage(), QseGraphScansModel::data(), QseNormalizer::matchesScan(), QseNormalizer::matchesScanPattern(), QseNormalizer::normalizeScan(), QseGraphController::updateGraph(), and QseDataExport::updatePreview().
QString QseScan::scanDateLine | ( | ) | const |
Definition at line 321 of file qsescan.cpp.
References m_Mutex, and m_ScanDateTime.
Referenced by QseGraphScansModel::data(), and QseDataExport::updatePreview().
QDateTime QseScan::scanDateTime | ( | ) | const |
int QseScan::scanNumber | ( | ) | const |
Definition at line 353 of file qsescan.cpp.
References m_Mutex, and m_ScanNumber.
Referenced by QseNormalizer::normalizeScan(), and QseGraphController::updateGraph().
void QseScan::setColumnCount | ( | int | n | ) |
Definition at line 52 of file qsescan.cpp.
References columnCount(), m_Columns, and m_Mutex.
Referenced by clear().
void QseScan::setColumnNames | ( | const char * | nms | ) |
Definition at line 127 of file qsescan.cpp.
References appendColumn(), and columnCount().
void QseScan::setName | ( | QString | name | ) |
void QseScan::setRowCount | ( | int | n | ) |
Definition at line 94 of file qsescan.cpp.
References column(), m_Columns, and m_Mutex.
Referenced by appendColumn(), and appendData().
void QseScan::setScanCommand | ( | const QString & | cmd | ) |
void QseScan::setScanDateTime | ( | const QDateTime & | datetime | ) |
void QseScan::setScanNumber | ( | int | n | ) |
void QseScan::writeScan | ( | const QString & | name | ) |
Definition at line 263 of file qsescan.cpp.
References column(), columnCount(), QseColumn::data(), m_Header, m_Mutex, maxRowCount(), and QseColumn::name().
|
private |
Definition at line 67 of file qsescan.h.
Referenced by appendColumn(), column(), columnCount(), setColumnCount(), setRowCount(), and ~QseScan().
|
private |
Definition at line 73 of file qsescan.h.
Referenced by appendColumn().
|
private |
Definition at line 69 of file qsescan.h.
Referenced by scanCommand(), and setScanCommand().
|
private |
Definition at line 66 of file qsescan.h.
Referenced by appendHeader(), clear(), header(), mergeHeaders(), and writeScan().
|
mutableprivate |
Definition at line 70 of file qsescan.h.
Referenced by appendColumn(), appendHeader(), clear(), column(), columnCount(), header(), mergeHeaders(), name(), scanColumnCountLine(), scanColumnNamesLine(), scanCommand(), scanDateLine(), scanDateTime(), scanNumber(), setColumnCount(), setName(), setRowCount(), setScanCommand(), setScanDateTime(), setScanNumber(), writeScan(), and ~QseScan().
|
private |
|
private |
Definition at line 71 of file qsescan.h.
Referenced by scanDateLine(), scanDateTime(), and setScanDateTime().
|
private |
Definition at line 72 of file qsescan.h.
Referenced by scanNumber(), and setScanNumber().