source: ntrip/trunk/BNS/bnsrinex.cpp@ 854

Last change on this file since 854 was 854, checked in by mervart, 16 years ago

* empty log message *

File size: 1.4 KB
Line 
1
2/* -------------------------------------------------------------------------
3 * BKG NTRIP Server
4 * -------------------------------------------------------------------------
5 *
6 * Class: bnsRinex
7 *
8 * Purpose: writes RINEX Clock files
9 *
10 * Author: L. Mervart
11 *
12 * Created: 25-Apr-2008
13 *
14 * Changes:
15 *
16 * -----------------------------------------------------------------------*/
17
18#include <iomanip>
19
20#include "bnsrinex.h"
21
22using namespace std;
23
24// Constructor
25////////////////////////////////////////////////////////////////////////////
26bnsRinex::bnsRinex(const QString& prep, const QString& ext, const QString& path,
27 const QString& intr, int sampl)
28 : bnsoutf(prep, ext, path, intr, sampl) {
29}
30
31// Destructor
32////////////////////////////////////////////////////////////////////////////
33bnsRinex::~bnsRinex() {
34}
35
36// Write Header
37////////////////////////////////////////////////////////////////////////////
38void bnsRinex::writeHeader(const QDateTime& datTim) {
39 _out << "THIS IS A DUMMY HEADER" << endl;
40}
41
42// Write One Epoch
43////////////////////////////////////////////////////////////////////////////
44t_irc bnsRinex::write(int GPSweek, double GPSweeks, const QString& prn,
45 const ColumnVector& xx) {
46
47 if (bnsoutf::write(GPSweek, GPSweeks, prn, xx) == success) {
48
49 return success;
50 }
51 else {
52 return failure;
53 }
54}
Note: See TracBrowser for help on using the repository browser.