Changeset 6246 in ntrip
- Timestamp:
- Oct 16, 2014, 11:21:41 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6245 r6246 883 883 //////////////////////////////////////////////////////////////////////////// 884 884 void t_rnxObsFile::writeEpoch(const t_rnxEpo* epo) { 885 if (epo == 0) { 886 return; 887 } 888 t_rnxEpo epoLocal; 889 epoLocal.tt = epo->tt; 890 for (unsigned ii = 0; ii < epo->rnxSat.size(); ii++) { 891 const t_rnxSat& rnxSat = epo->rnxSat[ii]; 892 if (_header._obsTypes[rnxSat.prn.system()].size() > 0) { 893 epoLocal.rnxSat.push_back(rnxSat); 894 } 895 } 896 885 897 if (version() < 3.0) { 886 return writeEpochV2(_stream, _header, epo);898 return writeEpochV2(_stream, _header, &epoLocal); 887 899 } 888 900 else { 889 return writeEpochV3(_stream, _header, epo);901 return writeEpochV3(_stream, _header, &epoLocal); 890 902 } 891 903 }
Note:
See TracChangeset
for help on using the changeset viewer.