Changeset 4054 in ntrip for trunk/BNC/rinex/rnxobsfile.cpp
- Timestamp:
- Apr 26, 2012, 12:59:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r4053 r4054 1011 1011 setHeader(header, oldHeader._version); 1012 1012 1013 if (header._obsTypesV2 != oldHeader._obsTypesV2 || 1014 header._obsTypesV3 != oldHeader._obsTypesV3) { 1015 1013 // Check Observation Types 1014 // ----------------------- 1015 bool same = true; 1016 if (_header._version < 3.0) { 1017 if (_header._obsTypesV2 != oldHeader._obsTypesV2) { 1018 same = false; 1019 } 1020 } 1021 else { 1022 QMapIterator<char, QVector<QString> > it(_header._obsTypesV3); 1023 while (it.hasNext()) { 1024 it.next(); 1025 char sys = it.key(); 1026 const QVector<QString>& typesV3 = it.value(); 1027 if (!oldHeader._obsTypesV3.contains(sys) || 1028 oldHeader._obsTypesV3[sys] != typesV3) { 1029 same = false; 1030 break; 1031 } 1032 } 1033 } 1034 1035 if (!same) { 1016 1036 writeHeader(); 1017 1037 }
Note:
See TracChangeset
for help on using the changeset viewer.