- Timestamp:
- Oct 31, 2022, 9:49:34 PM (2 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r9854 r9865 796 796 for (int ii = 0; ii < decoder()->_typeList.size(); ii++) { 797 797 QString type = QString("%1 ").arg(decoder()->_typeList[ii]); 798 emit(newMessage(_staID + ": Received message type " + type.toLatin1(), 799 true)); 798 emit(newMessage(_staID + ": Received message type " + type.toLatin1(), true)); 800 799 } 801 800 … … 803 802 // ----------------------- 804 803 for (int ii = 0; ii < decoder()->_obsList.size(); ii++) { 805 t_satObs& obs = decoder()->_obsList[ii]; 804 t_satObs& obs = decoder()->_obsList[ii]; 806 805 QVector<QString>& rnxTypes = _rnxTypes[obs._prn.system()]; 807 806 bool allFound = true; -
trunk/BNC/src/orbComp/sp3Comp.cpp
r9854 r9865 84 84 } 85 85 if (!_log) { 86 *_log << "ERROR: SP3Comp requires logfile specification" << endl;86 *_log << "ERROR: SP3Comp requires logfile specification" << "\n"; 87 87 goto exit; 88 88 } 89 89 90 90 for (int ii = 0; ii < _sp3FileNames.size(); ii++) { 91 *_log << "! SP3 File " << ii+1 << ": " << _sp3FileNames[ii] << endl;91 *_log << "! SP3 File " << ii+1 << ": " << _sp3FileNames[ii] << "\n"; 92 92 } 93 93 if (_sp3FileNames.size() != 2) { 94 *_log << "ERROR: sp3Comp requires two input SP3 files" << endl;94 *_log << "ERROR: sp3Comp requires two input SP3 files" << "\n"; 95 95 goto end; 96 96 } … … 102 102 } 103 103 catch (const string& error) { 104 *_log << "ERROR: " << error.c_str() << endl;104 *_log << "ERROR: " << error.c_str() << "\n"; 105 105 } 106 106 catch (const char* error) { 107 *_log << "ERROR: " << error << endl;107 *_log << "ERROR: " << error << "\n"; 108 108 } 109 109 catch (Exception& exc) { 110 *_log << "ERROR: " << exc.what() << endl;110 *_log << "ERROR: " << exc.what() << "\n"; 111 111 } 112 112 catch (std::exception& exc) { 113 *_log << "ERROR: " << exc.what() << endl;113 *_log << "ERROR: " << exc.what() << "\n"; 114 114 } 115 115 catch (QString error) { 116 *_log << "ERROR: " << error << endl;116 *_log << "ERROR: " << error << "\n"; 117 117 } 118 118 catch (...) { 119 *_log << "ERROR: " << "unknown exception" << endl;119 *_log << "ERROR: " << "unknown exception" << "\n"; 120 120 } 121 121 … … 347 347 348 348 out.setf(ios::fixed); 349 out << "!\n! MJDPRN radial along out clk clkRed iPRN"350 "\n!----------------------------------------------------------------\n";349 out << "!\n! Epoch PRN radial along out clk clkRed iPRN" 350 "\n! ----------------------------------------------------------------------------\n"; 351 351 for (unsigned ii = 0; ii < epochs.size(); ii++) { 352 352 const t_epoch* epo = epochs[ii]; … … 357 357 if (!excludeSat(prn)) { 358 358 const ColumnVector& rao = it->second; 359 out << setprecision(6) << epo->_tt.mjddec() << ' ' << prn.toString() << ' '359 out << setprecision(6) << string(epo->_tt) << ' ' << prn.toString() << ' ' 360 360 << setw(7) << setprecision(4) << rao[0] << ' ' 361 361 << setw(7) << setprecision(4) << rao[1] << ' ' … … 380 380 out << " . . "; 381 381 } 382 out << " " << setw(2) << int(prn) << endl;382 out << " " << setw(2) << int(prn) << "\n"; 383 383 } 384 384 } … … 421 421 out << " . . "; 422 422 } 423 out << endl;423 out << "\n"; 424 424 } 425 425 }
Note:
See TracChangeset
for help on using the changeset viewer.