- Timestamp:
- Apr 22, 2012, 11:49:44 AM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r4003 r4004 248 248 qStableSort(_ephs.begin(), _ephs.end(), t_eph::earlierTime); 249 249 250 } 250 // Initialize output observation file 251 // ---------------------------------- 252 t_rnxNavFile outNavFile(_outNavFileName, t_rnxNavFile::output); 253 254 // Loop over all ephemerides 255 // ------------------------- 256 for (int ii = 0; ii < _ephs.size(); ii++) { 257 const t_eph* eph = _ephs[ii]; 258 if (ii == 0) { 259 outNavFile.writeHeader(); 260 } 261 outNavFile.writeEph(eph); 262 } 263 } -
trunk/BNC/rinex/rnxnavfile.cpp
r3999 r4004 235 235 return 0; 236 236 } 237 238 // 239 //////////////////////////////////////////////////////////////////////////// 240 void t_rnxNavFile::writeHeader() { 241 *_stream << "Writing header ..." << endl; 242 } 243 244 // 245 //////////////////////////////////////////////////////////////////////////// 246 void t_rnxNavFile::writeEph(const t_eph* eph) { 247 *_stream << "PRN = " << eph->prn() << endl; 248 } -
trunk/BNC/rinex/rnxnavfile.h
r4000 r4004 60 60 float version() const {return _header.version();} 61 61 bool glonass() const {return _header.glonass();} 62 void writeHeader(); 63 void writeEph(const t_eph* eph); 62 64 63 65 protected:
Note:
See TracChangeset
for help on using the changeset viewer.