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

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

some changes regarding PPP

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