Changeset 3999 in ntrip for trunk/BNC/rinex/rnxnavfile.h


Ignore:
Timestamp:
Apr 22, 2012, 11:14:15 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3758 r3999  
    3737class t_rnxNavFile {
    3838
     39 public:
     40  enum e_inpOut {input, output};
     41
     42 private:
    3943  class t_rnxNavHeader {
    4044   public:
     
    5054 
    5155 public:
    52   t_rnxNavFile(QString fileName);
     56  t_rnxNavFile(const QString& fileName, e_inpOut inpOut);
    5357  ~t_rnxNavFile();
    5458  t_eph* getNextEph(const bncTime& tt, const QMap<QString, int>* corrIODs);
     
    5660  bool  glonass() const {return _header.glonass();}
    5761
     62 protected:
     63  t_rnxNavFile() {};
     64  void openRead(const QString& fileName);
     65  void openWrite(const QString& fileName);
     66  void close();
     67
    5868 private:
    5969  void read(QTextStream* stream);
    6070
     71  e_inpOut            _inpOut;
     72  QFile*              _file;
     73  QString             _fileName;
     74  QTextStream*        _stream;
    6175  std::vector<t_eph*> _ephs;
    6276  t_rnxNavHeader      _header;
Note: See TracChangeset for help on using the changeset viewer.