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

Last change on this file since 8154 was 7506, checked in by stuerze, 9 years ago

automatic file name generation for ppp output files is added

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