Changeset 6177 in ntrip


Ignore:
Timestamp:
Sep 14, 2014, 2:26:14 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp

    r6175 r6177  
    349349    while (itOrb.hasNext()) {
    350350      const t_orbCorr& orbCorr = itOrb.next();
    351       *_out << orbCorr.toLine() << endl;
     351      *_out << orbCorr.toLine();
    352352    }
    353353    QListIterator<t_clkCorr> itClk(clkCorrections);
    354354    while (itClk.hasNext()) {
    355355      const t_clkCorr& clkCorr = itClk.next();
    356       *_out << clkCorr.toLine() << endl;
     356      *_out << clkCorr.toLine();
    357357    }
    358358    _out->flush();
  • 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.