#include <SP3Stream.hpp>
Inheritance diagram for SP3Stream:


Note that the file format (a, b or c) is stored in the SP3Header (only). On input it is set by SP3Header::reallyGetRecord() by the file content; for output it may be set (SP3Header::setVersion()) before streaming.
Definition at line 60 of file SP3Stream.hpp.
Public Member Functions | |
| SP3Stream () | |
| Default constructor. | |
| SP3Stream (const char *filename, std::ios::openmode mode=std::ios::in) | |
| Common constructor: open (default: to read). | |
| virtual | ~SP3Stream () |
| destructor; override to force 'close' | |
| virtual void | close (void) throw (Exception) |
| override close() to write EOF line | |
| virtual void | open (const char *filename, std::ios::openmode mode) |
| override open() to reset the header | |
Public Attributes | |
data members | |
| SP3Header | header |
| SP3Header for this file. | |
| bool | wroteEOF |
| True if the final 'EOF' has been read. | |
| bool | writingMode |
| True if the stream is open in 'out', not 'in', mode. | |
| CommonTime | currentEpoch |
| Time from last epoch record read. | |
| std::string | lastLine |
| Last line read, perhaps not yet processed. | |
| std::vector< std::string > | warnings |
| warnings produced by reallyGetRecord()s | |
|
|
Default constructor.
Definition at line 64 of file SP3Stream.hpp. |
|
||||||||||||
|
Common constructor: open (default: to read).
Definition at line 73 of file SP3Stream.hpp. |
|
|
destructor; override to force 'close'
Definition at line 79 of file SP3Stream.hpp. |
|
|
override close() to write EOF line
Definition at line 85 of file SP3Stream.hpp. References gpstk::ge(), and GPSTK_THROW. Referenced by SP3EphemerisStore::loadFile(), and main(). |
|
||||||||||||
|
override open() to reset the header
Reimplemented from FFTextStream. Definition at line 104 of file SP3Stream.hpp. Referenced by SP3EphemerisStore::loadFile(), and main(). |
|
|
Time from last epoch record read.
Definition at line 125 of file SP3Stream.hpp. Referenced by SP3Data::reallyGetRecord(). |
|
|
SP3Header for this file.
Definition at line 122 of file SP3Stream.hpp. Referenced by SP3Header::reallyGetRecord(), SP3Data::reallyGetRecord(), SP3Header::reallyPutRecord(), and SP3Data::reallyPutRecord(). |
|
|
Last line read, perhaps not yet processed.
Definition at line 126 of file SP3Stream.hpp. Referenced by SP3Data::reallyGetRecord(). |
|
|
warnings produced by reallyGetRecord()s
Definition at line 127 of file SP3Stream.hpp. Referenced by SP3Data::reallyGetRecord(). |
|
|
True if the stream is open in 'out', not 'in', mode.
Definition at line 124 of file SP3Stream.hpp. |
|
|
True if the final 'EOF' has been read.
Definition at line 123 of file SP3Stream.hpp. |
1.3.9.1