Last change
on this file since 10614 was 10608, checked in by stuerze, 2 weeks ago |
inclusion of the 24:00 epoch in orbit and clock product files
|
File size:
921 bytes
|
Rev | Line | |
---|
[3174] | 1 | #ifndef BNCOUTF_H
|
---|
| 2 | #define BNCOUTF_H
|
---|
| 3 |
|
---|
| 4 | #include <fstream>
|
---|
| 5 | #include <newmat.h>
|
---|
| 6 | #include <QtCore>
|
---|
| 7 |
|
---|
| 8 | #include "bncutils.h"
|
---|
[9652] | 9 | #include <iostream>
|
---|
[3174] | 10 |
|
---|
| 11 | class bncoutf {
|
---|
| 12 | public:
|
---|
[3184] | 13 | bncoutf(const QString& sklFileName, const QString& intr, int sampl);
|
---|
[3174] | 14 | virtual ~bncoutf();
|
---|
[3184] | 15 | t_irc write(int GPSweek, double GPSweeks, const QString& str);
|
---|
[9652] | 16 | QString agencyFromFileName();
|
---|
[10608] | 17 | bool isProductFile();
|
---|
[3174] | 18 | protected:
|
---|
[3184] | 19 | virtual t_irc reopen(int GPSweek, double GPSweeks);
|
---|
| 20 | virtual void writeHeader(const QDateTime& /* datTim */) {}
|
---|
| 21 | virtual void closeFile();
|
---|
[3174] | 22 | std::ofstream _out;
|
---|
| 23 | int _sampl;
|
---|
[4380] | 24 | int _numSec;
|
---|
[3174] | 25 |
|
---|
| 26 | private:
|
---|
[7506] | 27 | QString epochStr(const QDateTime& datTim, const QString& intStr,
|
---|
| 28 | int sampl);
|
---|
[3184] | 29 | QString resolveFileName(int GPSweek, const QDateTime& datTim);
|
---|
[3174] | 30 |
|
---|
[3184] | 31 | bool _headerWritten;
|
---|
| 32 | QString _path;
|
---|
| 33 | QString _sklBaseName;
|
---|
| 34 | QString _extension;
|
---|
| 35 | QString _intr;
|
---|
| 36 | QString _fName;
|
---|
| 37 | bool _append;
|
---|
[3174] | 38 | };
|
---|
| 39 |
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.