This class stores, reads, and writes Yuma records.
- See also
- tests/Yuma for examples
-
YumaStream.
-
YumaHeader for information on writing Yuma files.
Definition at line 70 of file YumaData.hpp.
#include <YumaData.hpp>
|
static GNSSTK_EXPORT short | nearFullWeek = 0 |
|
static const GNSSTK_EXPORT std::string | sAf0 = "Af0(s):" |
|
static const GNSSTK_EXPORT std::string | sAf1 = "Af1(s/s):" |
|
static const GNSSTK_EXPORT std::string | sArgP = "Argument of Perigee(rad):" |
|
static const GNSSTK_EXPORT std::string | sEcc = "Eccentricity:" |
|
static const GNSSTK_EXPORT std::string | sHlth = "Health:" |
|
static const GNSSTK_EXPORT std::string | sID = "ID:" |
|
static const GNSSTK_EXPORT std::string | sMnAn = "Mean Anom(rad):" |
|
static const GNSSTK_EXPORT std::string | sOrbI = "Orbital Inclination(rad):" |
|
static const GNSSTK_EXPORT std::string | sRRA = "Rate of Right Ascen(r/s):" |
|
static const GNSSTK_EXPORT std::string | sRtAs = "Right Ascen at Week(rad):" |
|
static const GNSSTK_EXPORT std::string | sSqrA = "SQRT(A) (m 1/2):" |
|
static const GNSSTK_EXPORT std::string | sTOA = "Time of Applicability(s):" |
|
static const GNSSTK_EXPORT std::string | sweek = "week:" |
|
◆ YumaData()
gnsstk::YumaData::YumaData |
( |
| ) |
|
|
inline |
◆ ~YumaData()
virtual gnsstk::YumaData::~YumaData |
( |
| ) |
|
|
inlinevirtual |
◆ dump()
void gnsstk::YumaData::dump |
( |
std::ostream & |
s | ) |
const |
|
virtual |
Debug output function. Dump the contents of each of the Yuma class to a given ostream s
.
Reimplemented from gnsstk::FFData.
Definition at line 264 of file YumaData.cpp.
◆ isData()
virtual bool gnsstk::YumaData::isData |
( |
| ) |
const |
|
inlinevirtual |
◆ lineParser()
string gnsstk::YumaData::lineParser |
( |
const std::string & |
line, |
|
|
const std::string & |
s |
|
) |
| const |
|
protected |
◆ operator AlmOrbit()
gnsstk::YumaData::operator AlmOrbit |
( |
| ) |
const |
◆ reallyGetRecord()
void gnsstk::YumaData::reallyGetRecord |
( |
FFStream & |
s | ) |
|
|
protectedvirtual |
This functions obtains a Yuma almanac 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.
- Exceptions
-
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 171 of file YumaData.cpp.
◆ reallyPutRecord()
void gnsstk::YumaData::reallyPutRecord |
( |
FFStream & |
s | ) |
const |
|
protectedvirtual |
Writes a correctly formatted record from this data to stream s.
- Exceptions
-
std::exception | |
FFStreamError | |
StringUtils::StringException | |
Implements gnsstk::FFData.
Definition at line 82 of file YumaData.cpp.
◆ AF0
double gnsstk::YumaData::AF0 |
◆ AF1
double gnsstk::YumaData::AF1 |
◆ Ahalf
double gnsstk::YumaData::Ahalf |
◆ ecc
double gnsstk::YumaData::ecc |
◆ i_offset
double gnsstk::YumaData::i_offset |
◆ i_total
double gnsstk::YumaData::i_total |
◆ M0
double gnsstk::YumaData::M0 |
◆ nearFullWeek
short gnsstk::YumaData::nearFullWeek = 0 |
|
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 83 of file YumaData.hpp.
◆ OMEGA0
double gnsstk::YumaData::OMEGA0 |
◆ OMEGAdot
double gnsstk::YumaData::OMEGAdot |
◆ PRN
short gnsstk::YumaData::PRN |
◆ sAf0
const std::string gnsstk::YumaData::sAf0 = "Af0(s):" |
|
static |
◆ sAf1
const std::string gnsstk::YumaData::sAf1 = "Af1(s/s):" |
|
static |
◆ sArgP
const std::string gnsstk::YumaData::sArgP = "Argument of Perigee(rad):" |
|
static |
◆ sEcc
const std::string gnsstk::YumaData::sEcc = "Eccentricity:" |
|
static |
◆ sHlth
const std::string gnsstk::YumaData::sHlth = "Health:" |
|
static |
◆ sID
const std::string gnsstk::YumaData::sID = "ID:" |
|
static |
◆ sMnAn
const std::string gnsstk::YumaData::sMnAn = "Mean Anom(rad):" |
|
static |
◆ sOrbI
const std::string gnsstk::YumaData::sOrbI = "Orbital Inclination(rad):" |
|
static |
◆ sRRA
const std::string gnsstk::YumaData::sRRA = "Rate of Right Ascen(r/s):" |
|
static |
◆ sRtAs
const std::string gnsstk::YumaData::sRtAs = "Right Ascen at Week(rad):" |
|
static |
◆ sSqrA
const std::string gnsstk::YumaData::sSqrA = "SQRT(A) (m 1/2):" |
|
static |
◆ sTOA
const std::string gnsstk::YumaData::sTOA = "Time of Applicability(s):" |
|
static |
◆ SV_health
short gnsstk::YumaData::SV_health |
◆ sweek
const std::string gnsstk::YumaData::sweek = "week:" |
|
static |
◆ Toa
long gnsstk::YumaData::Toa |
double gnsstk::YumaData::w |
◆ week
short gnsstk::YumaData::week |
◆ xmit_time
long gnsstk::YumaData::xmit_time |
The documentation for this class was generated from the following files: