Changeset 3675 in ntrip for trunk/BNC/rnxobsfile.cpp
- Timestamp:
- Feb 12, 2012, 10:39:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rnxobsfile.cpp
r3674 r3675 130 130 // Retrieve single Epoch 131 131 //////////////////////////////////////////////////////////////////////////// 132 t_irc t_rnxObsFile::getEpoch() {132 const t_rnxObsFile::t_epo* t_rnxObsFile::nextEpoch() { 133 133 if (version() < 3.0) { 134 return getEpochV2();134 return nextEpochV2(); 135 135 } 136 136 else { 137 return getEpochV3();137 return nextEpochV3(); 138 138 } 139 139 } … … 141 141 // Retrieve single Epoch (RINEX Version 3) 142 142 //////////////////////////////////////////////////////////////////////////// 143 t_irc t_rnxObsFile::getEpochV3() {144 return failure; // TODO143 const t_rnxObsFile::t_epo* t_rnxObsFile::nextEpochV3() { 144 return 0; // TODO 145 145 } 146 146 147 147 // Retrieve single Epoch (RINEX Version 2) 148 148 //////////////////////////////////////////////////////////////////////////// 149 t_irc t_rnxObsFile::getEpochV2() {149 const t_rnxObsFile::t_epo* t_rnxObsFile::nextEpochV2() { 150 150 while (_stream->status() == QTextStream::Ok && !_stream->atEnd()) { 151 151 QString line = _stream->readLine(); … … 174 174 } 175 175 QString prn = line.mid(pos, 3); 176 176 177 cout << "prn = " << prn.toAscii().data() << endl; 177 178 pos += 3; … … 179 180 180 181 //// beg test 181 return failure;182 return 0; 182 183 //// end test 183 184 } 184 185 185 return success;186 return &_currEpo; 186 187 }
Note:
See TracChangeset
for help on using the changeset viewer.