Changeset 3845 in ntrip
- Timestamp:
- Apr 12, 2012, 2:18:21 PM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3844 r3845 228 228 } 229 229 else { 230 } 231 } 232 233 // Open 230 openWrite(fileName); 231 } 232 } 233 234 // Open for input 234 235 //////////////////////////////////////////////////////////////////////////// 235 236 void t_rnxObsFile::openRead(const QString& fileName) { … … 275 276 _header.read(_stream); 276 277 } 278 } 279 280 // Open for output 281 //////////////////////////////////////////////////////////////////////////// 282 void t_rnxObsFile::openWrite(const QString& fileName) { 283 284 _fileName = fileName; expandEnvVar(_fileName); 285 _file = new QFile(_fileName); 286 _file->open(QIODevice::WriteOnly | QIODevice::Text); 287 _stream = new QTextStream(); 288 _stream->setDevice(_file); 277 289 } 278 290 … … 530 542 } 531 543 } 544 545 // Write Header 546 //////////////////////////////////////////////////////////////////////////// 547 void t_rnxObsFile::writeHeader() { 548 549 } 550 551 // Write Data Epoch 552 //////////////////////////////////////////////////////////////////////////// 553 void t_rnxObsFile::writeEpoch(const t_rnxEpo* epo) { 554 555 } -
trunk/BNC/rinex/rnxobsfile.h
r3844 r3845 91 91 t_rnxObsFile() {}; 92 92 void openRead(const QString& fileName); 93 void openWrite(const QString& fileName); 93 94 void close(); 94 95 … … 122 123 const t_rnxObsHeader& header() const {return _header;} 123 124 void setHeader(const t_rnxObsHeader& header); 125 void writeHeader(); 126 void writeEpoch(const t_rnxEpo* epo); 124 127 125 128 private:
Note:
See TracChangeset
for help on using the changeset viewer.