Rev | Line | |
---|
[6176] | 1 | #include <iostream>
|
---|
[6177] | 2 | #include <iomanip>
|
---|
[6176] | 3 | #include <sstream>
|
---|
[6144] | 4 |
|
---|
| 5 | #include "satObs.h"
|
---|
| 6 | using namespace std;
|
---|
| 7 |
|
---|
| 8 | //
|
---|
| 9 | ////////////////////////////////////////////////////////////////////////////
|
---|
| 10 | t_clkCorr::t_clkCorr() {
|
---|
[6160] | 11 | _iod = 0;
|
---|
| 12 | _dClk = 0.0;
|
---|
| 13 | _dotDClk = 0.0;
|
---|
| 14 | _dotDotDClk = 0.0;
|
---|
| 15 | _clkPartial = 0.0;
|
---|
[6144] | 16 | }
|
---|
| 17 |
|
---|
| 18 | //
|
---|
| 19 | ////////////////////////////////////////////////////////////////////////////
|
---|
[6175] | 20 | t_clkCorr::t_clkCorr(const string& line) {
|
---|
[6177] | 21 | istringstream in(line);
|
---|
[6144] | 22 | }
|
---|
| 23 |
|
---|
| 24 | //
|
---|
| 25 | ////////////////////////////////////////////////////////////////////////////
|
---|
[6175] | 26 | string t_clkCorr::toLine() const {
|
---|
[6176] | 27 | ostringstream str;
|
---|
| 28 | str.setf(ios::showpoint | ios::fixed);
|
---|
[6177] | 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;
|
---|
[6176] | 34 | return str.str();
|
---|
[6144] | 35 | }
|
---|
| 36 |
|
---|
| 37 | //
|
---|
| 38 | ////////////////////////////////////////////////////////////////////////////
|
---|
| 39 | t_orbCorr::t_orbCorr() {
|
---|
[6160] | 40 | _xr.ReSize(3); _xr = 0.0;
|
---|
| 41 | _dotXr.ReSize(3); _dotXr = 0.0;
|
---|
| 42 | _iod = 0;
|
---|
| 43 | _system = 'R';
|
---|
[6144] | 44 | }
|
---|
| 45 |
|
---|
| 46 | //
|
---|
| 47 | ////////////////////////////////////////////////////////////////////////////
|
---|
[6175] | 48 | t_orbCorr::t_orbCorr(const string& line) {
|
---|
[6177] | 49 | istringstream in(line);
|
---|
[6144] | 50 | }
|
---|
| 51 |
|
---|
| 52 | //
|
---|
| 53 | ////////////////////////////////////////////////////////////////////////////
|
---|
[6175] | 54 | string t_orbCorr::toLine() const {
|
---|
[6176] | 55 | ostringstream str;
|
---|
| 56 | str.setf(ios::showpoint | ios::fixed);
|
---|
| 57 | str << "O " << endl;
|
---|
| 58 | return str.str();
|
---|
[6144] | 59 | }
|
---|
| 60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.