0.2.0
Loading...
Searching...
No Matches
SatelliteSystem.hpp File Reference

GNSS Satellite System. More...

Go to the source code of this file.

Classes

struct  std::hash< NAV::SatelliteSystem >
 Hash function for SatelliteSystem (needed for unordered_map) More...
 
struct  std::hash< NAV::SatelliteSystem_ >
 Hash function for SatelliteSystem (needed for unordered_map) More...
 
struct  NAV::SatelliteSystem
 Satellite System type. More...
 

Typedefs

using json
 json namespace
 

Enumerations

enum  NAV::SatelliteSystem_ : uint64_t {
  NAV::SatSys_None ,
  NAV::GPS ,
  NAV::GAL ,
  NAV::GLO ,
  NAV::BDS ,
  NAV::QZSS ,
  NAV::IRNSS ,
  NAV::SBAS
}
 Satellite System enumeration. More...
 

Functions

void NAV::from_json (const json &j, SatelliteSystem &data)
 Converts the provided json object into a link object.
 
constexpr bool NAV::operator!= (const SatelliteSystem &lhs, const SatelliteSystem &rhs)
 Inequal compares values.
 
constexpr bool NAV::operator!= (const SatelliteSystem &lhs, const SatelliteSystem_ &rhs)
 Inequal compares values.
 
constexpr bool NAV::operator!= (const SatelliteSystem_ &lhs, const SatelliteSystem &rhs)
 Inequal compares values.
 
