Changeset 4021 in ntrip
- Timestamp:
- Apr 22, 2012, 7:37:26 PM (13 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r4018 r4021 986 986 } 987 987 988 // RINEX Format String988 // 989 989 ////////////////////////////////////////////////////////////////////////////// 990 QString t_ephGlo::toString(double /* version */) const { 991 return ""; 992 } 993 994 // RINEX Format String 995 ////////////////////////////////////////////////////////////////////////////// 996 QString t_ephGal::toString(double /* version */) const { 997 return ""; 998 } 999 1000 // RINEX Format String 1001 ////////////////////////////////////////////////////////////////////////////// 1002 QString t_ephGPS::toString(double version) const { 1003 1004 QString rnxStr; 990 QString t_eph::rinexDateStr(double version) const { 991 992 QString datStr; 1005 993 1006 994 unsigned year, month, day, hour, min; … … 1009 997 _TOC.civil_time(hour, min, sec); 1010 998 1011 QTextStream out(& rnxStr);999 QTextStream out(&datStr); 1012 1000 1013 1001 if (version < 3.0) { … … 1030 1018 .arg(int(sec), 2, 10, QChar('0')); 1031 1019 } 1020 1021 return datStr; 1022 } 1023 1024 // RINEX Format String 1025 ////////////////////////////////////////////////////////////////////////////// 1026 QString t_ephGlo::toString(double version) const { 1027 QString rnxStr = rinexDateStr(version); 1028 return rnxStr + "\n"; 1029 } 1030 1031 // RINEX Format String 1032 ////////////////////////////////////////////////////////////////////////////// 1033 QString t_ephGal::toString(double version) const { 1034 QString rnxStr = rinexDateStr(version); 1035 return rnxStr + "\n"; 1036 } 1037 1038 // RINEX Format String 1039 ////////////////////////////////////////////////////////////////////////////// 1040 QString t_ephGPS::toString(double version) const { 1041 1042 QString rnxStr = rinexDateStr(version); 1043 1044 QTextStream out(&rnxStr); 1032 1045 1033 1046 out << QString("%1%2%3\n") -
trunk/BNC/RTCM3/ephemeris.h
r4019 r4021 53 53 } 54 54 55 QString rinexDateStr(double version) const; 56 55 57 protected: 56 58 QString _prn;
Note:
See TracChangeset
for help on using the changeset viewer.