source: ntrip/trunk/BNC/bncoutf.h@ 4041

Last change on this file since 4041 was 3184, checked in by mervart, 14 years ago
File size: 804 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
10class bncoutf {
11 public:
12 bncoutf(const QString& sklFileName, const QString& intr, int sampl);
13 virtual ~bncoutf();
14 t_irc write(int GPSweek, double GPSweeks, const QString& str);
15
16 protected:
17 virtual t_irc reopen(int GPSweek, double GPSweeks);
18 virtual void writeHeader(const QDateTime& /* datTim */) {}
19 virtual void closeFile();
20 std::ofstream _out;
21 int _sampl;
22
23 private:
24 QString epochStr(const QDateTime& datTim, const QString& intStr);
25 QString resolveFileName(int GPSweek, const QDateTime& datTim);
26
27 bool _headerWritten;
28 QString _path;
29 QString _sklBaseName;
30 QString _extension;
31 QString _intr;
32 QString _fName;
33 bool _append;
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.