- Timestamp:
- Jan 24, 2012, 1:08:17 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rnxobsfile.cpp
r3651 r3652 66 66 break; 67 67 } 68 QTextStream in(value.toAscii(), QIODevice::ReadOnly);69 if (key == "RINEX VERSION / TYPE") {68 else if (key == "RINEX VERSION / TYPE") { 69 QTextStream in(value.toAscii(), QIODevice::ReadOnly); 70 70 in >> _version; 71 } 72 else if (key == "MARKER NAME") { 73 _markerName = value; 74 } 75 else if (key == "ANT # / TYPE") { 76 _antennaName = value.mid(20); 71 77 } 72 78 } 73 79 74 80 cout << "RINEX Version = " << _version << endl; 81 cout << "Antenna Name >" << _antennaName.toAscii().data() << "<\n"; 82 cout << "Marker Name >" << _markerName.toAscii().data() << "<\n"; 75 83 76 84 return success; -
trunk/BNC/rnxobsfile.h
r3651 r3652 40 40 t_irc read(QTextStream* stream); 41 41 private: 42 float _version; 42 float _version; 43 QString _antennaName; 44 QString _markerName; 43 45 }; 44 46
Note:
See TracChangeset
for help on using the changeset viewer.