Changeset 7817 in ntrip
- Timestamp:
- Feb 26, 2016, 4:18:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.h
r7665 r7817 210 210 211 211 static void writeEpoch(QTextStream* stream, const t_rnxObsHeader& header, const t_rnxEpo* epo) { 212 if (epo == 0) { 213 return; 214 } 215 t_rnxEpo epoLocal; 216 epoLocal.tt = epo->tt; 217 for (unsigned ii = 0; ii < epo->rnxSat.size(); ii++) { 218 const t_rnxSat& rnxSat = epo->rnxSat[ii]; 219 if (header._obsTypes[rnxSat.prn.system()].size() > 0) { 220 epoLocal.rnxSat.push_back(rnxSat); 221 } 222 } 212 223 if (header.version() >= 3.0) { 213 writeEpochV3(stream, header, epo);224 writeEpochV3(stream, header, &epoLocal); 214 225 } 215 226 else { 216 writeEpochV2(stream, header, epo);227 writeEpochV2(stream, header, &epoLocal); 217 228 } 218 229 }
Note:
See TracChangeset
for help on using the changeset viewer.