Changeset 2247 in ntrip for trunk/BNC/bncmodel.cpp


Ignore:
Timestamp:
Jan 12, 2010, 5:34:12 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2246 r2247  
    647647        }
    648648     
    649         cout.setf(ios::fixed);
    650         cout << "iObs = " << iObs << " " << prn.toAscii().data() << " "
    651              << setprecision(3) << rhoCmp << " "
    652              << setprecision(3) << satData->P3 << " "
    653              << setprecision(3) << satData->L3 << " "
    654              << ll(iObs) << endl;
     649        ostringstream str;
     650        str.setf(ios::fixed);
     651        str << "iObs = " << iObs << " " << prn.toAscii().data() << " "
     652            << setprecision(3) << rhoCmp << " "
     653            << setprecision(3) << satData->P3 << " "
     654            << setprecision(3) << satData->L3 << " "
     655            << ll(iObs) << endl;
     656        _log += str.str().c_str();
    655657      }
    656658    }
     
    669671    //// beg test
    670672    {
    671       cout.setf(ios::fixed);
     673      ostringstream str;
     674      str.setf(ios::fixed);
    672675      ColumnVector vv_code(epoData->sizeGPS());
    673676      ColumnVector vv_phase(epoData->sizeGPS());
     
    682685      }
    683686
    684       cout << "residuals code  " << setprecision(3) << vv_code.t();
    685       cout << "residuals phase " << setprecision(3) << vv_phase.t();
    686       cout << "residuals glo   " << setprecision(3) << vv_glo.t();
     687      str << "residuals code  " << setprecision(3) << vv_code.t();
     688      str << "residuals phase " << setprecision(3) << vv_phase.t();
     689      str << "residuals glo   " << setprecision(3) << vv_glo.t();
     690     _log += str.str().c_str();
    687691    }
    688692    //// end test
Note: See TracChangeset for help on using the changeset viewer.