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

Last change on this file since 10590 was 9783, checked in by stuerze, 2 years ago

some changes regarding PPP

File size: 897 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 protected:
18 virtual t_irc reopen(int GPSweek, double GPSweeks);
19 virtual void writeHeader(const QDateTime& /* datTim */) {}
20 virtual void closeFile();
21 std::ofstream _out;
22 int _sampl;
23 int _numSec;
24
25 private:
26 QString epochStr(const QDateTime& datTim, const QString& intStr,
27 int sampl);
28 QString resolveFileName(int GPSweek, const QDateTime& datTim);
29
30 bool _headerWritten;
31 QString _path;
32 QString _sklBaseName;
33 QString _extension;
34 QString _intr;
35 QString _fName;
36 bool _append;
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.