Changeset 3844 in ntrip
- Timestamp:
- Apr 12, 2012, 2:12:35 PM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3843 r3844 502 502 } 503 503 504 // Set Header Information 505 //////////////////////////////////////////////////////////////////////////// 506 void t_rnxObsFile::setHeader(const t_rnxObsHeader& header) { 507 _header._version = header._version; 508 _header._interval = header._interval; 509 _header._antennaName = header._antennaName; 510 _header._markerName = header._markerName; 511 _header._antNEU = header._antNEU; 512 _header._antXYZ = header._antXYZ; 513 _header._antBSG = header._antBSG; 514 _header._xyz = header._xyz; 515 for (unsigned iPrn = 1; iPrn <= MAXPRN_GPS; iPrn++) { 516 _header._wlFactorsL1[iPrn] = header._wlFactorsL1[iPrn]; 517 _header._wlFactorsL2[iPrn] = header._wlFactorsL2[iPrn]; 518 } 519 _header._startTime = header._startTime; 520 for (unsigned ii = 0; ii < header._obsTypesV2.size(); ii++) { 521 _header._obsTypesV2.push_back(header._obsTypesV2[ii]); 522 } 523 map<char, vector<QString> >::const_iterator it; 524 for (it = header._obsTypesV3.begin(); it != header._obsTypesV3.end(); it++) { 525 char sys = it->first; 526 const vector<QString>& typesV3 = it->second; 527 for (unsigned ii = 0; ii < typesV3.size(); ii++) { 528 _header._obsTypesV3[sys].push_back(typesV3[ii]); 529 } 530 } 531 } -
trunk/BNC/rinex/rnxobsfile.h
r3843 r3844 119 119 }; 120 120 121 public: 122 const t_rnxObsHeader& header() const {return _header;} 123 void setHeader(const t_rnxObsHeader& header); 124 125 private: 121 126 const t_rnxEpo* nextEpochV2(); 122 127 const t_rnxEpo* nextEpochV3();
Note:
See TracChangeset
for help on using the changeset viewer.