Changeset 4393 in ntrip


Ignore:
Timestamp:
Jul 6, 2012, 4:17:38 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/RTCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/GPSDecoder.cpp

    r4392 r4393  
    9292//
    9393//////////////////////////////////////////////////////////////////////////////
    94 double t_obs::measdata(const QString& rnxStr) const {
     94void t_obs::setMeasdata(const QString& rnxStr, double value) {
     95  int iEntry = -1;
     96  measdata(rnxStr, &iEntry);
     97  if (iEntry != -1) {
     98    _measdata[iEntry] = value;
     99  }
     100}
     101
     102//
     103//////////////////////////////////////////////////////////////////////////////
     104double t_obs::measdata(const QString& rnxStr, int* iEntry) const {
     105
     106  if (iEntry) {
     107    *iEntry = 0;
     108  }
    95109
    96110  return 0.0;
    97111}
    98112 
    99 //
    100 //////////////////////////////////////////////////////////////////////////////
    101 void t_obs::setMeasdata(const QString& rnxStr, double value) {
    102 
    103 }
  • trunk/BNC/src/RTCM/GPSDecoder.h

    r4391 r4393  
    6161  ~t_obs() {}
    6262
    63   double measdata(const QString& rnxStr) const;
     63  double measdata(const QString& rnxStr, int* iEntry = 0) const;
    6464  void   setMeasdata(const QString& rnxStr, double value);
    6565
Note: See TracChangeset for help on using the changeset viewer.