46 #ifndef GNSSTK_DISCONTINUITY_CORRECTOR_INCLUDE
47 #define GNSSTK_DISCONTINUITY_CORRECTOR_INCLUDE
49 #include "gnsstk_export.h"
97 void setParameter(
const std::string& label,
double value);
102 if (
CFG.find(label) ==
CFG.end())
114 return std::string(
"Invalid label");
135 std::map<std::string, double>
CFG;
170 std::string::size_type
pos;
171 std::string
word, line;
172 std::vector<std::string> lines,
words;
180 pos = msg.find_first_not_of(
"\n");
189 pos = msg.find_first_of(
"\n");
200 lines.push_back(
word);
204 for (
int i = 0; i < lines.size(); i++)
215 pos = line.find_first_not_of(
" \t\n");
216 if (
pos != 0 &&
pos != std::string::npos)
224 pos = line.find_first_of(
" \t\n");
225 if (
pos == std::string::npos)
236 line.erase(0,
word.length() + 1);
246 if (line.find(
"WL sigma in cycles", 0) != std::string::npos)
250 else if (line.find(
"insufficient data", 0) != std::string::npos)
254 else if (line.find(
"list of Segments", 0) != std::string::npos)
258 if (line.find(
"bias(wl)", 0) != std::string::npos)
269 if (line.find(
"WL slip gross", 0) != std::string::npos)
273 if (line.find(
"WL slip small", 0) != std::string::npos)
277 if (line.find(
"GF slip gross", 0) != std::string::npos)
281 if (line.find(
"GF slip small", 0) != std::string::npos)
285 if (line.find(
"sigma GF variation", 0) != std::string::npos)
289 if (line.find(
"WL sigma in cycles", 0) != std::string::npos)
293 if (line.find(
"points deleted", 0) != std::string::npos)
297 if (line.find(
"GLONASS frequency channel", 0) != std::string::npos)
348 std::vector<std::string>& EditCmds,
349 std::string& retMsg,
int GLOn = -99);