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


Definition at line 62 of file AntexHeader.hpp.
Public Types | |
| enum | validBits { versionValid = 0x01, systemValid = 0x02, pcvTypeValid = 0x04, commentValid = 0x08, endValid = 0x080000000, allValid13 = 0x080000007 } |
| Validity bits for the ANTEX Header NB. More... | |
Public Member Functions | |
| AntexHeader () | |
| Default and only constructor. | |
| void | clear () |
| Clear (empty out) header. | |
| virtual | ~AntexHeader () |
| Destructor. | |
| virtual bool | isHeader () const |
| AntexHeader is a "header" so this function always returns true. | |
| virtual void | dump (std::ostream &s) const |
| This is a simple output function. | |
| void | ParseHeaderRecord (std::string &line) throw (FFStreamError) |
| Parse a single header record, and modify valid accordingly. | |
| void | WriteHeaderRecords (FFStream &s) const throw (FFStreamError, StringUtils::StringException) |
| Write all valid header records to the given stream. | |
| bool | isValid () const |
| Return boolean : is this a valid Rinex header? | |
Public Attributes | |
AntexHeaderValues | |
| unsigned long | valid |
| double | version |
| ANTEX VERSION & TYPE. | |
| char | system |
| The ANTEX satellite system. | |
| char | pcvType |
| The PCV type (A:absolute R:relative). | |
| std::string | refAntType |
| Reference antenna type. | |
| std::string | refAntSerNum |
| Reference antenna serial number. | |
| std::vector< std::string > | commentList |
| Comments in header (optional). | |
Static Public Attributes | |
AntexHeaderFormatStrings | |
ANTEX Header Formatting Strings | |
| const std::string | versionString = "ANTEX VERSION / SYST" |
| "ANTEX VERSION / SYST" | |
| const std::string | pcvTypeString = "PCV TYPE / REFANT" |
| "PCV TYPE / REFANT" | |
| const std::string | headerCommentString = "COMMENT" |
| "COMMENT" | |
| const std::string | endOfHeaderString = "END OF HEADER" |
| "END OF HEADER" | |
Protected Member Functions | |
| virtual void | reallyPutRecord (FFStream &s) const throw (std::exception, FFStreamError, StringUtils::StringException) |
| outputs this record to the stream correctly formatted. | |
| virtual void | reallyGetRecord (FFStream &s) throw (std::exception, FFStreamError, StringUtils::StringException) |
| This function retrieves the ANTEX Header from the given FFStream. | |
|
|
Validity bits for the ANTEX Header NB. if version is updated, add allValid<ver> and update isValid()
Definition at line 88 of file AntexHeader.hpp. |
|
|
Default and only constructor.
Definition at line 67 of file AntexHeader.hpp. |
|
|
Destructor.
Definition at line 110 of file AntexHeader.hpp. |
|
|
Clear (empty out) header.
Definition at line 70 of file AntexHeader.hpp. |
|
|
This is a simple output function. It writes the version, name and antenna number of this ANTEX header. Reimplemented from FFData. Definition at line 228 of file AntexHeader.cpp. References AntexHeader::commentList, AntexHeader::pcvType, AntexHeader::refAntSerNum, AntexHeader::refAntType, AntexHeader::system, and AntexHeader::version. |
|
|
AntexHeader is a "header" so this function always returns true.
Reimplemented from FFData. Definition at line 114 of file AntexHeader.hpp. |
|
|
Return boolean : is this a valid Rinex header?
Definition at line 131 of file AntexHeader.hpp. |
|
|
Parse a single header record, and modify valid accordingly. Used by reallyGetRecord for AntexHeader Definition at line 132 of file AntexHeader.cpp. References gpstk::StringUtils::asDouble(), GPSTK_THROW, and gpstk::StringUtils::stripTrailing(). |
|
|
This function retrieves the ANTEX Header from the given FFStream. If an stream error is encountered, the stream is reset to its original position and its fail-bit is set.
Implements FFData. Definition at line 174 of file AntexHeader.cpp. References gpstk::StringUtils::asString(), FFTextStream::formattedGetLine(), GPSTK_RETHROW, GPSTK_THROW, AntexStream::header, AntexStream::headerRead, and gpstk::StringUtils::stripTrailing(). |
|
|
outputs this record to the stream correctly formatted.
Implements FFData. Definition at line 58 of file AntexHeader.cpp. References Exception::addText(), gpstk::StringUtils::asString(), GPSTK_RETHROW, GPSTK_THROW, and AntexStream::header. |
|
|
Write all valid header records to the given stream. Used by reallyPutRecord for AntexHeader Definition at line 89 of file AntexHeader.cpp. References gpstk::StringUtils::asString(), gpstk::StringUtils::leftJustify(), FFTextStream::lineNumber, and gpstk::StringUtils::rightJustify(). |
|
|
Comments in header (optional).
Definition at line 106 of file AntexHeader.hpp. Referenced by AntexHeader::dump(). |
|
|
"END OF HEADER"
Definition at line 56 of file AntexHeader.cpp. |
|
|
"COMMENT"
Definition at line 55 of file AntexHeader.cpp. |
|
|
The PCV type (A:absolute R:relative).
Definition at line 103 of file AntexHeader.hpp. Referenced by AntexHeader::dump(). |
|
|
"PCV TYPE / REFANT"
Definition at line 54 of file AntexHeader.cpp. |
|
|
Reference antenna serial number.
Definition at line 105 of file AntexHeader.hpp. Referenced by AntexHeader::dump(). |
|
|
Reference antenna type.
Definition at line 104 of file AntexHeader.hpp. Referenced by AntexHeader::dump(). |
|
|
The ANTEX satellite system.
Definition at line 102 of file AntexHeader.hpp. Referenced by AntexHeader::dump(). |
|
|
Definition at line 100 of file AntexHeader.hpp. |
|
|
ANTEX VERSION & TYPE.
Definition at line 101 of file AntexHeader.hpp. Referenced by AntexHeader::dump(). |
|
|
"ANTEX VERSION / SYST"
Definition at line 53 of file AntexHeader.cpp. |
1.3.9.1