Changeset 74 in ntrip
- Timestamp:
- Aug 27, 2006, 9:16:50 AM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 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 -
trunk/BNC/bncrinex.h
r73 r74 3 3 #define BNCRINEX_H 4 4 5 #include <Q String>5 #include <QByteArray> 6 6 #include <QList> 7 7 … … 16 16 17 17 private: 18 Q String_statID;18 QByteArray _statID; 19 19 QList<Observation*> _obs; 20 20 };
Note:
See TracChangeset
for help on using the changeset viewer.