#include <filereader.h>
Public Member Functions | |
FileReader (const QString &filename="") | |
bool | readFile (const QString &filename) |
int | fillData (QVector< QVector< double > > &pDest, int screennumber, int channel) |
QPointF | lineAxisBounds () const |
FileReader is a class which reads a text formatted file. The format of the file must be values seperated by a new line.
Definition at line 33 of file filereader.h.
FileReader::FileReader | ( | const QString & | filename = "" |
) |
int FileReader::fillData | ( | QVector< QVector< double > > & | pDest, | |
int | screennumber, | |||
int | channel | |||
) |
Copy from the internal data structure to another data structure.
pDest | Destination data structure. | |
screennumber | Screen number used to fill the data structure. | |
channel | Channel number used to fill the data structure. (UNUSED) |
Definition at line 60 of file filereader.cpp.
QPointF FileReader::lineAxisBounds | ( | ) | const [inline] |
bool FileReader::readFile | ( | const QString & | filename | ) |
Read and parse a file into an internal data structure.
filename | The file to read. |
Definition at line 41 of file filereader.cpp.