Changeset 8148 in ntrip for trunk/BNC/src/t_prn.cpp
- Timestamp:
- Sep 29, 2017, 1:20:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/t_prn.cpp
r6809 r8148 7 7 using namespace std; 8 8 9 // 9 // 10 10 ////////////////////////////////////////////////////////////////////////////// 11 11 int t_prn::toInt() const { … … 31 31 } 32 32 33 // 33 // 34 34 ////////////////////////////////////////////////////////////////////////////// 35 35 string t_prn::toString() const { … … 54 54 const char* number = 0; 55 55 if ( str[0] == 'G' || str[0] == 'R' || str[0] == 'E' || 56 str[0] == 'J' || str[0] == 'S' || str[0] == 'C' ) { 56 str[0] == 'J' || str[0] == 'S' || str[0] == 'C' || 57 str[0] == 'I' 58 ) { 57 59 system = str[0]; 58 60 number = str.c_str() + 1; … … 80 82 } 81 83 82 // 84 // 83 85 ////////////////////////////////////////////////////////////////////////////// 84 86 t_prn::operator unsigned() const { … … 86 88 } 87 89 88 // 90 // 89 91 ////////////////////////////////////////////////////////////////////////////// 90 92 istream& operator >> (istream& in, t_prn& prn) {
Note:
See TracChangeset
for help on using the changeset viewer.