qse
0.5.4
|
#include <qseinputfile.h>
Public Member Functions | |
QseInputFile (const QString &name, QObject *parent=0) | |
~QseInputFile () | |
void | nextDataFile (QString fileName) |
bool | atEnd () |
void | nextInputLine () |
QString | filePath () |
void | emitDataChanged () |
Public Member Functions inherited from QseDataSet | |
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 () |
Private Member Functions | |
void | updateProgress () |
Private Attributes | |
char * | m_Buffer |
int | m_Length |
int | m_BufferSize |
QString | m_PathName |
QFile | m_File |
int | m_NLines |
int | m_MaxLength |
QseScan * | m_Scan |
int | m_NPoints |
Additional Inherited Members | |
Signals inherited from QseDataSet | |
void | operationCompleted () |
void | message (const QString &msg) |
void | madeProgress (int level) |
void | dataCleared () |
void | scanAdded (int n) |
void | dataChanged () |
Protected Attributes inherited from QseDataSet | |
QMutex | m_Mutex |
Definition at line 6 of file qseinputfile.h.
QseInputFile::QseInputFile | ( | const QString & | name, |
QObject * | parent = 0 |
||
) |
Definition at line 9 of file qseinputfile.cpp.
References m_Buffer, m_BufferSize, and m_Length.
QseInputFile::~QseInputFile | ( | ) |
bool QseInputFile::atEnd | ( | ) |
Definition at line 84 of file qseinputfile.cpp.
References m_File, and QseDataSet::m_Mutex.
Referenced by nextInputLine().
void QseInputFile::emitDataChanged | ( | ) |
Definition at line 43 of file qseinputfile.cpp.
QString QseInputFile::filePath | ( | ) |
void QseInputFile::nextDataFile | ( | QString | fileName | ) |
Definition at line 64 of file qseinputfile.cpp.
References m_File, m_Length, m_MaxLength, QseDataSet::m_Mutex, m_NLines, m_NPoints, m_PathName, m_Scan, and QseDataSet::setFileName().
void QseInputFile::nextInputLine | ( | ) |
Definition at line 99 of file qseinputfile.cpp.
References QseDataSet::appendHeader(), QseDataSet::appendScan(), atEnd(), m_Buffer, m_BufferSize, m_File, m_Length, m_MaxLength, QseDataSet::m_Mutex, m_NLines, m_NPoints, m_PathName, m_Scan, QseDataSet::madeProgress(), QseDataSet::message(), QseDataSet::operationCompleted(), QseDataSet::scanCount(), and updateProgress().
|
private |
Definition at line 50 of file qseinputfile.cpp.
References m_File, QseDataSet::m_Mutex, and QseDataSet::madeProgress().
Referenced by nextInputLine().
|
private |
Definition at line 24 of file qseinputfile.h.
Referenced by nextInputLine(), QseInputFile(), and ~QseInputFile().
|
private |
Definition at line 26 of file qseinputfile.h.
Referenced by nextInputLine(), and QseInputFile().
|
private |
Definition at line 28 of file qseinputfile.h.
Referenced by atEnd(), nextDataFile(), nextInputLine(), and updateProgress().
|
private |
Definition at line 25 of file qseinputfile.h.
Referenced by nextDataFile(), nextInputLine(), and QseInputFile().
|
private |
Definition at line 31 of file qseinputfile.h.
Referenced by nextDataFile(), and nextInputLine().
|
private |
Definition at line 30 of file qseinputfile.h.
Referenced by nextDataFile(), and nextInputLine().
|
private |
Definition at line 33 of file qseinputfile.h.
Referenced by nextDataFile(), and nextInputLine().
|
private |
Definition at line 27 of file qseinputfile.h.
Referenced by filePath(), nextDataFile(), and nextInputLine().
|
private |
Definition at line 32 of file qseinputfile.h.
Referenced by nextDataFile(), and nextInputLine().