CarrierBand.hpp
Go to the documentation of this file.
1 
8 //==============================================================================
9 //
10 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
11 //
12 // The GNSSTk is free software; you can redistribute it and/or modify
13 // it under the terms of the GNU Lesser General Public License as published
14 // by the Free Software Foundation; either version 3.0 of the License, or
15 // any later version.
16 //
17 // The GNSSTk is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU Lesser General Public License for more details.
21 //
22 // You should have received a copy of the GNU Lesser General Public
23 // License along with GNSSTk; if not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
25 //
26 // This software was developed by Applied Research Laboratories at the
27 // University of Texas at Austin.
28 // Copyright 2004-2022, The Board of Regents of The University of Texas System
29 //
30 //==============================================================================
31 
32 //==============================================================================
33 //
34 // This software was developed by Applied Research Laboratories at the
35 // University of Texas at Austin, under contract to an agency or agencies
36 // within the U.S. Department of Defense. The U.S. Government retains all
37 // rights to use, duplicate, distribute, disclose, or release this software.
38 //
39 // Pursuant to DoD Directive 523024
40 //
41 // DISTRIBUTION STATEMENT A: This software has been approved for public
42 // release, distribution is unlimited.
43 //
44 //==============================================================================
45 
46 #ifndef GNSSTK_CARRIERBAND_HPP
47 #define GNSSTK_CARRIERBAND_HPP
48 
49 #include <string>
50 #include "EnumIterator.hpp"
51 
52 namespace gnsstk
53 {
54  enum class CarrierBand
55  {
56  Unknown,
57  Any,
58  L1L2,
59  L1,
60  L2,
61  L5,
62  G1,
63  G1a,
64  G2a,
65  G2,
66  G3,
67  E5b,
68  E5ab,
69  E6,
70  B1,
71  B2,
72  B3,
73  I9,
74  Undefined,
75  Last,
76  }; // enum class CarrierBand
77 
81 
82  namespace StringUtils
83  {
85  std::string asString(CarrierBand e) noexcept;
87  CarrierBand asCarrierBand(const std::string& s) noexcept;
88  }
89 } // namespace gnsstk
90 
91 #endif // GNSSTK_CARRIERBAND_HPP
gnsstk::StringUtils::asCarrierBand
CarrierBand asCarrierBand(const std::string &s) noexcept
Convert a string name to an CarrierBand.
Definition: CarrierBand.cpp:80
gnsstk::CarrierBand::G1
@ G1
GLONASS G1.
gnsstk::CarrierBand::I9
@ I9
NavIC S.
gnsstk::CarrierBand::E5b
@ E5b
Galileo E5b.
gnsstk::CarrierBand
CarrierBand
Definition: CarrierBand.hpp:54
gnsstk::CarrierBand::Any
@ Any
Used to match any carrier band.
gnsstk::StringUtils::asString
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
Definition: IonexStoreStrategy.cpp:46
gnsstk::CarrierBand::Unknown
@ Unknown
Uninitialized value.
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::CarrierBand::L2
@ L2
GPS L2, QZSS L2.
gnsstk::CarrierBandIterator
EnumIterator< CarrierBand, CarrierBand::Unknown, CarrierBand::Last > CarrierBandIterator
Definition: CarrierBand.hpp:80
gnsstk::CarrierBand::B3
@ B3
BeiDou B3.
gnsstk::CarrierBand::B1
@ B1
BeiDou B1.
gnsstk::CarrierBand::G3
@ G3
GLONASS G3.
EnumIterator.hpp
gnsstk::CarrierBand::G1a
@ G1a
GLONASS G1a.
gnsstk::CarrierBand::E5ab
@ E5ab
Galileo E5, BeiDou B2.
gnsstk::CarrierBand::L1
@ L1
GPS L1, Galileo E1, SBAS L1, QZSS L1, BeiDou L1.
gnsstk::CarrierBand::G2a
@ G2a
GLONASS G2a.
gnsstk::CarrierBand::B2
@ B2
BeiDou B2b.
gnsstk::EnumIterator
Definition: EnumIterator.hpp:68
gnsstk::CarrierBand::Undefined
@ Undefined
Code is known to be undefined (as opposed to unknown)
gnsstk::CarrierBand::L1L2
@ L1L2
GPS L1+L2.
gnsstk::CarrierBand::E6
@ E6
Galileo E6, QZSS L6.
gnsstk::CarrierBand::Last
@ Last
Used to verify that all items are described at compile time.
gnsstk::CarrierBand::L5
@ L5
GPS L5, Galileo E5a, SBAS L5, QZSS L5, BeiDou B2a, NavIC L5.
gnsstk::CarrierBand::G2
@ G2
GLONASS G2.


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:38