- Timestamp:
- Oct 20, 2014, 12:54:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6249 r6250 317 317 } 318 318 else { 319 for (int iSys = 0; iSys < header.numSys(); iSys++) { 320 char sys = header.system(iSys); 321 for (int iType = 0; iType < header.nTypes(sys); iType++) { 322 QString type = header.obsType(sys, iType, _version); 323 if (_version >= 3.0) { 324 _obsTypes[sys].push_back(type); 319 if (_version >= 3.0) { 320 for (int iSys = 0; iSys < header.numSys(); iSys++) { 321 char sys = header.system(iSys); 322 for (int iType = 0; iType < header.nTypes(sys); iType++) { 323 QString type = header.obsType(sys, iType, _version); 324 if (!_obsTypes[sys].contains(type)) { 325 _obsTypes[sys].push_back(type); 326 } 325 327 } 326 else { 328 } 329 } 330 else { 331 for (int iSys = 0; iSys < header.numSys(); iSys++) { 332 char sys = header.system(iSys); 333 for (int iType = 0; iType < header.nTypes(sys); iType++) { 334 QString type = header.obsType(sys, iType, _version); 327 335 for (int jSys = 0; jSys < _usedSystems.length(); jSys++) { 328 336 char thisSys = _usedSystems[jSys].toAscii(); … … 333 341 } 334 342 } 335 _obsTypes[sys].removeDuplicates();336 343 } 337 344 }
Note:
See TracChangeset
for help on using the changeset viewer.