Changeset 4525 in ntrip
- Timestamp:
- Aug 13, 2012, 1:43:02 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4517 r4525 159 159 // Initialize RINEX Observation Files 160 160 // ---------------------------------- 161 t_reqcEdit::initRnxObsFiles(_obsFileNames, _rnxObsFiles );161 t_reqcEdit::initRnxObsFiles(_obsFileNames, _rnxObsFiles, _log); 162 162 163 163 // Read Ephemerides -
trunk/BNC/src/rinex/reqcedit.cpp
r4524 r4525 161 161 //////////////////////////////////////////////////////////////////////////// 162 162 void t_reqcEdit::initRnxObsFiles(const QStringList& obsFileNames, 163 QVector<t_rnxObsFile*>& rnxObsFiles) { 163 QVector<t_rnxObsFile*>& rnxObsFiles, 164 QTextStream* log) { 164 165 165 166 QStringListIterator it(obsFileNames); … … 180 181 catch (...) { 181 182 delete rnxObsFile; 182 cerr << "Error in rnxObsFile " << filePath.toAscii().data() << endl; 183 if (log) { 184 *log << "Error in rnxObsFile " << filePath.toAscii().data() << endl; 185 } 183 186 } 184 187 } … … 191 194 } 192 195 catch (...) { 193 cerr << "Error in rnxObsFile " << fileName.toAscii().data() << endl; 196 if (log) { 197 *log << "Error in rnxObsFile " << fileName.toAscii().data() << endl; 198 } 194 199 } 195 200 } … … 209 214 } 210 215 211 t_reqcEdit::initRnxObsFiles(_obsFileNames, _rnxObsFiles );216 t_reqcEdit::initRnxObsFiles(_obsFileNames, _rnxObsFiles, _log); 212 217 213 218 // Initialize output observation file -
trunk/BNC/src/rinex/reqcedit.h
r4516 r4525 48 48 virtual void run(); 49 49 static void initRnxObsFiles(const QStringList& obsFileNames, 50 QVector<t_rnxObsFile*>& rnxObsFiles); 50 QVector<t_rnxObsFile*>& rnxObsFiles, 51 QTextStream* log); 51 52 static void readEphemerides(const QStringList& navFileNames, 52 53 QVector<t_eph*>& ephs);
Note:
See TracChangeset
for help on using the changeset viewer.