Changeset 3866 in ntrip


Ignore:
Timestamp:
Apr 13, 2012, 11:45:02 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.cpp

    r3865 r3866  
    640640////////////////////////////////////////////////////////////////////////////
    641641void 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////////////////////////////////////////////////////////////////////////////
     652void t_rnxObsFile::writeEpochV2(const t_rnxEpo* epo) {
    642653
    643654  unsigned year, month, day, hour, min;
     
    685696  }
    686697}
     698
     699// Write Data Epoch (RINEX Version 3)
     700////////////////////////////////////////////////////////////////////////////
     701void 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  
    127127
    128128 private:
     129  void writeEpochV2(const t_rnxEpo* epo);
     130  void writeEpochV3(const t_rnxEpo* epo);
    129131  const t_rnxEpo* nextEpochV2();
    130132  const t_rnxEpo* nextEpochV3();
Note: See TracChangeset for help on using the changeset viewer.