This class performs file i/o on a RINEX NAV file.
Definition at line 61 of file RinexNavStream.hpp.
#include <RinexNavStream.hpp>
Public Member Functions | |
virtual void | open (const char *fn, std::ios::openmode mode) |
overrides open to reset the header More... | |
RinexNavStream () | |
Default constructor. More... | |
RinexNavStream (const char *fn, std::ios::openmode mode=std::ios::in) | |
virtual | ~RinexNavStream () |
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 void | open (const std::string &fn, std::ios::openmode mode) |
Overrides open to reset the line number. More... | |
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... | |
Public Attributes | |
RinexNavHeader | header |
RINEX NAV header for this file. More... | |
bool | headerRead |
Flag showing whether or not the header 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 | |
![]() | |
static bool | isFFStream (std::istream &i) |
Check if the input stream is the kind of RinexObsStream. More... | |
![]() | |
virtual void | tryFFStreamGet (FFData &rec) |
virtual void | tryFFStreamPut (const FFData &rec) |
gnsstk::RinexNavStream::RinexNavStream | ( | ) |
Default constructor.
Definition at line 49 of file RinexNavStream.cpp.
gnsstk::RinexNavStream::RinexNavStream | ( | const char * | fn, |
std::ios::openmode | mode = std::ios::in |
||
) |
Constructor Opens a file named fn using ios::openmode mode.
Definition at line 56 of file RinexNavStream.cpp.
|
virtual |
Destructor.
Definition at line 64 of file RinexNavStream.cpp.
|
private |
Definition at line 78 of file RinexNavStream.cpp.
|
virtual |
overrides open to reset the header
Reimplemented from gnsstk::FFTextStream.
Definition at line 70 of file RinexNavStream.cpp.
RinexNavHeader gnsstk::RinexNavStream::header |
RINEX NAV header for this file.
Definition at line 79 of file RinexNavStream.hpp.
bool gnsstk::RinexNavStream::headerRead |
Flag showing whether or not the header has been read.
Definition at line 82 of file RinexNavStream.hpp.