Changeset 7773 in ntrip


Ignore:
Timestamp:
Feb 15, 2016, 12:07:49 PM (4 years ago)
Author:
stuerze
Message:

minor format changes

File:
1 edited

Legend:

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

    r7665 r7773  
    583583    const t_frqObs* frqObs = obs._obs[ii];
    584584    if (frqObs->_codeValid) {
    585       str << " C" << frqObs->_rnxType2ch << ' '
    586           << setw(14) << setprecision(3) << frqObs->_code;
     585      str << ' '
     586          << left  << setw(3)  << "C" + frqObs->_rnxType2ch << ' '
     587          << right << setw(14) << setprecision(3) << frqObs->_code;
    587588    }
    588589    if (frqObs->_phaseValid) {
    589       str << " L" << frqObs->_rnxType2ch << ' '
    590           << setw(14) << setprecision(3) << frqObs->_phase
    591           << ' ' << setw(3)  << frqObs->_slipCounter;
     590      str << ' '
     591          << left  << setw(3) << "L" + frqObs->_rnxType2ch << ' '
     592          << right << setw(14) << setprecision(3) << frqObs->_phase << ' '
     593          << right << setw(4)                     << frqObs->_slipCounter;
    592594    }
    593595    if (frqObs->_dopplerValid) {
    594       str << " D" << frqObs->_rnxType2ch << ' '
    595           << setw(14) << setprecision(3) << frqObs->_doppler;
     596      str << ' '
     597          << left  << setw(3) << "D" + frqObs->_rnxType2ch << ' '
     598          << right << setw(14) << setprecision(3) << frqObs->_doppler;
    596599    }
    597600    if (frqObs->_snrValid) {
    598       str << " S" << frqObs->_rnxType2ch << ' '
    599           << setw(8) << setprecision(3) << frqObs->_snr;
     601      str << ' '
     602          << left  << setw(3) << "S" + frqObs->_rnxType2ch << ' '
     603          << right << setw(8) << setprecision(3) << frqObs->_snr;
    600604    }
    601605  }
Note: See TracChangeset for help on using the changeset viewer.