Changeset 74 in ntrip


Ignore:
Timestamp:
Aug 27, 2006, 9:16:50 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r73 r74  
    3232////////////////////////////////////////////////////////////////////////////
    3333void bncRinex::deepCopy(const Observation* obs) {
    34 
     34  Observation* newObs = new Observation();
     35  memcpy(newObs, obs, sizeof(*obs));
     36  _obs.push_back(newObs);
    3537}
    3638
     
    3941void bncRinex::dumpEpoch() {
    4042
     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();
    4160}
    4261
  • trunk/BNC/bncrinex.h

    r73 r74  
    33#define BNCRINEX_H
    44
    5 #include <QString>
     5#include <QByteArray>
    66#include <QList>
    77
     
    1616
    1717 private:
    18    QString             _statID;
     18   QByteArray          _statID;
    1919   QList<Observation*> _obs;
    2020};
Note: See TracChangeset for help on using the changeset viewer.