Changeset 4404 in ntrip
- Timestamp:
- Jul 8, 2012, 12:10:48 PM (12 years ago)
- Location:
- trunk/BNC/src/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/GPSDecoder.cpp
r4403 r4404 114 114 ////////////////////////////////////////////////////////////////////////////// 115 115 int t_obs::iEntry(const QString& rnxStr, float rnxVers) const { 116 if (rnxVers >= 3.0) { 117 return iEntryV3(rnxStr); 118 } 119 120 if (rnxStr == "C1") return iEntryV3("C1C"); 121 else if (rnxStr == "P1") return iEntryV3("C1P"); 122 else if (rnxStr == "C2") return iEntryV3("C2C"); 123 else if (rnxStr == "P2") return iEntryV3("C2P"); 124 125 const QString chars = "CPWZI "; 126 for (int ii = 0; ii < chars.length(); ii++) { 127 QString hlpStr = rnxStr + chars[ii]; 128 int ie = iEntryV3(hlpStr.trimmed()); 129 if (ie != -1) return ie; 130 } 131 132 return -1; 133 } 134 135 // 136 ////////////////////////////////////////////////////////////////////////////// 137 int t_obs::iEntryV3(const QString& rnxStr) const { 116 138 117 139 int retVal = -1; -
trunk/BNC/src/RTCM/GPSDecoder.h
r4403 r4404 82 82 private: 83 83 int iEntry(const QString& rnxStr, float rnxVer) const; 84 int iEntryV3(const QString& rnxStr) const; 84 85 }; 85 86
Note:
See TracChangeset
for help on using the changeset viewer.