Changeset 3683 in ntrip
- Timestamp:
- Feb 12, 2012, 12:19:45 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncpostprocess.cpp ¶
r3681 r3683 100 100 // ---------------- 101 101 t_eph* eph = 0; 102 while (_rnxNavFile->getNextEph( eph) == success) {102 while ( (eph = _rnxNavFile->getNextEph()) != 0 ) { 103 103 if (_pppClient->putNewEph(eph) != success) { 104 104 delete eph; eph = 0; … … 109 109 // ----------------- 110 110 const t_rnxObsFile::t_epo* epo = 0; 111 while ( (epo = _rnxObsFile->nextEpoch()) != 0) { 111 while ( (epo = _rnxObsFile->nextEpoch()) != 0 ) { 112 112 for (int iObs = 0; iObs < epo->satObs.size(); iObs++) { 113 113 const t_rnxObsFile::t_satObs& satObs = epo->satObs[iObs]; -
TabularUnified trunk/BNC/rnxnavfile.cpp ¶
r3682 r3683 104 104 // Read Next Ephemeris 105 105 //////////////////////////////////////////////////////////////////////////// 106 t_ irct_rnxNavFile::getNextEph(t_eph* eph) {106 t_eph* t_rnxNavFile::getNextEph() { 107 107 108 eph = 0; 108 t_eph* eph = 0; 109 109 110 110 while (_stream->status() == QTextStream::Ok && !_stream->atEnd()) { … … 146 146 } 147 147 if (eph && eph->ok()) { 148 return success;148 return eph; 149 149 } 150 150 } 151 151 152 152 delete eph; 153 eph = 0; 154 return failure; 153 return 0; 155 154 } -
TabularUnified trunk/BNC/rnxnavfile.h ¶
r3659 r3683 50 50 t_rnxNavFile(QString fileName); 51 51 ~t_rnxNavFile(); 52 t_ ircgetNextEph(t_eph* eph);52 t_eph* getNextEph(); 53 53 float version() const {return _header.version();} 54 54 bool glonass() const {return _header.glonass();}
Note:
See TracChangeset
for help on using the changeset viewer.