Main Page
Related Pages
API Reference
Namespace List
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
g
i
n
o
p
r
s
t
v
w
x
z
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
x
y
z
Class List
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
z
Enumerations
b
c
e
f
g
h
k
o
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Functions
:
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
Enumerations
Enumerator
Macros
_
a
c
d
f
g
h
i
l
m
n
o
p
r
s
t
v
x
Examples
core
lib
GNSSCore
SatelliteSystem.cpp
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
#include "
SatelliteSystem.hpp
"
47
48
namespace
gnsstk
49
{
50
namespace
StringUtils
51
{
52
std::string
asString
(
SatelliteSystem
e) noexcept
53
{
54
switch
(e)
55
{
56
case
SatelliteSystem::Unknown
:
return
"Unknown"
;
57
case
SatelliteSystem::GPS
:
return
"GPS"
;
58
case
SatelliteSystem::Galileo
:
return
"Galileo"
;
59
case
SatelliteSystem::Glonass
:
return
"GLONASS"
;
60
case
SatelliteSystem::Geosync
:
return
"Geostationary"
;
61
case
SatelliteSystem::LEO
:
return
"LEO"
;
62
case
SatelliteSystem::Transit
:
return
"Transit"
;
63
case
SatelliteSystem::BeiDou
:
return
"BeiDou"
;
64
case
SatelliteSystem::QZSS
:
return
"QZSS"
;
65
case
SatelliteSystem::IRNSS
:
return
"IRNSS"
;
66
case
SatelliteSystem::Mixed
:
return
"Mixed"
;
67
case
SatelliteSystem::UserDefined
:
return
"UserDefined"
;
68
default
:
return
"???"
;
69
}
// switch (e)
70
}
// asString(SatelliteSystem)
71
72
73
SatelliteSystem
asSatelliteSystem
(
const
std::string& s) noexcept
74
{
75
if
(s ==
"Unknown"
)
76
return
SatelliteSystem::Unknown
;
77
if
(s ==
"GPS"
)
78
return
SatelliteSystem::GPS
;
79
if
(s ==
"Galileo"
)
80
return
SatelliteSystem::Galileo
;
81
if
(s ==
"GLONASS"
)
82
return
SatelliteSystem::Glonass
;
83
if
(s ==
"Geostationary"
)
84
return
SatelliteSystem::Geosync
;
85
if
(s ==
"LEO"
)
86
return
SatelliteSystem::LEO
;
87
if
(s ==
"Transit"
)
88
return
SatelliteSystem::Transit
;
89
if
(s ==
"BeiDou"
)
90
return
SatelliteSystem::BeiDou
;
91
if
(s ==
"QZSS"
)
92
return
SatelliteSystem::QZSS
;
93
if
(s ==
"IRNSS"
)
94
return
SatelliteSystem::IRNSS
;
95
if
(s ==
"Mixed"
)
96
return
SatelliteSystem::Mixed
;
97
if
(s ==
"UserDefined"
)
98
return
SatelliteSystem::UserDefined
;
99
return
SatelliteSystem::Unknown
;
100
}
// asSatelliteSystem(string)
101
}
// namespace StringUtils
102
}
// namespace gnsstk
gnsstk::SatelliteSystem::IRNSS
@ IRNSS
Official name changed from IRNSS to NavIC.
SatelliteSystem.hpp
gnsstk::SatelliteSystem::LEO
@ LEO
gnsstk::SatelliteSystem
SatelliteSystem
Supported satellite systems.
Definition:
SatelliteSystem.hpp:55
gnsstk::SatelliteSystem::Transit
@ Transit
gnsstk::StringUtils::asString
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
Definition:
IonexStoreStrategy.cpp:46
gnsstk::SatelliteSystem::Geosync
@ Geosync
gnsstk
For Sinex::InputHistory.
Definition:
BasicFramework.cpp:50
gnsstk::SatelliteSystem::GPS
@ GPS
gnsstk::SatelliteSystem::Unknown
@ Unknown
gnsstk::SatelliteSystem::UserDefined
@ UserDefined
gnsstk::SatelliteSystem::Mixed
@ Mixed
gnsstk::SatelliteSystem::Glonass
@ Glonass
gnsstk::SatelliteSystem::BeiDou
@ BeiDou
aka Compass
gnsstk::StringUtils::asSatelliteSystem
SatelliteSystem asSatelliteSystem(const std::string &s) noexcept
Convert a string name to an SatelliteSystem.
Definition:
SatelliteSystem.cpp:73
gnsstk::SatelliteSystem::QZSS
@ QZSS
gnsstk::SatelliteSystem::Galileo
@ Galileo
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41