Changeset 3843 in ntrip for trunk/BNC/rinex
- Timestamp:
- Apr 12, 2012, 1:53:38 PM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/bncpostprocess.cpp
r3782 r3843 110 110 } 111 111 else { 112 _rnxObsFile = new t_rnxObsFile(_opt->obsFileName); 112 _rnxObsFile = new t_rnxObsFile(_opt->obsFileName, t_rnxObsFile::input); 113 113 _rnxNavFile = new t_rnxNavFile(_opt->navFileName); 114 114 _pppClient = new bncPPPclient("POST", _opt, false); -
trunk/BNC/rinex/rnxobsfile.cpp
r3837 r3843 220 220 // Constructor 221 221 //////////////////////////////////////////////////////////////////////////// 222 t_rnxObsFile::t_rnxObsFile(const QString& fileName) { 222 t_rnxObsFile::t_rnxObsFile(const QString& fileName, e_inpOut inpOut) { 223 _inpOut = inpOut; 223 224 _stream = 0; 224 225 _flgPowerFail = false; 225 open(fileName); 226 if (_inpOut == input) { 227 openRead(fileName); 228 } 229 else { 230 } 226 231 } 227 232 228 233 // Open 229 234 //////////////////////////////////////////////////////////////////////////// 230 void t_rnxObsFile::open(const QString& fileName) { 235 void t_rnxObsFile::openRead(const QString& fileName) { 231 236 232 237 _fileName = fileName; expandEnvVar(_fileName); -
trunk/BNC/rinex/rnxobsfile.h
r3840 r3843 63 63 }; 64 64 65 t_rnxObsFile(const QString& fileName); 65 enum e_inpOut {input, output}; 66 67 t_rnxObsFile(const QString& fileName, e_inpOut inpOut); 66 68 ~t_rnxObsFile(); 67 69 … … 88 90 protected: 89 91 t_rnxObsFile() {}; 90 void open(const QString& fileName); 92 void openRead(const QString& fileName); 91 93 void close(); 92 94 … … 121 123 void handleEpochFlag(int flag, const QString& line); 122 124 125 e_inpOut _inpOut; 123 126 QFile* _file; 124 127 QString _fileName; -
trunk/BNC/rinex/teqcedit.cpp
r3842 r3843 68 68 while (it.hasNext()) { 69 69 QString fileName = it.next(); 70 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName); 70 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input); 71 71 _rnxObsFiles.append(rnxObsFile); 72 72 }
Note:
See TracChangeset
for help on using the changeset viewer.