Changeset 6476 in ntrip for trunk/BNC/src/satObs.cpp


Ignore:
Timestamp:
Dec 28, 2014, 3:47:39 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6475 r6476  
    8989////////////////////////////////////////////////////////////////////////////
    9090void t_satCodeBias::writeEpoch(std::ostream* out, const QList<t_satCodeBias>& biasList) {
     91  if (!out || biasList.size() == 0) {
     92    return;
     93  }
     94  out->setf(ios::fixed);
     95  bncTime epoTime;
     96  QListIterator<t_satCodeBias> it(biasList);
     97  while (it.hasNext()) {
     98    const t_satCodeBias& satCodeBias = it.next();
     99    if (!epoTime.valid()) {
     100      epoTime = satCodeBias._time;
     101      *out << "> CODE_BIAS " << epoTime.datestr(' ') << ' ' << epoTime.timestr(1,' ') << "    "
     102           << biasList.size() << ' ' << satCodeBias._staID << endl;
     103    }
     104    *out << satCodeBias._prn.toString() << ' ';
     105
     106    *out << endl;
     107  }
     108  out->flush();
    91109}
    92110
Note: See TracChangeset for help on using the changeset viewer.