Changeset 6222 in ntrip for trunk/BNC/src/rinex/rnxobsfile.h


Ignore:
Timestamp:
Oct 11, 2014, 1:57:19 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxobsfile.h

    r6221 r6222  
    5252
    5353  t_irc       read(QTextStream* stream, int maxLines = 0);
     54  void        setDefault(const QString& markerName, int version);
     55  void        set(const t_rnxObsHeader& header, int version, const QStringList* useObsTypes = 0);
    5456  int         numSys() const;
    5557  char        system(int iSys) const;
     
    145147
    146148  t_rnxEpo* nextEpoch();
     149
    147150  int wlFactorL1(unsigned iPrn) {
    148151    return iPrn <= t_prn::MAXPRN_GPS ? _header._wlFactorsL1[iPrn] : 1;
     
    153156
    154157  const t_rnxObsHeader& header() const {return _header;}
    155   void setHeader(const t_rnxObsHeader& header, double version, const QStringList& useObsTypes);
     158
     159  void setHeader(const t_rnxObsHeader& header, int version, const QStringList* useObsTypes = 0) {
     160    _header.set(header, version, useObsTypes);
     161  }
     162
    156163  void writeEpoch(const t_rnxEpo* epo);
    157164
    158165  QTextStream* stream() {return _stream;}
    159166
    160   static void setObsFromRnx(const t_rnxObsFile* rnxObsFile,
    161                             const t_rnxObsFile::t_rnxEpo* epo,
    162                             const t_rnxObsFile::t_rnxSat& rnxSat,
    163                             t_satObs& obs);
     167  static void setObsFromRnx(const t_rnxObsFile* rnxObsFile, const t_rnxObsFile::t_rnxEpo* epo,
     168                            const t_rnxObsFile::t_rnxSat& rnxSat, t_satObs& obs);
    164169
    165170  static QString type2to3(char sys, const QString& typeV2);
    166171  static QString type3to2(char sys, const QString& typeV3);
     172
     173  static void writeEpochV2(QTextStream* stream, const t_rnxObsHeader& header, const t_rnxEpo* epo);
     174  static void writeEpochV3(QTextStream* stream, const t_rnxObsHeader& header, const t_rnxEpo* epo);
    167175
    168176 private:
Note: See TracChangeset for help on using the changeset viewer.