Changeset 4000 in ntrip for trunk/BNC/rinex/reqcedit.cpp
- Timestamp:
- Apr 22, 2012, 11:31:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r3999 r4000 43 43 #include "bncapp.h" 44 44 #include "bncsettings.h" 45 #include "rnxnavfile.h"46 45 47 46 using namespace std; … … 222 221 void t_reqcEdit::editEphemerides() { 223 222 223 // Read All Ephemerides 224 // -------------------- 224 225 QStringListIterator it(_navFileNames); 225 226 while (it.hasNext()) { 226 227 QString fileName = it.next(); 227 228 t_rnxNavFile rnxNavFile(fileName, t_rnxNavFile::input); 228 } 229 230 } 229 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 230 t_eph* eph = rnxNavFile.ephs()[ii]; 231 t_ephGPS* ephGPS = dynamic_cast<t_ephGPS*>(eph); 232 t_ephGlo* ephGlo = dynamic_cast<t_ephGlo*>(eph); 233 t_ephGal* ephGal = dynamic_cast<t_ephGal*>(eph); 234 if (ephGPS) { 235 _ephs.append(new t_ephGPS(*ephGPS)); 236 } 237 else if (ephGlo) { 238 _ephs.append(new t_ephGlo(*ephGlo)); 239 } 240 else if (ephGal) { 241 _ephs.append(new t_ephGal(*ephGal)); 242 } 243 } 244 } 245 246 }
Note:
See TracChangeset
for help on using the changeset viewer.