0.3.0
Loading...
Searching...
No Matches
NAV::InsTime_YDoySod Struct Reference

GPS year and day of year in GPS standard time [GPST]. More...

Public Member Functions

constexpr InsTime_YDoySod (int32_t year, int32_t doy, long double sod)
 Constructor.
 
 operator std::string () const
 Converts the object into a readable string.
 
constexpr bool operator!= (const InsTime_YDoySod &rhs) const
 Inequal comparison operator (takes double precision into account)
 
constexpr bool operator< (const InsTime_YDoySod &rhs) const
 Smaller comparison operator (takes double precision into account)
 
constexpr bool operator<= (const InsTime_YDoySod &rhs) const
 Smaller or equal comparison operator (takes double precision into account)
 
constexpr bool operator== (const InsTime_YDoySod &rhs) const
 Equal comparison operator (takes double precision into account)
 
constexpr bool operator> (const InsTime_YDoySod &rhs) const
 Greater comparison operator (takes double precision into account)
 
constexpr bool operator>= (const InsTime_YDoySod &rhs) const
 Greater or equal comparison operator (takes double precision into account)
 

Public Attributes

int32_t doy
 Contains day of year in GPS standard time [GPST].
 
long double sod
 Contains second of day in GPS standard time [GPST].
 
int32_t year
 Contains year in GPS standard time [GPST].
 

Detailed Description

GPS year and day of year in GPS standard time [GPST].

Constructor & Destructor Documentation

◆ InsTime_YDoySod()

NAV::InsTime_YDoySod::InsTime_YDoySod ( int32_t year,
int32_t doy,
long double sod )
inlineconstexpr

Constructor.

Parameters
[in]yearYear in GPS standard time [GPST]
[in]doyDay of year in GPS standard time [1-365(/366)]
[in]sodSecond of day in GPS standard time [GPST]

Member Function Documentation

◆ operator!=()

bool NAV::InsTime_YDoySod::operator!= ( const InsTime_YDoySod & rhs) const
inlineconstexpr

Inequal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator<()

bool NAV::InsTime_YDoySod::operator< ( const InsTime_YDoySod & rhs) const
inlineconstexpr

Smaller comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator<=()

bool NAV::InsTime_YDoySod::operator<= ( const InsTime_YDoySod & rhs) const
inlineconstexpr

Smaller or equal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator==()

bool NAV::InsTime_YDoySod::operator== ( const InsTime_YDoySod & rhs) const
inlineconstexpr

Equal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator>()

bool NAV::InsTime_YDoySod::operator> ( const InsTime_YDoySod & rhs) const
inlineconstexpr

Greater comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator>=()

bool NAV::InsTime_YDoySod::operator>= ( const InsTime_YDoySod & rhs) const
inlineconstexpr

Greater or equal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

The documentation for this struct was generated from the following file: