![]() |
0.5.0
|
Enumerate for GNSS Codes. More...
Public Member Functions | |
| constexpr | Code ()=default |
| Default constructor for an empty code. | |
| constexpr | Code (const Set &set) |
| Constructor from a biset. | |
| Code (const std::string &str) | |
| Constructor from String representation. | |
| Code (Enum e) | |
| Constructor from a single code value. | |
| Code (Frequency_ freq) | |
| Constructor from a frequency. | |
| Code (SatelliteSystem_ sys) | |
| Constructor from a satellite system. | |
| const char * | getDescription () const |
| Returns a short description for the code. | |
| Enum | getEnumValue () const |
| Returns the enum value for the code (only one must be set) | |
| Frequency | getFrequency () const |
| Returns the frequency for the code. | |
| operator bool () const | |
| Implicit bool conversion operator. Allows if(...) | |
| constexpr | operator Set () const |
| std::bitset conversion operator | |
| operator std::string () const | |
| std::string conversion operator | |
| Code & | operator&= (const Code &rhs) |
| Allows combining flags of the Code enum. | |
| Code & | operator&= (const Enum &rhs) |
| Allows combining flags of the Code enum. | |
| Code & | operator&= (const Frequency &rhs) |
| Allows filtering Code with Frequency. | |
| Code & | operator&= (const Frequency_ &rhs) |
| Allows filtering Code with Frequency. | |
| Code & | operator&= (const SatelliteSystem &rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code & | operator&= (const SatelliteSystem_ &rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code & | operator|= (const Code &rhs) |
| Allows combining flags of the Code enum. | |
| Code & | operator|= (const Enum &rhs) |
| Allows combining flags of the Code enum. | |
| Code & | operator|= (const Frequency &rhs) |
| Allows filtering Code with Frequency. | |
| Code & | operator|= (const Frequency_ &rhs) |
| Allows filtering Code with Frequency. | |
| Code & | operator|= (const SatelliteSystem &rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code & | operator|= (const SatelliteSystem_ &rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator~ () const |
| Allows negating flags of the Code enum. | |
Static Public Member Functions | |
| static Code | fromFreqAttr (Frequency freq, char attribute) |
| Generates a Code from frequency and attribute. | |
| static std::vector< Code > | GetAll () |
| Returns a list with all possible codes. | |
| static const char * | GetCodeDescription (Code code) |
| Returns a short description for the code. | |
| static Enum | GetCodeEnumValue (Code code) |
| Returns the enum value for the code (only one must be set) | |
| static Frequency | GetCodeFequency (Code code) |
| Returns the frequency for the code. | |
| static bool | IsCodeCombined (Code first, Code second) |
| Checks if the codes are part of a combined code. | |
Private Attributes | |
| Set | value |
| Code bitset. | |
Friends | |
| bool | operator!= (const Code &lhs, const Code &rhs) |
| Inequal compares values. | |
| bool | operator!= (const Code &lhs, const Enum &rhs) |
| Inequal compares values. | |
| bool | operator!= (const Enum &lhs, const Code &rhs) |
| Inequal compares values. | |
| Code | operator& (Code lhs, Frequency rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator& (Code lhs, Frequency_ rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator& (Code lhs, SatelliteSystem rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator& (Code lhs, SatelliteSystem_ rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator& (const Code &lhs, const Code &rhs) |
| Allows combining flags of the Code enum. | |
| Code | operator& (const Code &lhs, const Enum &rhs) |
| Allows combining flags of the Code enum. | |
| Code | operator& (const Enum &lhs, const Code &rhs) |
| Allows combining flags of the Code enum. | |
| Code | operator& (Frequency lhs, Code rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator& (Frequency_ lhs, Code rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator& (SatelliteSystem lhs, Code rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator& (SatelliteSystem_ lhs, Code rhs) |
| Allows filtering Code with SatelliteSystem. | |
| bool | operator< (const Code &lhs, const Code &rhs) |
| Less than comparison. | |
| bool | operator< (const Code &lhs, const Enum &rhs) |
| Less than comparison. | |
| bool | operator< (const Enum &lhs, const Code &rhs) |
| Less than comparison. | |
| bool | operator== (const Code &lhs, const Code &rhs) |
| Equal compares values. | |
| bool | operator== (const Code &lhs, const Enum &rhs) |
| Equal compares values. | |
| bool | operator== (const Enum &lhs, const Code &rhs) |
| Equal compares values. | |
| Code | operator| (Code lhs, Frequency rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator| (Code lhs, Frequency_ rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator| (Code lhs, SatelliteSystem rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator| (Code lhs, SatelliteSystem_ rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator| (const Code &lhs, const Code &rhs) |
| Allows combining flags of the Code enum. | |
| Code | operator| (const Code &lhs, const Enum &rhs) |
| Allows combining flags of the Code enum. | |
| Code | operator| (const Enum &lhs, const Code &rhs) |
| Allows combining flags of the Code enum. | |
| Code | operator| (Frequency lhs, Code rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator| (Frequency_ lhs, Code rhs) |
| Allows filtering Code with Frequency. | |
| Code | operator| (SatelliteSystem lhs, Code rhs) |
| Allows filtering Code with SatelliteSystem. | |
| Code | operator| (SatelliteSystem_ lhs, Code rhs) |
| Allows filtering Code with SatelliteSystem. | |
Enumerate for GNSS Codes.
| System | Band | Code | Description |
|---|---|---|---|
| GPS | L1 | L1C | C/A-code |
| L1S, L1L, L1X | L1C (data, pilot, combined) | ||
| L1P | P-code (unencrypted) | ||
| L1W | Semicodeless P(Y) tracking (Z-tracking) | ||
| L1Y | Y-code (with decryption) | ||
| L1M | M-code | ||
| L1N | codeless | ||
| L2 | L2C | C/A-code | |
| L2D | Semi-codeless P(Y) tracking (L1 C/A+(P2-P1)) | ||
| L2S, L2L, L2X | L2C-code (medium, long, combined) | ||
| L2P | P-code (unencrypted) | ||
| L2W | Semicodeless P(Y) tracking (Z-tracking) | ||
| L2Y | Y-code (with decryption) | ||
| L2M | M-code | ||
| L2N | codeless | ||
| L5 | L5I, L5Q, L5X | L5 (data, pilot, combined) | |
| Galileo | E1 | L1A | PRS signal |
| L1B, L1C, L1X | OS (data, pilot, combined) | ||
| L1Z | PRS + OS(data+pilot) | ||
| E5a | L5I, L5Q, L5X | E5a (data, pilot, combined) | |
| E6 | L6A | E6 PRS signal | |
| L6B, L6C, L6X | E6 (data, pilot, combined) | ||
| L6Z | E6 PRS + OS(data+pilot) | ||
| E5b | L7I, L7Q, L7X | E5b (data, pilot, combined) | |
| E5 | L8I, L8Q, L8X | E5 AltBOC (data, pilot, combined) | |
| GLONASS | L1 | L1C | C/A-code |
| L1P | P-code | ||
| L2 | L2C | C/A-code | |
| L2P | P-code | ||
| L3 | L3I, L3Q, L3X | L3 (data, pilot, combined) | |
| G1a | L4A, L4B, L4X | G1a (data, pilot, combined) | |
| G2b | L6A, L6B, L6X | G2a (data, pilot, combined) | |
| BeiDou (BDS-2/3) | B1 | L1D, L1P, L1X | B1 (data, pilot, combined) |
| B1-2 | L2I, L2Q, L2X | B1I(OS), B1Q, combined | |
| B2a | L5D, L5P, L5X | B2a (data, pilot, combined) | |
| B3 | L6I, L6Q, L6X | B3I, B3Q, combined | |
| L6A | B3A | ||
| B2b | L7I, L7Q, L7X | BDS-2: B2I(OS), B2Q, combined | |
| L7D, L7P, L7Z | BDS-3: data, pilot, combined | ||
| B2 | L8D, L8P, L8X | B2 (B2a+B2b): data, pilot, combined | |
| QZSS | L1 | L1C | C/A-code |
| L1S, L1L, L1X | L1C (data, pilot, combined) | ||
| L1Z | L1-SAIF signal | ||
| L2 | L2S, L2L, L2X | L2C-code (medium, long, combined) | |
| L5 | L5I, L5Q, L5X | L5 (data, pilot, combined) | |
| L5D, L5P, L5Z | I, Q, combined | ||
| L6 | L6S, L6L, L6X | LEX signal (short, long, combined) | |
| L6E | L6E | ||
| L6Z | L6(D+E) | ||
| IRNSS/NavIC | L5 | L5A | SPS Signal |
| L5B, L5C, L5X | RS (data, pilot, combined) | ||
| S | L9A | SPS signal | |
| L9B, L9C, L9X | RS (data, pilot, combined) | ||
| SBAS | L1 | L1C | C/A-code |
| L5 | L5I, L5Q, L5X | L5 (data, pilot, combined) |
| using NAV::Code::Set |
| anonymous enum : uint8_t |
Helper variables.
| Enumerator | |
|---|---|
| _GPS_START | GPS start index in the Enum. |
| _GPS_END | GPS end index in the Enum. |
| _GAL_START | GAL start index in the Enum. |
| _GAL_END | GAL end index in the Enum. |
| _GLO_START | GLO start index in the Enum. |
| _GLO_END | GLO end index in the Enum. |
| _BDS_START | BDS start index in the Enum. |
| _BDS_END | BDS end index in the Enum. |
| _QZSS_START | QZSS start index in the Enum. |
| _QZSS_END | QZSS end index in the Enum. |
| _IRNSS_START | IRNSS start index in the Enum. |
| _IRNSS_END | IRNSS end index in the Enum. |
| _SBAS_START | SBAS start index in the Enum. |
| _SBAS_END | SBAS end index in the Enum. |
| _G01_START | GPS L1 start index in the Enum. |
| _G01_END | GPS L1 end index in the Enum. |
| _G02_START | GPS L2 start index in the Enum. |
| _G02_END | GPS L2 end index in the Enum. |
| _G05_START | GPS L5 start index in the Enum. |
| _G05_END | GPS L5 end index in the Enum. |
| _E01_START | GAL E1 start index in the Enum. |
| _E01_END | GAL E1 end index in the Enum. |
| _E05_START | GAL E5a start index in the Enum. |
| _E05_END | GAL E5a end index in the Enum. |
| _E06_START | GAL E6 start index in the Enum. |
| _E06_END | GAL E6 end index in the Enum. |
| _E07_START | GAL E5b start index in the Enum. |
| _E07_END | GAL E5b end index in the Enum. |
| _E08_START | GAL E5(a+b) start index in the Enum. |
| _E08_END | GAL E5(a+b) end index in the Enum. |
| _R01_START | GLO L1 start index in the Enum. |
| _R01_END | GLO L1 end index in the Enum. |
| _R02_START | GLO L2 start index in the Enum. |
| _R02_END | GLO L2 end index in the Enum. |
| _R03_START | GLO L3 start index in the Enum. |
| _R03_END | GLO L3 end index in the Enum. |
| _R04_START | GLO G1a start index in the Enum. |
| _R04_END | GLO G1a end index in the Enum. |
| _R06_START | GLO G2a start index in the Enum. |
| _R06_END | GLO G2a end index in the Enum. |
| _B01_START | BDS B1 start index in the Enum. |
| _B01_END | BDS B1 end index in the Enum. |
| _B02_START | BDS B1-2 start index in the Enum. |
| _B02_END | BDS B1-2 end index in the Enum. |
| _B05_START | BDS B2a start index in the Enum. |
| _B05_END | BDS B2a end index in the Enum. |
| _B06_START | BDS B3 start index in the Enum. |
| _B06_END | BDS B3 end index in the Enum. |
| _B07_START | BDS B2b start index in the Enum. |
| _B07_END | BDS B2b end index in the Enum. |
| _B08_START | BDS B2 (B2a+B2b) start index in the Enum. |
| _B08_END | BDS B2 (B2a+B2b) end index in the Enum. |
| _J01_START | QZSS L1 start index in the Enum. |
| _J01_END | QZSS L1 end index in the Enum. |
| _J02_START | QZSS L2 start index in the Enum. |
| _J02_END | QZSS L2 end index in the Enum. |
| _J05_START | QZSS L5 start index in the Enum. |
| _J05_END | QZSS L5 end index in the Enum. |
| _J06_START | QZSS L6 start index in the Enum. |
| _J06_END | QZSS L6 end index in the Enum. |
| _I05_START | IRNSS L5 start index in the Enum. |
| _I05_END | IRNSS L5 end index in the Enum. |
| _I09_START | IRNSS S start index in the Enum. |
| _I09_END | IRNSS S end index in the Enum. |
| _S01_START | SBAS L start index in the Enum. |
| _S01_END | SBAS L end index in the Enum. |
| _S05_START | SBAS L start index in the Enum. |
| _S05_END | SBAS L end index in the Enum. |
| COUNT | Amount of Codes in the Enum. |
| enum NAV::Code::Enum : uint8_t |
Enumeration of all Codes.
| Enumerator | |
|---|---|
| None | None. |
| G1C | GPS L1 - C/A-code. |
| G1S | GPS L1 - L1C-D (data) |
| G1L | GPS L1 - L1C-P (pilot) |
| G1X | GPS L1 - L1C-(D+P) (combined) |
| G1P | GPS L1 - P-code (unencrypted) |
| G1W | GPS L1 - Semicodeless P(Y) tracking (Z-tracking) |
| G1Y | GPS L1 - Y-code (with decryption) |
| G1M | GPS L1 - M-code. |
| G1N | GPS L1 - codeless. |
| G2C | GPS L2 - C/A-code. |
| G2D | GPS L2 - Semi-codeless P(Y) tracking (L1 C/A + (P2-P1)) |
| G2S | GPS L2 - L2C(M) (medium) |
| G2L | GPS L2 - L2C(L) (long) |
| G2X | GPS L2 - L2C(M+L) (combined) |
| G2P | GPS L2 - P-code (unencrypted) |
| G2W | GPS L2 - Semicodeless P(Y) tracking (Z-tracking) |
| G2Y | GPS L2 - Y-code (with decryption) |
| G2M | GPS L2 - M-code. |
| G2N | GPS L2 - codeless. |
| G5I | GPS L5 - Data. |
| G5Q | GPS L5 - Pilot. |
| G5X | GPS L5 - Combined. |
| E1A | GAL E1 - PRS signal. |
| E1B | GAL E1 - OS (data) |
| E1C | GAL E1 - OS (pilot) |
| E1X | GAL E1 - OS(B+C) (combined) |
| E1Z | GAL E1 - PRS + OS (data + pilot) |
| E5I | GAL E5a - Data. |
| E5Q | GAL E5a - Pilot. |
| E5X | GAL E5a - Combined. |
| E6A | GAL E6 - PRS signal. |
| E6B | GAL E6 - Data. |
| E6C | GAL E6 - Pilot. |
| E6X | GAL E6 - Combined (B+C) |
| E6Z | GAL E6 - PRS + OS (A+B+C) |
| E7I | GAL E5b - Data. |
| E7Q | GAL E5b - Pilot. |
| E7X | GAL E5b - Combined. |
| E8I | GAL E5(a+b) - AltBOC (data) |
| E8Q | GAL E5(a+b) - AltBOC (pilot) |
| E8X | GAL E5(a+b) - AltBOC (combined) |
| R1C | GLO L1 - C/A-code. |
| R1P | GLO L1 - P-code. |
| R2C | GLO L2 - C/A-code. |
| R2P | GLO L2 - P-code. |
| R3I | GLO L3 - Data. |
| R3Q | GLO L3 - Pilot. |
| R3X | GLO L3 - Combined. |
| R4A | GLO G1a - L1OCd (data) |
| R4B | GLO G1a - L1OCp (pilot) |
| R4X | GLO G1a - L1OCd+L1OCp (combined) |
| R6A | GLO G2a - L2CSI (data) |
| R6B | GLO G2a - L2OCp (pilot) |
| R6X | GLO G2a - L2CSI+L2OCp (combined) |
| B1D | BeiDou B1 - Data (D) |
| B1P | BeiDou B1 - Pilot(P) |
| B1X | BeiDou B1 - D+P. |
| B2I | BeiDou B1-2 - B1I(OS) |
| B2Q | BeiDou B1-2 - B1Q. |
| B2X | BeiDou B1-2 - B1I(OS), B1Q, combined. |
| B5D | BeiDou B2a - Data (D) |
| B5P | BeiDou B2a - Pilot(P) |
| B5X | BeiDou B2a - D+P. |
| B6I | BeiDou B3 - B3I. |
| B6Q | BeiDou B3 - B3Q. |
| B6X | BeiDou B3 - B3I, B3Q, combined. |
| B6A | BeiDou B3 - B3A. |
| B7I | BeiDou B2b (BDS-2) - B2I(OS) |
| B7Q | BeiDou B2b (BDS-2) - B2Q. |
| B7X | BeiDou B2b (BDS-2) - B2I(OS), B2Q, combined. |
| B7D | BeiDou B2b (BDS-3) - Data (D) |
| B7P | BeiDou B2b (BDS-3) - Pilot(P) |
| B7Z | BeiDou B2b (BDS-3) - D+P. |
| B8D | BeiDou B2 (B2a+B2b) - Data (D) |
| B8P | BeiDou B2 (B2a+B2b) - Pilot(P) |
| B8X | BeiDou B2 (B2a+B2b) - D+P. |
| J1C | QZSS L1 - C/A-code. |
| J1S | QZSS L1 - L1C (data) |
| J1L | QZSS L1 - L1C (pilot) |
| J1X | QZSS L1 - L1C (combined) |
| J1Z | QZSS L1 - L1-SAIF signal. |
| J2S | QZSS L2 - L2C-code (medium) |
| J2L | QZSS L2 - L2C-code (long) |
| J2X | QZSS L2 - L2C-code (combined) |
| J5I | QZSS L5 - Data. |
| J5Q | QZSS L5 - Pilot. |
| J5X | QZSS L5 - Combined. |
| J5D | QZSS L5S - I. |
| J5P | QZSS L5S - Q. |
| J5Z | QZSS L5S - I+Q. |
| J6S | QZSS L6 - L6D LEX signal (short) |
| J6L | QZSS L6 - L6P LEX signal (long) |
| J6X | QZSS L6 - L6(D+P) LEX signal (combined) |
| J6E | QZSS L6 - L6E. |
| J6Z | QZSS L6 - L6(D+E) |
| I5A | IRNSS L5 - SPS Signal. |
| I5B | IRNSS L5 - RS (data) |
| I5C | IRNSS L5 - RS (pilot) |
| I5X | IRNSS L5 - RS (combined) |
| I9A | IRNSS S - SPS signal. |
| I9B | IRNSS S - RS (data) |
| I9C | IRNSS S - RS (pilot) |
| I9X | IRNSS S - RS (combined) |
| S1C | SBAS L1 - C/A-code. |
| S5I | SBAS L5 - Data. |
| S5Q | SBAS L5 - Pilot. |
| S5X | SBAS L5 - Combined. |
|
constexprdefault |
Default constructor for an empty code.
|
explicit |
|
inlineexplicitconstexpr |
|
explicit |
|
explicit |
|
inline |
|
static |
|
static |
|
static |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
inlineexplicit |
|
inlineexplicitconstexpr |
|
explicit |
| Code & NAV::Code::operator&= | ( | const Frequency_ & | rhs | ) |
| Code & NAV::Code::operator&= | ( | const SatelliteSystem & | rhs | ) |
Allows filtering Code with SatelliteSystem.
| [in] | rhs | Right-hand side enum value. |
| Code & NAV::Code::operator&= | ( | const SatelliteSystem_ & | rhs | ) |
Allows filtering Code with SatelliteSystem.
| [in] | rhs | Right-hand side enum value. |
| Code & NAV::Code::operator|= | ( | const Frequency_ & | rhs | ) |
| Code & NAV::Code::operator|= | ( | const SatelliteSystem & | rhs | ) |
Allows filtering Code with SatelliteSystem.
| [in] | rhs | Right-hand side enum value. |
| Code & NAV::Code::operator|= | ( | const SatelliteSystem_ & | rhs | ) |
Allows filtering Code with SatelliteSystem.
| [in] | rhs | Right-hand side enum value. |
| Code NAV::Code::operator~ | ( | ) | const |
|
friend |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |
|
friend |
Allows filtering Code with SatelliteSystem.
| [in] | lhs | Left-hand side enum value. |
| [in] | rhs | Right-hand side enum value. |