Changeset 11200 in ntrip for trunk/BNC/src/rinex/rnxnavfile.h


Ignore:
Timestamp:
Nov 11, 2026, 11:17:08 AM (11 days ago)
Author:
stuerze
Message:

RINEX concatenation checked and improved

File:
1 edited

Legend:

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

    r11023 r11200  
    5555    QStringList     _comments;
    5656    QStringList     _runByDate;
     57    QStringList     _otherRecords; // other header records, verbatim
     58    int             _mergedFiles;  // MERGED FILE (0: not given)
    5759  };
    5860
    5961 public:
     62  // RINEX 4 STO, EOP and ION records (and records of unknown type), verbatim
     63  class t_rnxNavRecord {
     64   public:
     65    QString     key;    // STO, EOP, ION, ...
     66    bncTime     tt;     // epoch of the first data line (for sorting)
     67    QStringList lines;  // incl. the "> " line
     68  };
     69
    6070  t_rnxNavFile(const QString& fileName, e_inpOut inpOut);
    6171  ~t_rnxNavFile();
    … …  
    6878  QStringList comments() const {return _header._comments;}
    6979  QStringList runByDate() const {return _header._runByDate;}
     80  QStringList headerRecords() const {return _header._otherRecords;}
     81  int         mergedFiles() const {return _header._mergedFiles;}
     82  const QList<t_rnxNavRecord>& records() const {return _records;}
    7083  t_eph::e_system satSystem() const {return _header._satSys;}
    7184  void   setGlonass(bool glo) {_header._glonass = glo;}
    7285  void   setGnssTypeV3(t_eph::e_system system) {_header._satSys = system;}
    73   void   writeHeader(const QMap<QString, QString>* txtMap = 0, int numMergedFiles = 0, int leapSecs = 0);
     86  void   writeHeader(const QMap<QString, QString>* txtMap = 0, int numMergedFiles = 0, int leapSecs = 0,
     87                     const QStringList* headerRecords = 0);
    7488  void   writeEph(const t_eph* eph);
     89  void   writeRecord(const t_rnxNavRecord& record);
    7590
    7691 protected:
    … …  
    88103  QTextStream*        _stream;
    89104  std::vector<t_eph*> _ephs;
     105  QList<t_rnxNavRecord> _records;
    90106  t_rnxNavHeader      _header;
    91107};
Note: See TracChangeset for help on using the changeset viewer.