Changeset 3434 in ntrip for trunk/BNC/combination/bnccomb.cpp
- Timestamp:
- Sep 21, 2011, 6:34:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3433 r3434 196 196 delete _params[iPar-1]; 197 197 } 198 QVectorIterator<cmbCorr*> itCorr( _corrs);198 QVectorIterator<cmbCorr*> itCorr(corrs()); 199 199 while (itCorr.hasNext()) { 200 200 delete itCorr.next(); … … 281 281 // --------------------------- 282 282 cmbCorr* existingCorr = 0; 283 QVectorIterator<cmbCorr*> itCorr( _corrs);283 QVectorIterator<cmbCorr*> itCorr(corrs()); 284 284 while (itCorr.hasNext()) { 285 285 cmbCorr* hlp = itCorr.next(); … … 294 294 } 295 295 else { 296 _corrs.append(newCorr);296 corrs().append(newCorr); 297 297 } 298 298 } … … 344 344 345 345 int nPar = _params.size(); 346 int nObs = _corrs.size();346 int nObs = corrs().size(); 347 347 348 348 if (nObs == 0) { … … 363 363 cmbAC* AC = icAC.next(); 364 364 AC->numObs = 0; 365 QVectorIterator<cmbCorr*> itCorr( _corrs);365 QVectorIterator<cmbCorr*> itCorr(corrs()); 366 366 while (itCorr.hasNext()) { 367 367 cmbCorr* corr = itCorr.next(); … … 395 395 QMap<QString, t_corr*> resCorr; 396 396 397 QVectorIterator<cmbCorr*> itCorr( _corrs);397 QVectorIterator<cmbCorr*> itCorr(corrs()); 398 398 while (itCorr.hasNext()) { 399 399 cmbCorr* corr = itCorr.next(); … … 457 457 out << _resTime.datestr().c_str() << " " << _resTime.timestr().c_str() 458 458 << " Maximum Residuum " << maxRes << ' ' 459 << _corrs[maxResIndex-1]->acName << ' ' << _corrs[maxResIndex-1]->prn;459 << corrs()[maxResIndex-1]->acName << ' ' << corrs()[maxResIndex-1]->prn; 460 460 461 461 if (maxRes > _MAXRES) { … … 463 463 cmbParam* pp = _params[iPar-1]; 464 464 if (pp->type == cmbParam::offACSat && 465 pp->AC == _corrs[maxResIndex-1]->acName &&466 pp->prn == _corrs[maxResIndex-1]->prn) {465 pp->AC == corrs()[maxResIndex-1]->acName && 466 pp->prn == corrs()[maxResIndex-1]->prn) { 467 467 QQ_sav.Row(iPar) = 0.0; 468 468 QQ_sav.Column(iPar) = 0.0; … … 511 511 // Delete Data 512 512 // ----------- 513 QVectorIterator<cmbCorr*> it(_corrs); 514 while (it.hasNext()) { 515 delete it.next(); 516 } 517 _corrs.clear(); 513 _buffer.remove(_resTime); 518 514 } 519 515
Note:
See TracChangeset
for help on using the changeset viewer.