Go to the documentation of this file.
39 #ifndef GNSSTK_GPSWEEKZCOUNT_HPP
40 #define GNSSTK_GPSWEEKZCOUNT_HPP
59 static const unsigned int bits19 = 0x7FFFF;
126 virtual std::string
printf(
const std::string& fmt )
const;
130 virtual std::string
printError(
const std::string& fmt)
const;
199 return ( GPSWeek::operator==(right) &&
zcount == right.
zcount );
204 return ( !
operator==( right ) );
209 if( GPSWeek::operator<(right) )
213 if( GPSWeek::operator>(right) )
226 return ( !
operator<=( right ) );
231 return (
operator<( right ) ||
operator==( right ) );
236 return ( !
operator<( right ) );
367 unsigned long inZcountBlock,
368 unsigned long inZcountOffset = 0)
378 #endif // GNSSTK_GPSWEEKZCOUNT_HPP
GPSWeekZcount & addWeeks(short inWeeks)
GPSWeekZcount operator+(long inZcounts) const
unsigned int getZcount32() const
virtual std::string getDefaultFormat() const
Return a string containing the default format to use in printing.
unsigned long getTotalZcounts() const noexcept
virtual std::string getDefaultFormat() const
Return a string containing the default format to use in printing.
virtual void reset()
Reset this object to the default state.
virtual void convertFromCommonTime(const CommonTime &ct)
GPSWeekZcount & setZcount32(unsigned int z)
virtual bool isValid() const
Returns true if this object's members are valid, false otherwise.
virtual void reset()
Reset this object to the default state.
virtual unsigned int getDayOfWeek() const
Force this interface on this classes descendants.
virtual ~GPSWeekZcount()
Virtual Destructor.
GPSWeekZcount & operator--()
virtual unsigned int getWeek10() const
bool operator<=(const GPSWeekZcount &right) const
virtual CommonTime convertToCommonTime() const
virtual std::string getPrintChars() const
static const unsigned int bits19
This is just a 19-bit mask.
unsigned int getZcount29() const
virtual std::string printf(const std::string &fmt) const
GPSWeekZcount operator-(long inZcounts) const
GPSWeekZcount & operator-=(long inZcounts)
bool operator==(const GPSWeekZcount &right) const
GPSWeekZcount & operator+=(long inZcounts)
TimeSystem
Definition of various time systems.
GPSWeekZcount(int w=0, int z=0, TimeSystem ts=TimeSystem::GPS)
bool operator!=(const GPSWeekZcount &right) const
virtual bool isValid() const
Returns true if this object's members are valid, false otherwise.
GPSWeekZcount & operator++()
virtual std::string getPrintChars() const
virtual bool setFromInfo(const IdToValue &info)
GPSWeekZcount(const GPSWeekZcount &right)
virtual std::string printError(const std::string &fmt) const
bool inSameTimeBlock(const GPSWeekZcount &other, unsigned long inZcountBlock, unsigned long inZcountOffset=0) noexcept
GPSWeekZcount(const TimeTag &right)
bool operator<(const GPSWeekZcount &right) const
const long ZCOUNT_PER_DAY
Zcounts in a day.
bool operator>=(const GPSWeekZcount &right) const
const long ZCOUNT_PER_WEEK
Zcounts in a week.
GPSWeekZcount & setZcount29(unsigned int z)
GPSWeekZcount & operator=(const GPSWeekZcount &right)
GPSWeekZcount & addZcounts(long inZcounts)
GPSWeekZcount(const CommonTime &right)
bool operator>(const GPSWeekZcount &right) const
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39