Changeset 6177 in ntrip for trunk/BNC/src/satObs.cpp


Ignore:
Timestamp:
Sep 14, 2014, 2:26:14 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/satObs.cpp

    r6176 r6177  
    11#include <iostream>
     2#include <iomanip>
    23#include <sstream>
    34
     
    1819////////////////////////////////////////////////////////////////////////////
    1920t_clkCorr::t_clkCorr(const string& line) {
     21  istringstream in(line);
    2022}
    2123
     
    2527  ostringstream str;
    2628  str.setf(ios::showpoint | ios::fixed);
    27   str << "C " << endl;
     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;
    2834  return str.str();
    2935}
     
    4147////////////////////////////////////////////////////////////////////////////
    4248t_orbCorr::t_orbCorr(const string& line) {
     49  istringstream in(line);
    4350}
    4451
Note: See TracChangeset for help on using the changeset viewer.