Changeset 6289 in ntrip


Ignore:
Timestamp:
Nov 1, 2014, 3:08:56 PM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r6288 r6289  
    751751        << "# Slips (found): " << numSlipsFound   << endl;
    752752
     753  for (int iEpo = 0; iEpo < _qcFile._qcEpo.size(); iEpo++) {
     754    const t_qcEpo& qcEpo = _qcFile._qcEpo[iEpo];
     755
     756    unsigned year, month, day, hour, min;
     757    double sec;
     758    qcEpo._epoTime.civil_date(year, month, day);
     759    qcEpo._epoTime.civil_time(hour, min, sec);
     760
     761    QString dateStr;
     762    QTextStream(&dateStr) << QString("> %1 %2 %3 %4 %5%6")
     763      .arg(year,  4)
     764      .arg(month, 2, 10, QChar('0'))
     765      .arg(day,   2, 10, QChar('0'))
     766      .arg(hour,  2, 10, QChar('0'))
     767      .arg(min,   2, 10, QChar('0'))
     768      .arg(sec,  11, 'f', 7);
     769
     770    *_log << dateStr << QString("%1\n").arg(qcEpo._qcSat.size(), 3);
     771
     772    QMapIterator<t_prn, t_qcSat> itSat(qcEpo._qcSat);
     773    while (itSat.hasNext()) {
     774      itSat.next();
     775      const t_prn&   prn   = itSat.key();
     776      const t_qcSat& qcSat = itSat.value();
     777
     778      *_log << prn.toString().c_str() << endl;
     779    }
     780  }
    753781  _log->flush();
    754782}
Note: See TracChangeset for help on using the changeset viewer.