This class performs file I/O on an RINEX Clock format file for the Rinex3ClockHeader and Rinex3ClockData classes.
Definition at line 59 of file Rinex3ClockStream.hpp.
#include <Rinex3ClockStream.hpp>
Public Member Functions | |
virtual void | open (const char *filename, std::ios::openmode mode) |
Rinex3ClockStream () | |
Default constructor. More... | |
Rinex3ClockStream (const char *filename, std::ios::openmode mode=std::ios::in) | |
virtual | ~Rinex3ClockStream () |
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 | |
bool | headerRead |
true if 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 () |
initialize internal data structures More... | |
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::Rinex3ClockStream::Rinex3ClockStream | ( | ) |
Default constructor.
Definition at line 49 of file Rinex3ClockStream.cpp.
gnsstk::Rinex3ClockStream::Rinex3ClockStream | ( | const char * | filename, |
std::ios::openmode | mode = std::ios::in |
||
) |
Common constructor: open (default: read mode)
[in] | filename | the name of the ASCII Rinex3Clock format file to be opened |
[in] | mode | the ios::openmode to be used |
Definition at line 55 of file Rinex3ClockStream.cpp.
|
virtual |
destructor
Definition at line 63 of file Rinex3ClockStream.cpp.
|
private |
initialize internal data structures
Definition at line 76 of file Rinex3ClockStream.cpp.
|
virtual |
override open() to reset the header
[in] | filename | the name of the ASCII RINEX Clock format file |
[in] | mode | the ios::openmode to be used |
Reimplemented from gnsstk::FFTextStream.
Definition at line 68 of file Rinex3ClockStream.cpp.
bool gnsstk::Rinex3ClockStream::headerRead |
true if the header has been read
Definition at line 80 of file Rinex3ClockStream.hpp.