Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef TFAMAXENTRY_H
00028 #define TFAMAXENTRY_H
00029
00030 #include "MaxEntry.h"
00031
00032 class TFAMaxEntry : public MaxEntry
00033 {
00034 public:
00035 virtual bool readLine(QTextStream& s);
00036 virtual void writeHeader(QTextStream& s) const;
00037 virtual void writeLine(QTextStream& s) const;
00038 static QByteArray fields();
00039 static bool isHeaderLine(QString f);
00040
00041 virtual bool operator<(const MaxEntry& o) const;
00042
00043 virtual double value() const {return _hv;}
00044 double hv() const {return _hv;}
00045 double vAmplitude() const {return _vAmplitude;}
00046 double hAmplitude() const {return _hAmplitude;}
00047 double delay() const {return _delay;}
00048
00049 void includeAmplitude(double& minVAmplitude, double& maxVAmplitude);
00050 private:
00051 double _hv;
00052 double _vAmplitude;
00053 double _hAmplitude;
00054 double _delay;
00055 };
00056
00057 #endif // TFAMAXENTRY_H