Go to the documentation of this file.
56 #include "gnsstk_export.h"
74 std::string
asString(
const ObsID&
id);
79 std::ostream&
operator<<(std::ostream& s,
const ObsID& p);
148 {
return (!
operator<(right) && !
operator==(right)); };
151 {
return (
operator<(right) ||
operator==(right)); };
157 virtual std::ostream&
dump(std::ostream& s)
const;
182 mcode = (
mcode & ~newmask) | (newval & newmask);
216 GNSSTK_EXPORT
static std::map< TrackingCode, std::string >
tcDesc;
217 GNSSTK_EXPORT
static std::map< CarrierBand, std::string >
cbDesc;
218 GNSSTK_EXPORT
static std::map< ObservationType, std::string >
otDesc;
228 friend class ::ObsID_T;
XmitAnt xmitAnt
Identify the transmitting antenna.
void maskMcodeBits(uint32_t newval, uint32_t newmask)
virtual ~ObsID()
Destructor.
bool isWild() const
Return true if any of the data are wildcard values.
static std::string getDescCB(CarrierBand e)
SWIG accessor. Not overloaded, because SWIG.
uint32_t getMcodeMask() const
Return the value of mcodeMask.
virtual bool operator<(const ObsID &right) const
@ Any
Used to match any carrier band.
static GNSSTK_EXPORT std::map< TrackingCode, std::string > tcDesc
These strings are for forming a somewhat verbose description.
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
void clearMcodeMask(uint32_t clearmask)
Clear bits in mcodeMask that are set in clearmask.
ObsID(ObservationType ot, CarrierBand cb, TrackingCode tc, XmitAnt transmitter=XmitAnt::Any)
@ Standard
Transmitting antenna is the primary for that signal.
@ Unknown
Unknown or uninitialized stategy value.
ObsID(ObservationType ot, CarrierBand cb, TrackingCode tc, int fo, XmitAnt transmitter=XmitAnt::Any, bool fw=false)
void setMcodeBits(uint32_t newval, uint32_t newmask=-1)
Set the value of mcode while simultaneously setting the mask.
ObsID(ObservationType ot, CarrierBand cb, TrackingCode tc, int fo, uint32_t mc, XmitAnt transmitter=XmitAnt::Standard, bool fw=false)
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
bool operator>(const ObsID &right) const
virtual bool operator==(const ObsID &right) const
Equality requires all fields to be the same.
uint32_t getMcodeBits() const
Return the value of mcode.
static GNSSTK_EXPORT std::map< ObservationType, std::string > otDesc
bool freqOffsWild
True=Treat freqOffs as a wildcard when matching.
uint32_t mcodeMask
Bitmask for matching mcode.
int freqOffs
GLONASS frequency offset.
bool operator<=(const ObsID &right) const
uint32_t mcode
Data to uniquely identify M-code signal.
virtual std::ostream & dump(std::ostream &s) const
Convenience output method.
void makeWild()
Set all data to wildcard values.
bool operator!=(const ObsID &right) const
bool operator>=(const ObsID &right) const
static GNSSTK_EXPORT std::map< CarrierBand, std::string > cbDesc
static std::string getDescOT(ObservationType e)
SWIG accessor. Not overloaded, because SWIG.
@ Any
When making comparisons in ObsID, matches any enumeration.
static std::string getDescTC(TrackingCode e)
SWIG accessor. Not overloaded, because SWIG.
void setMcodeMask(uint32_t newmask=-1)
Set the value of mcodeMask on its own.
static GNSSTK_EXPORT bool verbose
ObservationType
The type of observation, mostly used by ObsID.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40