Changeset 4540 in ntrip for trunk/BNC/src/rinex/rnxobsfile.cpp
- Timestamp:
- Aug 21, 2012, 5:58:48 PM (12 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.