This class models the RINEX NAV header for a RINEX NAV file.
Definition at line 63 of file RinexNavHeader.hpp.
#include <RinexNavHeader.hpp>
Public Types | |
enum | validBits { versionValid = 0x01, runByValid = 0x02, commentValid = 0x04, ionAlphaValid = 0x08, ionBetaValid = 0x010, deltaUTCValid = 0x020, leapSecondsValid = 0x040, endValid = 0x080000000, allValid20 = 0x080000003, allValid21 = 0x080000003, allValid211 = 0x080000003 } |
These are validity bits used in checking the RINEX NAV header. More... | |
Public Member Functions | |
virtual void | dump (std::ostream &s) const |
This function dumps the contents of the header. More... | |
virtual bool | isHeader () const |
RinexNavHeader is a "header" so this function always returns true. More... | |
RinexNavHeader () | |
Constructor. More... | |
virtual | ~RinexNavHeader () |
Destructor. More... | |
![]() | |
virtual | ~RinexNavBase () |
in deference to our coding standards, this is declared virtual More... | |
![]() | |
void | getRecord (FFStream &s) |
virtual bool | isData () const |
void | putRecord (FFStream &s) const |
virtual | ~FFData (void) |
virtual desctuctor More... | |
Public Attributes | |
RNDouble | A0 |
RNDouble | A1 |
std::vector< std::string > | commentList |
std::string | date |
std::string | fileAgency |
std::string | fileProgram |
std::string | fileType |
FormattedDouble | ionAlpha [4] |
FormattedDouble | ionBeta [4] |
long | leapSeconds |
long | UTCRefTime |
long | UTCRefWeek |
unsigned long | valid |
Tell me, Am I valid? More... | |
double | version |
RINEX Version. More... | |
Static Public Attributes | |
static const GNSSTK_EXPORT std::string | commentString = "COMMENT" |
static const GNSSTK_EXPORT std::string | deltaUTCString = "DELTA-UTC: A0,A1,T,W" |
static const GNSSTK_EXPORT std::string | endOfHeader = "END OF HEADER" |
static const GNSSTK_EXPORT std::string | ionAlphaString = "ION ALPHA" |
static const GNSSTK_EXPORT std::string | ionBetaString = "ION BETA" |
static const GNSSTK_EXPORT std::string | leapSecondsString = "LEAP SECONDS" |
static const GNSSTK_EXPORT std::string | runByString = "PGM / RUN BY / DATE" |
static const GNSSTK_EXPORT std::string | versionString = "RINEX VERSION / TYPE" |
Protected Member Functions | |
virtual void | reallyGetRecord (FFStream &s) |
virtual void | reallyPutRecord (FFStream &s) const |
These are validity bits used in checking the RINEX NAV header.
Definition at line 82 of file RinexNavHeader.hpp.
gnsstk::RinexNavHeader::RinexNavHeader | ( | ) |
Constructor.
Definition at line 67 of file RinexNavHeader.cpp.
|
inlinevirtual |
Destructor.
Definition at line 70 of file RinexNavHeader.hpp.
|
virtual |
This function dumps the contents of the header.
Reimplemented from gnsstk::FFData.
Definition at line 303 of file RinexNavHeader.cpp.
|
inlinevirtual |
RinexNavHeader is a "header" so this function always returns true.
Reimplemented from gnsstk::FFData.
Definition at line 73 of file RinexNavHeader.hpp.
|
protectedvirtual |
This function reads the RINEX NAV header from the given FFStream. If an error is encountered in reading from the stream, the stream is reset to its original position and its fail-bit is set.
std::exception | |
StringException | when a StringUtils function fails |
FFStreamError | when exceptions(failbit) is set and a read or formatting error occurs. This also resets the stream to its pre-read position. |
Implements gnsstk::FFData.
Definition at line 192 of file RinexNavHeader.cpp.
|
protectedvirtual |
Writes a correctly formatted record from this data to stream s.
std::exception | |
FFStreamError | |
StringUtils::StringException |
Implements gnsstk::FFData.
Definition at line 88 of file RinexNavHeader.cpp.
RNDouble gnsstk::RinexNavHeader::A0 |
Definition at line 113 of file RinexNavHeader.hpp.
RNDouble gnsstk::RinexNavHeader::A1 |
Definition at line 114 of file RinexNavHeader.hpp.
std::vector<std::string> gnsstk::RinexNavHeader::commentList |
Definition at line 110 of file RinexNavHeader.hpp.
|
static |
Definition at line 124 of file RinexNavHeader.hpp.
std::string gnsstk::RinexNavHeader::date |
Definition at line 109 of file RinexNavHeader.hpp.
Definition at line 130 of file RinexNavHeader.hpp.
|
static |
Definition at line 134 of file RinexNavHeader.hpp.
std::string gnsstk::RinexNavHeader::fileAgency |
Definition at line 108 of file RinexNavHeader.hpp.
std::string gnsstk::RinexNavHeader::fileProgram |
Definition at line 107 of file RinexNavHeader.hpp.
std::string gnsstk::RinexNavHeader::fileType |
Definition at line 106 of file RinexNavHeader.hpp.
FormattedDouble gnsstk::RinexNavHeader::ionAlpha[4] |
Definition at line 111 of file RinexNavHeader.hpp.
|
static |
Definition at line 126 of file RinexNavHeader.hpp.
FormattedDouble gnsstk::RinexNavHeader::ionBeta[4] |
Definition at line 112 of file RinexNavHeader.hpp.
|
static |
Definition at line 128 of file RinexNavHeader.hpp.
long gnsstk::RinexNavHeader::leapSeconds |
Definition at line 117 of file RinexNavHeader.hpp.
|
static |
Definition at line 132 of file RinexNavHeader.hpp.
|
static |
Definition at line 122 of file RinexNavHeader.hpp.
long gnsstk::RinexNavHeader::UTCRefTime |
Definition at line 115 of file RinexNavHeader.hpp.
long gnsstk::RinexNavHeader::UTCRefWeek |
Definition at line 116 of file RinexNavHeader.hpp.
unsigned long gnsstk::RinexNavHeader::valid |
Tell me, Am I valid?
Definition at line 79 of file RinexNavHeader.hpp.
double gnsstk::RinexNavHeader::version |
RINEX Version.
Definition at line 104 of file RinexNavHeader.hpp.
|
static |
Definition at line 120 of file RinexNavHeader.hpp.