source: ntrip/trunk/BNC/src/bncoutf.h@ 10608

Last change on this file since 10608 was 10608, checked in by stuerze, 8 hours ago

inclusion of the 24:00 epoch in orbit and clock product files

File size: 921 bytes
Line 
1#ifndef BNCOUTF_H
2#define BNCOUTF_H
3
4#include <fstream>
5#include <newmat.h>
6#include <QtCore>
7
8#include "bncutils.h"
9#include <iostream>
10
11class bncoutf {
12 public:
13 bncoutf(const QString& sklFileName, const QString& intr, int sampl);
14 virtual ~bncoutf();
15 t_irc write(int GPSweek, double GPSweeks, const QString& str);
16 QString agencyFromFileName();
17 bool isProductFile();
18 protected:
19 virtual t_irc reopen(int GPSweek, double GPSweeks);
20 virtual void writeHeader(const QDateTime& /* datTim */) {}
21 virtual void closeFile();
22 std::ofstream _out;
23 int _sampl;
24 int _numSec;
25
26 private:
27 QString epochStr(const QDateTime& datTim, const QString& intStr,
28 int sampl);
29 QString resolveFileName(int GPSweek, const QDateTime& datTim);
30
31 bool _headerWritten;
32 QString _path;
33 QString _sklBaseName;
34 QString _extension;
35 QString _intr;
36 QString _fName;
37 bool _append;
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.