Changeset 74 in ntrip for trunk/BNC/bncrinex.cpp
- Timestamp:
- Aug 27, 2006, 9:16:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r73 r74 32 32 //////////////////////////////////////////////////////////////////////////// 33 33 void bncRinex::deepCopy(const Observation* obs) { 34 34 Observation* newObs = new Observation(); 35 memcpy(newObs, obs, sizeof(*obs)); 36 _obs.push_back(newObs); 35 37 } 36 38 … … 39 41 void bncRinex::dumpEpoch() { 40 42 43 QListIterator<Observation*> it(_obs); 44 while (it.hasNext()) { 45 Observation* obs = it.next(); 46 cout << obs->StatID << " " 47 << (int) obs->SVPRN << " " 48 << (int) obs->GPSWeek << " " 49 << obs->GPSWeeks << " " 50 << obs->sec << " " 51 << obs->pCodeIndicator << " " 52 << obs->cumuLossOfCont << " " 53 << obs->C1 << " " 54 << obs->P2 << " " 55 << obs->L1 << " " 56 << obs->L2 << endl; 57 delete obs; 58 } 59 _obs.clear(); 41 60 } 42 61
Note:
See TracChangeset
for help on using the changeset viewer.