Changeset 4004 in ntrip for trunk/BNC/rinex/reqcedit.cpp


Ignore:
Timestamp:
Apr 22, 2012, 11:49:44 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcedit.cpp

    r4003 r4004  
    248248  qStableSort(_ephs.begin(), _ephs.end(), t_eph::earlierTime);
    249249
    250 }
     250  // Initialize output observation file
     251  // ----------------------------------
     252  t_rnxNavFile outNavFile(_outNavFileName, t_rnxNavFile::output);
     253 
     254  // Loop over all ephemerides
     255  // -------------------------
     256  for (int ii = 0; ii < _ephs.size(); ii++) {
     257    const t_eph* eph = _ephs[ii];
     258    if (ii == 0) {
     259      outNavFile.writeHeader();
     260    }
     261    outNavFile.writeEph(eph);
     262  }
     263}
Note: See TracChangeset for help on using the changeset viewer.