Go to the documentation of this file.
41 #ifndef CLASS_GEOMATIC_SATELLITE_ID_INCLUDE
42 #define CLASS_GEOMATIC_SATELLITE_ID_INCLUDE
44 #include "gnsstk_export.h"
125 return (
id < right.
id);
146 return (
operator<(right) ||
operator==(right));
152 return (!
operator<(right) && !
operator==(right));
219 std::istringstream iss(s);
223 if (s.find_first_not_of(std::string(
" \t\n"), 0) == std::string::npos)
283 Exception e(std::string(
"Invalid system character \"") + c +
297 std::ostringstream oss;
299 oss <<
systemChar() << std::setw(2) <<
id << std::setfill(savechar);
@ IRNSS
Official name changed from IRNSS to NavIC.
int id
Satellite identifier, e.g. PRN.
bool operator>=(const GSatID &right) const
boolean operator>=
bool operator<(const GSatID &right) const
operator< (used by STL to sort)
bool operator<=(const GSatID &right) const
boolean operator<=
void fromString(const std::string &s)
GSatID(int p, SatelliteSystem s)
explicit constructor, no defaults
static GNSSTK_EXPORT char fillchar
fill character used during stream output
SatelliteSystem
Supported satellite systems.
bool operator==(const GSatID &right) const
operator ==
GSatID(const SatID &sat)
cast SatID to GSatID
char setfill(char c)
set the fill character used in output return the current fill character
GSatID()
empty constructor, creates an invalid object
std::string toString() const
convert to string
bool operator>(const GSatID &right) const
boolean operator>
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
char systemChar() const
return the single-character system descriptor
bool operator!=(const GSatID &right) const
boolean operator!=
#define GNSSTK_RETHROW(exc)
SatelliteSystem system
System for this satellite.
std::string systemString() const
return string describing system
#define GNSSTK_THROW(exc)
char getfill()
get the fill character used in output
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39