This class stores, reads, and writes SEM records.
Definition at line 72 of file SEMHeader.hpp.
#include <SEMHeader.hpp>
Public Member Functions | |
virtual void | dump (std::ostream &s) const |
virtual bool | isHeader () const |
This class is a "header" so this function always returns "true". More... | |
SEMHeader () | |
Constructor. More... | |
virtual | ~SEMHeader () |
Destructor. More... | |
![]() | |
virtual | ~SEMBase () |
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 | |
short | numRecords |
std::string | Title |
long | Toa |
short | week |
Static Public Attributes | |
static GNSSTK_EXPORT short | nearFullWeek = 0 |
Protected Member Functions | |
virtual void | reallyGetRecord (FFStream &s) |
virtual void | reallyPutRecord (FFStream &s) const |
|
inline |
Constructor.
Definition at line 76 of file SEMHeader.hpp.
|
inlinevirtual |
Destructor.
Definition at line 79 of file SEMHeader.hpp.
|
virtual |
Debug output function. Dump the contents of each of the SEM header to a given ostream s
.
Reimplemented from gnsstk::FFData.
Definition at line 131 of file SEMHeader.cpp.
|
inlinevirtual |
This class is a "header" so this function always returns "true".
Reimplemented from gnsstk::FFData.
Definition at line 101 of file SEMHeader.hpp.
|
protectedvirtual |
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.
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 79 of file SEMHeader.cpp.
|
protectedvirtual |
Writes a correctly formatted record from this header to stream s.
std::exception | |
StringUtils::StringException | |
FFStreamError |
Implements gnsstk::FFData.
Definition at line 58 of file SEMHeader.cpp.
|
static |
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 85 of file SEMHeader.hpp.
short gnsstk::SEMHeader::numRecords |
Definition at line 87 of file SEMHeader.hpp.
std::string gnsstk::SEMHeader::Title |
Definition at line 88 of file SEMHeader.hpp.
long gnsstk::SEMHeader::Toa |
Definition at line 90 of file SEMHeader.hpp.
short gnsstk::SEMHeader::week |
Definition at line 89 of file SEMHeader.hpp.