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


gpstk::RinexNavData and gpstk::RinexNavStream classes.
Definition at line 68 of file 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 | |
| RinexNavHeader (void) | |
| Constructor. | |
| virtual | ~RinexNavHeader () |
| Destructor. | |
| virtual bool | isHeader (void) const |
| RinexNavHeader is a "header" so this function always returns true. | |
| virtual void | dump (std::ostream &s) const |
| This function dumps the contents of the header. | |
Public Attributes | |
| unsigned long | valid |
| Tell me, Am I valid? | |
HeaderValues | |
| double | version |
| RINEX Version. | |
| std::string | fileType |
| std::string | fileProgram |
| std::string | fileAgency |
| std::string | date |
| std::vector< std::string > | commentList |
| double | ionAlpha [4] |
| double | ionBeta [4] |
| double | A0 |
| double | A1 |
| long | UTCRefTime |
| long | UTCRefWeek |
| long | leapSeconds |
Static Public Attributes | |
FormattingStd::Strings | |
| const std::string | versionString = "RINEX VERSION / TYPE" |
| const std::string | runByString = "PGM / RUN BY / DATE" |
| const std::string | commentString = "COMMENT" |
| const std::string | ionAlphaString = "ION ALPHA" |
| const std::string | ionBetaString = "ION BETA" |
| const std::string | deltaUTCString = "DELTA-UTC: A0,A1,T,W" |
| const std::string | leapSecondsString = "LEAP SECONDS" |
| const std::string | endOfHeader = "END OF HEADER" |
Protected Member Functions | |
| virtual void | reallyPutRecord (FFStream &s) const throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) |
| Writes a correctly formatted record from this data to stream s. | |
| virtual void | reallyGetRecord (FFStream &s) throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) |
| This function reads the RINEX NAV header from the given FFStream. | |
|
|
These are validity bits used in checking the RINEX NAV header.
Definition at line 87 of file RinexNavHeader.hpp. |
|
|
Constructor.
Definition at line 72 of file RinexNavHeader.hpp. |
|
|
Destructor.
Definition at line 75 of file RinexNavHeader.hpp. |
|
|
This function dumps the contents of the header.
Reimplemented from FFData. Definition at line 300 of file RinexNavHeader.cpp. References RinexNavHeader::A0, RinexNavHeader::A1, RinexNavHeader::commentList, RinexNavHeader::date, RinexNavHeader::fileAgency, RinexNavHeader::fileProgram, RinexNavHeader::fileType, RinexNavHeader::ionAlpha, RinexNavHeader::ionBeta, RinexNavHeader::leapSeconds, RinexNavHeader::UTCRefTime, RinexNavHeader::UTCRefWeek, RinexNavHeader::valid, and RinexNavHeader::version. Referenced by main(). |
|
|
RinexNavHeader is a "header" so this function always returns true.
Reimplemented from FFData. Definition at line 78 of file RinexNavHeader.hpp. |
|
|
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.
Implements FFData. Definition at line 189 of file RinexNavHeader.cpp. References A1, gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), gpstk::StringUtils::asString(), gpstk::StringUtils::for2doub(), FFTextStream::formattedGetLine(), GPSTK_THROW, RinexNavStream::header, RinexNavStream::headerRead, FFTextStream::lineNumber, gpstk::StringUtils::strip(), and gpstk::StringUtils::stripTrailing(). |
|
|
Writes a correctly formatted record from this data to stream s.
Implements FFData. Definition at line 73 of file RinexNavHeader.cpp. References A1, Exception::addText(), gpstk::StringUtils::asString(), gpstk::StringUtils::doub2for(), GPSTK_THROW, RinexNavStream::header, gpstk::StringUtils::leftJustify(), FFTextStream::lineNumber, DayTime::printf(), gpstk::StringUtils::rightJustify(), and DayTime::setLocalTime(). |
|
|
Definition at line 121 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 122 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 118 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(), and RinexNavHeaderTouchHeaderMerge::operator()(). |
|
|
Definition at line 69 of file RinexNavHeader.cpp. |
|
|
Definition at line 117 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 66 of file RinexNavHeader.cpp. |
|
|
Definition at line 64 of file RinexNavHeader.cpp. |
|
|
Definition at line 116 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 115 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 114 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 119 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 68 of file RinexNavHeader.cpp. |
|
|
Definition at line 120 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 67 of file RinexNavHeader.cpp. |
|
|
Definition at line 125 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 65 of file RinexNavHeader.cpp. |
|
|
Definition at line 70 of file RinexNavHeader.cpp. |
|
|
Definition at line 123 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Definition at line 124 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
Tell me, Am I valid?
Definition at line 84 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(). |
|
|
RINEX Version.
Definition at line 112 of file RinexNavHeader.hpp. Referenced by RinexNavHeader::dump(), and RinexNavData::reallyPutRecord(). |
|
|
Definition at line 71 of file RinexNavHeader.cpp. |
1.3.9.1