source: ntrip/trunk/BNC/src/satObs.cpp@ 6177

Last change on this file since 6177 was 6177, checked in by mervart, 8 years ago
File size: 1.5 KB
Line 
1#include <iostream>
2#include <iomanip>
3#include <sstream>
4
5#include "satObs.h"
6using namespace std;
7
8//
9////////////////////////////////////////////////////////////////////////////
10t_clkCorr::t_clkCorr() {
11 _iod = 0;
12 _dClk = 0.0;
13 _dotDClk = 0.0;
14 _dotDotDClk = 0.0;
15 _clkPartial = 0.0;
16}
17
18//
19////////////////////////////////////////////////////////////////////////////
20t_clkCorr::t_clkCorr(const string& line) {
21 istringstream in(line);
22}
23
24//
25////////////////////////////////////////////////////////////////////////////
26string t_clkCorr::toLine() const {
27 ostringstream str;
28 str.setf(ios::showpoint | ios::fixed);
29 str << "C " << _time.gpsw() << setprecision(2) << _time.gpssec() << ' '
30 << _prn.toString() << ' '
31 << setw(10) << setprecision(4) << _dClk << ' '
32 << setw(10) << setprecision(4) << _dotDClk << ' '
33 << setw(10) << setprecision(4) << _dotDotDClk << endl;
34 return str.str();
35}
36
37//
38////////////////////////////////////////////////////////////////////////////
39t_orbCorr::t_orbCorr() {
40 _xr.ReSize(3); _xr = 0.0;
41 _dotXr.ReSize(3); _dotXr = 0.0;
42 _iod = 0;
43 _system = 'R';
44}
45
46//
47////////////////////////////////////////////////////////////////////////////
48t_orbCorr::t_orbCorr(const string& line) {
49 istringstream in(line);
50}
51
52//
53////////////////////////////////////////////////////////////////////////////
54string t_orbCorr::toLine() const {
55 ostringstream str;
56 str.setf(ios::showpoint | ios::fixed);
57 str << "O " << endl;
58 return str.str();
59}
60
Note: See TracBrowser for help on using the repository browser.