This class reads RINEX files.
Definition at line 67 of file RinexObsStream.hpp.
#include <RinexObsStream.hpp>
Public Member Functions | |
virtual void | open (const char *fn, std::ios::openmode mode) |
virtual void | open (const std::string &fn, std::ios::openmode mode) |
RinexObsStream () | |
Default constructor. More... | |
RinexObsStream (const char *fn, std::ios::openmode mode=std::ios::in) | |
RinexObsStream (const std::string fn, std::ios::openmode mode=std::ios::in) | |
virtual | ~RinexObsStream () |
Destructor. More... | |
![]() | |
FFTextStream () | |
Default constructor. More... | |
FFTextStream (const char *fn, std::ios::openmode mode=std::ios::in) | |
FFTextStream (const std::string &fn, std::ios::openmode mode=std::ios::in) | |
void | formattedGetLine (std::string &line, const bool expectEOF=false) |
virtual | ~FFTextStream () |
Destructor. More... | |
![]() | |
void | conditionalThrow (void) |
void | dumpState (std::ostream &s=std::cout) const |
A function to help debug FFStreams. More... | |
FFStream () | |
Default constructor, initialize internal data. More... | |
FFStream (const char *fn, std::ios::openmode mode=std::ios::in) | |
FFStream (const std::string &fn, std::ios::openmode mode=std::ios::in) | |
virtual | ~FFStream () |
Virtual destructor, close the stream etc. More... | |
Static Public Member Functions | |
static bool | isRinexObsStream (std::istream &i) |
Check if the input stream is the kind of RinexObsStream. More... | |
![]() | |
static bool | isFFStream (std::istream &i) |
Check if the input stream is the kind of RinexObsStream. More... | |
Public Attributes | |
RinexObsHeader | header |
The header for this file. More... | |
bool | headerRead |
Whether or not the RinexObsHeader has been read. More... | |
![]() | |
unsigned int | lineNumber |
![]() | |
std::string | filename |
file name More... | |
FFStreamError | mostRecentException |
This stores the most recently thrown exception. More... | |
unsigned int | recordNumber |
keeps track of the number of records read More... | |
Private Member Functions | |
void | init () |
Additional Inherited Members | |
![]() | |
virtual void | tryFFStreamGet (FFData &rec) |
virtual void | tryFFStreamPut (const FFData &rec) |
gnsstk::RinexObsStream::RinexObsStream | ( | ) |
Default constructor.
Definition at line 49 of file RinexObsStream.cpp.
gnsstk::RinexObsStream::RinexObsStream | ( | const char * | fn, |
std::ios::openmode | mode = std::ios::in |
||
) |
Common constructor.
[in] | fn | the RINEX file to open |
[in] | mode | how to open fn. |
Definition at line 56 of file RinexObsStream.cpp.
gnsstk::RinexObsStream::RinexObsStream | ( | const std::string | fn, |
std::ios::openmode | mode = std::ios::in |
||
) |
Common constructor.
[in] | fn | the RINEX file to open |
[in] | mode | how to open fn. |
Definition at line 65 of file RinexObsStream.cpp.
|
virtual |
Destructor.
Definition at line 74 of file RinexObsStream.cpp.
|
private |
Definition at line 113 of file RinexObsStream.cpp.
|
static |
Check if the input stream is the kind of RinexObsStream.
Definition at line 97 of file RinexObsStream.cpp.
|
virtual |
Overrides open to reset the header
[in] | fn | the RINEX file to open |
[in] | mode | how to open fn. |
Reimplemented from gnsstk::FFTextStream.
Definition at line 80 of file RinexObsStream.cpp.
|
virtual |
Overrides open to reset the header
[in] | fn | the RINEX file to open |
[in] | mode | how to open fn. |
Reimplemented from gnsstk::FFTextStream.
Definition at line 89 of file RinexObsStream.cpp.
RinexObsHeader gnsstk::RinexObsStream::header |
The header for this file.
Definition at line 112 of file RinexObsStream.hpp.
bool gnsstk::RinexObsStream::headerRead |
Whether or not the RinexObsHeader has been read.
Definition at line 109 of file RinexObsStream.hpp.