Changeset 4006 in ntrip
- Timestamp:
- Apr 22, 2012, 11:55:35 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r4004 r4006 231 231 t_rnxNavFile rnxNavFile(fileName, t_rnxNavFile::input); 232 232 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 233 t_eph* eph = rnxNavFile.ephs()[ii]; 234 t_ephGPS* ephGPS = dynamic_cast<t_ephGPS*>(eph); 235 t_ephGlo* ephGlo = dynamic_cast<t_ephGlo*>(eph); 236 t_ephGal* ephGal = dynamic_cast<t_ephGal*>(eph); 237 if (ephGPS) { 238 _ephs.append(new t_ephGPS(*ephGPS)); 239 } 240 else if (ephGlo) { 241 _ephs.append(new t_ephGlo(*ephGlo)); 242 } 243 else if (ephGal) { 244 _ephs.append(new t_ephGal(*ephGal)); 233 t_eph* eph = rnxNavFile.ephs()[ii]; 234 if (eph->type() == t_eph::GPS) { 235 _ephs.append(new t_ephGPS(*dynamic_cast<t_ephGPS*>(eph))); 236 } 237 else if (eph->type() == t_eph::GLONASS) { 238 _ephs.append(new t_ephGlo(*dynamic_cast<t_ephGlo*>(eph))); 239 } 240 else if (eph->type() == t_eph::Galileo) { 241 _ephs.append(new t_ephGal(*dynamic_cast<t_ephGal*>(eph))); 245 242 } 246 243 }
Note:
See TracChangeset
for help on using the changeset viewer.