Changeset 4010 in ntrip for trunk/BNC/rinex/rnxnavfile.cpp
- Timestamp:
- Apr 22, 2012, 12:29:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxnavfile.cpp
r4004 r4010 42 42 #include <newmatio.h> 43 43 #include "rnxnavfile.h" 44 #include "bncapp.h" 44 45 #include "bncutils.h" 45 46 #include "RTCM3/ephemeris.h" … … 239 240 //////////////////////////////////////////////////////////////////////////// 240 241 void t_rnxNavFile::writeHeader() { 241 *_stream << "Writing header ..." << endl; 242 243 bncApp* app = (bncApp*) qApp; 244 245 if (version() < 3.0) { 246 *_stream << QString("%1 Navigation data") 247 .arg(_header._version, 9, 'f', 2) 248 .leftJustified(60) 249 << "RINEX VERSION / TYPE\n"; 250 } 251 else { 252 *_stream << QString("%1 Navigation data Mixed") 253 .arg(_header._version, 9, 'f', 2) 254 .leftJustified(60) 255 << "RINEX VERSION / TYPE\n"; 256 } 257 258 *_stream << QString("%1%2%3") 259 .arg(app->pgmName(), -20) 260 .arg(app->userName(), -20) 261 .arg(currentDateAndTimeGPS().date().toString("dd-MMM-yyyy"), -20) 262 .leftJustified(60) 263 << "PGM / RUN BY / DATE\n"; 264 265 *_stream << QString() 266 .leftJustified(60) 267 << "END OF HEADER\n"; 242 268 } 243 269
Note:
See TracChangeset
for help on using the changeset viewer.