Changeset 3719 in ntrip
- Timestamp:
- Feb 23, 2012, 6:50:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3718 r3719 248 248 ttPrev = rnxEpo->tt; 249 249 } 250 _stream->clear(); 251 _stream->seekg(0, ios::beg); 250 _stream->seek(0); 252 251 _header.read(_stream); 253 252 } … … 321 320 const t_rnxObsFile::t_rnxEpo* t_rnxObsFile::nextEpochV3() { 322 321 323 while ( _stream-> ->status() == QTextStream::Ok && !_stream->atEnd() ) {322 while ( _stream->status() == QTextStream::Ok && !_stream->atEnd() ) { 324 323 325 324 QString line = _stream->readLine(); … … 356 355 for (int iSat = 0; iSat < numSat; iSat++) { 357 356 line = _stream->readLine(); 358 _currEpo.rnxSat[iSat].satSys = line [0];357 _currEpo.rnxSat[iSat].satSys = line.toAscii()[0]; 359 358 readInt(line, 1, 2, _currEpo.rnxSat[iSat].satNum); 360 char sys = line [0];359 char sys = line.toAscii()[0]; 361 360 for (int iType = 0; iType < _header.nTypes(sys); iType++) { 362 361 int pos = 3 + 16*iType; … … 390 389 const t_rnxObsFile::t_rnxEpo* t_rnxObsFile::nextEpochV2() { 391 390 392 while ( _stream-> ->status() == QTextStream::Ok && !_stream->atEnd() ) {391 while ( _stream->status() == QTextStream::Ok && !_stream->atEnd() ) { 393 392 394 393 QString line = _stream->readLine(); … … 436 435 } 437 436 438 _currEpo.rnxSat[iSat].satSys = line [pos];437 _currEpo.rnxSat[iSat].satSys = line.toAscii()[pos]; 439 438 readInt(line, pos + 1, 2, _currEpo.rnxSat[iSat].satNum); 440 439
Note:
See TracChangeset
for help on using the changeset viewer.