Changeset 3866 in ntrip for trunk/BNC/rinex
- Timestamp:
- Apr 13, 2012, 11:45:02 AM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3865 r3866 640 640 //////////////////////////////////////////////////////////////////////////// 641 641 void t_rnxObsFile::writeEpoch(const t_rnxEpo* epo) { 642 if (version() < 3.0) { 643 return writeEpochV2(epo); 644 } 645 else { 646 return writeEpochV3(epo); 647 } 648 } 649 650 // Write Data Epoch (RINEX Version 2) 651 //////////////////////////////////////////////////////////////////////////// 652 void t_rnxObsFile::writeEpochV2(const t_rnxEpo* epo) { 642 653 643 654 unsigned year, month, day, hour, min; … … 685 696 } 686 697 } 698 699 // Write Data Epoch (RINEX Version 3) 700 //////////////////////////////////////////////////////////////////////////// 701 void t_rnxObsFile::writeEpochV3(const t_rnxEpo* epo) { 702 703 unsigned year, month, day, hour, min; 704 double sec; 705 epo->tt.civil_date(year, month, day); 706 epo->tt.civil_time(hour, min, sec); 707 708 709 } -
trunk/BNC/rinex/rnxobsfile.h
r3845 r3866 127 127 128 128 private: 129 void writeEpochV2(const t_rnxEpo* epo); 130 void writeEpochV3(const t_rnxEpo* epo); 129 131 const t_rnxEpo* nextEpochV2(); 130 132 const t_rnxEpo* nextEpochV3();
Note:
See TracChangeset
for help on using the changeset viewer.