Changeset 4540 in ntrip
- Timestamp:
- Aug 21, 2012, 5:58:48 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r4534 r4540 490 490 // Handle Special Epoch Flag 491 491 //////////////////////////////////////////////////////////////////////////// 492 void t_rnxObsFile::handleEpochFlag(int flag, const QString& line) { 492 void t_rnxObsFile::handleEpochFlag(int flag, const QString& line, 493 bool& headerReRead) { 494 495 headerReRead = false; 493 496 494 497 // Power Failure … … 515 518 } 516 519 _header.read(_stream, numLines); 520 headerReRead = true; 517 521 } 518 522 … … 553 557 readInt(line, 31, 1, flag); 554 558 if (flag > 0) { 555 handleEpochFlag(flag, line); 556 continue; 559 bool headerReRead = false; 560 handleEpochFlag(flag, line, headerReRead); 561 if (headerReRead) { 562 continue; 563 } 557 564 } 558 565 … … 622 629 readInt(line, 28, 1, flag); 623 630 if (flag > 0) { 624 handleEpochFlag(flag, line); 625 continue; 631 bool headerReRead = false; 632 handleEpochFlag(flag, line, headerReRead); 633 if (headerReRead) { 634 continue; 635 } 626 636 } 627 637 -
trunk/BNC/src/rinex/rnxobsfile.h
r4493 r4540 153 153 t_rnxEpo* nextEpochV2(); 154 154 t_rnxEpo* nextEpochV3(); 155 void handleEpochFlag(int flag, const QString& line );155 void handleEpochFlag(int flag, const QString& line, bool& headerReRead); 156 156 157 157 QString type2to3(char sys, const QString& typeV2);
Note:
See TracChangeset
for help on using the changeset viewer.