constexpr SatelliteSystem NAV::operator& (SatelliteSystem lhs, SatelliteSystem rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator& (SatelliteSystem lhs, SatelliteSystem_ rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator& (SatelliteSystem_ lhs, SatelliteSystem rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator& (SatelliteSystem_ lhs, SatelliteSystem_ rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystemNAV::operator&= (SatelliteSystem &lhs, const SatelliteSystem &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystemNAV::operator&= (SatelliteSystem &lhs, const SatelliteSystem_ &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_NAV::operator&= (SatelliteSystem_ &lhs, const SatelliteSystem &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_NAV::operator&= (SatelliteSystem_ &lhs, const SatelliteSystem_ &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
std::ostream & NAV::operator<< (std::ostream &os, const SatelliteSystem &satSys)
 Stream insertion operator overload.
 
constexpr bool NAV::operator== (const SatelliteSystem &lhs, const SatelliteSystem &rhs)
 Equal compares values.
 
constexpr bool NAV::operator== (const SatelliteSystem &lhs, const SatelliteSystem_ &rhs)
 Equal compares values.
 
constexpr bool NAV::operator== (const SatelliteSystem_ &lhs, const SatelliteSystem &rhs)
 Equal compares values.
 
constexpr SatelliteSystem_ NAV::operator| (SatelliteSystem lhs, SatelliteSystem rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator| (SatelliteSystem lhs, SatelliteSystem_ rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator| (SatelliteSystem_ lhs, SatelliteSystem rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator| (SatelliteSystem_ lhs, SatelliteSystem_ rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystemNAV::operator|= (SatelliteSystem &lhs, const SatelliteSystem &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystemNAV::operator|= (SatelliteSystem &lhs, const SatelliteSystem_ &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_NAV::operator|= (SatelliteSystem_ &lhs, const SatelliteSystem &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_NAV::operator|= (SatelliteSystem_ &lhs, const SatelliteSystem_ &rhs)
 Allows combining flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator~ (SatelliteSystem rhs)
 Allows negating flags of the SatelliteSystem enum.
 
constexpr SatelliteSystem_ NAV::operator~ (SatelliteSystem_ rhs)
 Allows negating flags of the SatelliteSystem enum.
 
void NAV::to_json (json &j, const SatelliteSystem &data)
 Converts the provided link into a json object.
 

Variables

constexpr SatelliteSystem_ NAV::SatSys_All
 All Systems.
 

Detailed Description

GNSS Satellite System.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2022-04-22

Enumeration Type Documentation

◆ SatelliteSystem_

enum NAV::SatelliteSystem_ : uint64_t

Satellite System enumeration.

Enumerator
SatSys_None 

No Satellite system.

GPS 

Global Positioning System.

GAL 

Galileo.

GLO 

Globalnaja nawigazionnaja sputnikowaja sistema (GLONASS)

BDS 

Beidou.

QZSS 

Quasi-Zenith Satellite System.

IRNSS 

Indian Regional Navigation Satellite System.

SBAS 

Satellite Based Augmentation System.

Function Documentation

◆ from_json()

void NAV::from_json ( const json & j,
SatelliteSystem & data )

Converts the provided json object into a link object.

Parameters
[in]jJson object with the needed values
[out]dataObject to fill from the json

◆ operator!=() [1/3]

constexpr bool NAV::operator!= ( const SatelliteSystem & lhs,
const SatelliteSystem & rhs )
constexpr

Inequal compares values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator!=() [2/3]

constexpr bool NAV::operator!= ( const SatelliteSystem & lhs,
const SatelliteSystem_ & rhs )
constexpr

Inequal compares values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator!=() [3/3]

constexpr bool NAV::operator!= ( const SatelliteSystem_ & lhs,
const SatelliteSystem & rhs )
constexpr

Inequal compares values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator&() [1/4]

constexpr SatelliteSystem NAV::operator& ( SatelliteSystem lhs,
SatelliteSystem rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&() [2/4]

constexpr SatelliteSystem_ NAV::operator& ( SatelliteSystem lhs,
SatelliteSystem_ rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&() [3/4]

constexpr SatelliteSystem_ NAV::operator& ( SatelliteSystem_ lhs,
SatelliteSystem rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&() [4/4]

constexpr SatelliteSystem_ NAV::operator& ( SatelliteSystem_ lhs,
SatelliteSystem_ rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&=() [1/4]

constexpr SatelliteSystem & NAV::operator&= ( SatelliteSystem & lhs,
const SatelliteSystem & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&=() [2/4]

constexpr SatelliteSystem & NAV::operator&= ( SatelliteSystem & lhs,
const SatelliteSystem_ & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&=() [3/4]

constexpr SatelliteSystem_ & NAV::operator&= ( SatelliteSystem_ & lhs,
const SatelliteSystem & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator&=() [4/4]

constexpr SatelliteSystem_ & NAV::operator&= ( SatelliteSystem_ & lhs,
const SatelliteSystem_ & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ANDed value.

◆ operator<<()

std::ostream & NAV::operator<< ( std::ostream & os,
const SatelliteSystem & satSys )

Stream insertion operator overload.

Parameters
[in,out]osOutput stream object to stream the time into
[in]satSysObject to print
Returns
Returns the output stream object in order to chain stream insertions

◆ operator==() [1/3]

constexpr bool NAV::operator== ( const SatelliteSystem & lhs,
const SatelliteSystem & rhs )
constexpr

Equal compares values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator==() [2/3]

constexpr bool NAV::operator== ( const SatelliteSystem & lhs,
const SatelliteSystem_ & rhs )
constexpr

Equal compares values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator==() [3/3]

constexpr bool NAV::operator== ( const SatelliteSystem_ & lhs,
const SatelliteSystem & rhs )
constexpr

Equal compares values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator|() [1/4]

constexpr SatelliteSystem_ NAV::operator| ( SatelliteSystem lhs,
SatelliteSystem rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|() [2/4]

constexpr SatelliteSystem_ NAV::operator| ( SatelliteSystem lhs,
SatelliteSystem_ rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|() [3/4]

constexpr SatelliteSystem_ NAV::operator| ( SatelliteSystem_ lhs,
SatelliteSystem rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|() [4/4]

constexpr SatelliteSystem_ NAV::operator| ( SatelliteSystem_ lhs,
SatelliteSystem_ rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|=() [1/4]

constexpr SatelliteSystem & NAV::operator|= ( SatelliteSystem & lhs,
const SatelliteSystem & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|=() [2/4]

constexpr SatelliteSystem & NAV::operator|= ( SatelliteSystem & lhs,
const SatelliteSystem_ & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|=() [3/4]

constexpr SatelliteSystem_ & NAV::operator|= ( SatelliteSystem_ & lhs,
const SatelliteSystem & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator|=() [4/4]

constexpr SatelliteSystem_ & NAV::operator|= ( SatelliteSystem_ & lhs,
const SatelliteSystem_ & rhs )
constexpr

Allows combining flags of the SatelliteSystem enum.

Parameters
[in]lhsLeft-hand side enum value.
[in]rhsRight-hand side enum value.
Returns
The binary ORed value.

◆ operator~() [1/2]

constexpr SatelliteSystem_ NAV::operator~ ( SatelliteSystem rhs)
constexpr

Allows negating flags of the SatelliteSystem enum.

Parameters
[in]rhsRight-hand side enum value.
Returns
The binary NEGed value.

◆ operator~() [2/2]

constexpr SatelliteSystem_ NAV::operator~ ( SatelliteSystem_ rhs)
constexpr

Allows negating flags of the SatelliteSystem enum.

Parameters
[in]rhsRight-hand side enum value.
Returns
The binary NEGed value.

◆ to_json()

void NAV::to_json ( json & j,
const SatelliteSystem & data )

Converts the provided link into a json object.

Parameters
[out]jJson object which gets filled with the info
[in]dataData to convert into json