MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / rprt

Method rprt

tests/rigctld_test.cpp:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 int rprt(const QStringList& lines) const
150 {
151 static const QRegularExpression kRprt(QStringLiteral(R"(RPRT\s+(-?\d+))"));
152 for (const QString& l : lines) {
153 const QRegularExpressionMatch m = kRprt.match(l);
154 if (m.hasMatch())
155 return m.captured(1).toInt();
156 }
157 return -999;
158 }
159
160 bool ok(const QStringList& lines) const { return rprt(lines) == 0; }
161

Callers 2

section1bFunction · 0.45
sectionEdgeFunction · 0.45

Calls 1

capturedMethod · 0.80

Tested by

no test coverage detected