Go to the documentation of this file.
79 unsigned int PELL=EPPS |
L1L2;
80 unsigned int PEPP=EPPS | P1P2;
81 unsigned int PsLs=
L1L2 | P1P2;
171 strm.exceptions(fstream::failbit);
187 catch(std::exception& e)
189 Exception E(
"std except: "+
string(e.what()));
207 rnstream.
open(
file.c_str(),ios::in);
210 rnstream.exceptions(fstream::failbit);
213 catch(std::exception& e) {
return false;}
218 catch(std::exception& e) {
return false; }
224 catch(std::exception& e) {
225 Exception E(
"std except: "+
string(e.what()));
242 rnstream.
open(
file.c_str(),ios::in);
245 rnstream.exceptions(fstream::failbit);
248 catch(std::exception& e) {
return false; }
253 catch(std::exception& e) {
return false; }
262 catch(std::exception& e)
264 Exception E(
"std except: "+
string(e.what()));
282 rostream.
open(
file.c_str(),ios::in);
285 rostream.exceptions(fstream::failbit);
288 catch(std::exception& e) {
return false; }
294 catch(std::exception& e) {
return false; }
300 catch(std::exception& e) {
301 Exception E(
"std except: "+
string(e.what()));
318 rostream.
open(
file.c_str(),ios::in);
321 rostream.exceptions(fstream::failbit);
324 catch(std::exception& e) {
return false; }
330 catch(std::exception& e) {
return false; }
336 catch(std::exception& e) {
337 Exception E(
"std except: "+
string(e.what()));
351 if(
files.size() <= 1)
return msg;
354 multimap<CommonTime,string> hash;
355 for(
size_t n=0; n<
files.size(); n++) {
359 if(!rostream.is_open()) {
360 msg +=
"Error - Could not open file " +
files[n] +
"\n";
363 rostream.exceptions(fstream::failbit);
367 msg +=
"Error - Invalid header in file " +
files[n] +
"\n";
371 hash.insert(multimap<CommonTime, string>::value_type(
header.firstObs,
376 msg +=
"Error - File "+
files[n]+
" is not a valid RINEX observation file.\n";
383 multimap<CommonTime,string>::const_iterator it = hash.begin();
384 while(it != hash.end()) {
385 files.push_back(it->second);
389 string::size_type
pos(msg.length());
390 if(
pos > 0) msg.erase(
pos-1);
402 if(
files.size() <= 1) { msg = string(
"No input files!");
return msg; }
407 multimap<CommonTime,string> hash;
408 for(
size_t n = 0; n <
files.size(); n++)
413 if(!rostream.is_open()) {
414 msg +=
"Error - Could not open file " +
files[n] +
"\n";
417 rostream.exceptions(fstream::failbit);
421 msg +=
"Error - Invalid header in file " +
files[n] +
"\n";
425 multimap<CommonTime, string>::value_type(
header.firstObs,
files[n])
430 msg +=
"Exception: " + e.
what() +
"\n";
437 multimap<CommonTime,string>::const_iterator it = hash.begin();
438 while(it != hash.end()) {
439 files.push_back(it->second);
444 catch(std::exception& e) {
445 Exception E(
"std except: "+
string(e.what()));
static const GNSSTK_EXPORT unsigned int L1depend
page HOWTO subpage DoxygenGuide Documenting Your Code page DoxygenGuide Documenting Your Code todo Flesh out this document section doctips Tips for Documenting When defining make sure that the prototype is identical between the cpp and hpp file
virtual void open(const char *fn, std::ios::openmode mode)
bool isRinex3ObsFile(const string &file)
static const GNSSTK_EXPORT unsigned int EPdepend
std::string what() const
Dump to a string.
virtual void open(const char *fn, std::ios::openmode mode)
overrides open to reset the header
int RegisterExtendedRinexObsType(string t, string d, string u, unsigned int dep)
static const GNSSTK_EXPORT unsigned int P1depend
page HOWTO subpage DoxygenGuide Documenting Your Code page DoxygenGuide Documenting Your Code todo Flesh out this document section doctips Tips for Documenting When defining make sure that the prototype is identical between the cpp and hpp including both the namespaces and the parameter names for you have std::string as the return type in the hpp file and string as the return type in the cpp Doxygen may get confused and autolink to the cpp version with no documentation If you don t use the same parameter names between the cpp and hpp files
#define GNSSTK_RETHROW(exc)
virtual void open(const char *fn, std::ios::openmode mode)
overrides open to reset the header
virtual void open(const char *fn, std::ios::openmode mode)
bool isSP3File(const string &file)
static const GNSSTK_EXPORT unsigned int L2depend
string sortRinexObsFiles(vector< string > &files)
#define GNSSTK_THROW(exc)
static const GNSSTK_EXPORT unsigned int PSdepend
bool isRinex3NavFile(const string &file)
static const GNSSTK_EXPORT unsigned int P2depend
bool isRinexNavFile(const string &file)
int RegisterARLUTExtendedTypes(void)
bool isRinexObsFile(const string &file)
string sortRinex3ObsFiles(vector< string > &files)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41