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


Definition at line 57 of file SEMHeader.hpp.
Public Member Functions | |
| SEMHeader () | |
| Constructor. | |
| virtual | ~SEMHeader () |
| Destructor. | |
| virtual void | dump (std::ostream &s) const |
| Debug output function. | |
| virtual bool | isHeader () const |
| This class is a "header" so this function always returns "true". | |
Public Attributes | |
| short | numRecords |
| std::string | Title |
| short | week |
| long | Toa |
Static Public Attributes | |
| short | nearFullWeek = 0 |
| This is is the nearest full GPS week to the 10-bit week available in the SEM file. | |
Protected Member Functions | |
| virtual void | reallyPutRecord (FFStream &s) const throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) |
| Writes a correctly formatted record from this header to stream s. | |
| virtual void | reallyGetRecord (FFStream &s) throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) |
| This functions obtains a SEM header record from the given FFStream. | |
|
|
Constructor.
Definition at line 61 of file SEMHeader.hpp. |
|
|
Destructor.
Definition at line 64 of file SEMHeader.hpp. |
|
|
Debug output function.
Dump the contents of each of the SEM header to a given ostream Reimplemented from FFData. Definition at line 103 of file SEMHeader.cpp. References SEMHeader::numRecords, SEMHeader::Title, SEMHeader::Toa, and SEMHeader::week. |
|
|
This class is a "header" so this function always returns "true".
Reimplemented from FFData. Definition at line 86 of file SEMHeader.hpp. |
|
|
This functions obtains a SEM header record from the given FFStream. If there is an error in reading from the stream, it is reset to its original position and its fail-bit is set.
Implements FFData. Definition at line 67 of file SEMHeader.cpp. References gpstk::StringUtils::asInt(), FFTextStream::formattedGetLine(), SEMStream::header, and SEMStream::headerRead. |
|
|
Writes a correctly formatted record from this header to stream s.
Implements FFData. Definition at line 44 of file SEMHeader.cpp. References gpstk::StringUtils::leftJustify(), and gpstk::StringUtils::rightJustify(). |
|
|
This is is the nearest full GPS week to the 10-bit week available in the SEM file. If this value is 0 it is ignored. Otherwise, the 10-bit week is moved into the GPS Epoch centered on the given full week. Definition at line 42 of file SEMHeader.cpp. |
|
|
Definition at line 72 of file SEMHeader.hpp. Referenced by SEMHeader::dump(). |
|
|
Definition at line 73 of file SEMHeader.hpp. Referenced by SEMHeader::dump(). |
|
|
Definition at line 75 of file SEMHeader.hpp. Referenced by SEMHeader::dump(), and SEMData::reallyGetRecord(). |
|
|
Definition at line 74 of file SEMHeader.hpp. Referenced by SEMHeader::dump(), SEMAlmanacStore::loadFile(), and SEMData::reallyGetRecord(). |
1.3.9.1