Changeset 3672 in ntrip for trunk/BNC/rnxobsfile.cpp
- Timestamp:
- Feb 12, 2012, 9:37:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rnxobsfile.cpp
r3656 r3672 48 48 //////////////////////////////////////////////////////////////////////////// 49 49 t_rnxObsFile::t_rnxObsHeader::t_rnxObsHeader() { 50 _antNEU[0] = _antNEU[1] = _antNEU[2] = 0.0; 51 _xyz[0] = _xyz[1] = _xyz[2] = 0.0; 52 _version = 0.0; 50 _antNEU.ReSize(3); 51 _xyz.ReSize(3); 52 _antNEU = 0.0; 53 _xyz = 0.0; 54 _version = 0.0; 53 55 } 54 56 … … 88 90 QTextStream in(value.toAscii(), QIODevice::ReadOnly); 89 91 in >> _antNEU[2] >> _antNEU[1] >> _antNEU[0]; 92 } 93 else if (key == "# / TYPES OF OBSERV") { 94 QTextStream in(value.toAscii(), QIODevice::ReadOnly); 95 int nTypes; 96 in >> nTypes; 97 for (int ii = 0; ii < nTypes; ii++) { 98 QString hlp; 99 in >> hlp; 100 _obsTypes << hlp; 101 } 90 102 } 91 103 }
Note:
See TracChangeset
for help on using the changeset viewer.