Changeset 8798 in ntrip for trunk/BNC/src/rinex/rnxobsfile.h
- Timestamp:
- Sep 20, 2019, 2:42:08 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.h
r8640 r8798 46 46 47 47 public: 48 static const QString defaultSystems;49 48 50 49 t_rnxObsHeader(); … … 124 123 t_prn prn; 125 124 QMap<QString, t_rnxObs> obs; 125 static bool prnSort(const t_rnxSat rnxSat1, const t_rnxSat rnxSat2) {return rnxSat1.prn < rnxSat2.prn;} 126 126 }; 127 127 … … 221 221 if (header.version() < 3.0) { // exclude new GNSS such as BDS, QZSS, IRNSS, etc. 222 222 if (rnxSat.prn.system() != 'G' && rnxSat.prn.system() != 'R' && 223 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S') { 223 rnxSat.prn.system() != 'E' && rnxSat.prn.system() != 'S' && 224 rnxSat.prn.system() != 'I') { 224 225 continue; 225 226 } … … 228 229 } 229 230 } 231 std::stable_sort(epoLocal.rnxSat.begin(), epoLocal.rnxSat.end(), t_rnxSat::prnSort); 232 230 233 if (header.version() >= 3.0) { 231 234 writeEpochV3(stream, header, &epoLocal);
Note:
See TracChangeset
for help on using the changeset viewer.