Changeset 4503 in ntrip for trunk/BNC/src/bncrinex.cpp
- Timestamp:
- Aug 12, 2012, 12:19:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r4502 r4503 346 346 } 347 347 348 // A Few Additional Comments 349 // ------------------------- 350 QStringList addComments; 351 addComments << format.left(6) + " " + _mountPoint.host() + _mountPoint.path(); 352 353 if (_nmea == "yes") { 354 addComments << "NMEA LAT=" + _latitude + " " + "LONG=" + _longitude; 355 } 356 348 357 // Set Marker Name 349 358 // --------------- … … 360 369 << "C2" << "P2" << "L2" << "S2"; 361 370 } 362 363 QStringList addComments;364 371 365 372 // Set Default RINEX v3 Types … … 398 405 } 399 406 400 // A few additional comments 401 // ------------------------- 402 QMap<QString, QString> txtMap; 403 404 addComments << format.left(6) + " " + _mountPoint.host() + _mountPoint.path(); 405 406 if (_nmea == "yes") { 407 addComments << "NMEA LAT=" + _latitude + " " + "LONG=" + _longitude; 408 } 409 410 txtMap["COMMENT"] = addComments.join("\\n"); 411 407 // Write the Header 408 // ---------------- 412 409 QByteArray headerLines; 413 410 QTextStream outHlp(&headerLines); 411 412 QMap<QString, QString> txtMap; 413 txtMap["COMMENT"] = addComments.join("\\n"); 414 414 415 _header.write(&outHlp, &txtMap); 416 415 417 outHlp.flush(); 416 418 _out << headerLines.data();
Note:
See TracChangeset
for help on using the changeset viewer.