MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / unresolved

Method unresolved

pj_app/src/PendingCurveBinder.cpp:134–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134QList<layout_xml::SeriesPath> PendingCurveBinder::unresolved() const {
135 QList<layout_xml::SeriesPath> paths;
136 for (const PendingCurveEntry& entry : entries_) {
137 if (entry.plot.isNull()) {
138 continue;
139 }
140 // Report only the half/halves that still don't resolve: an XY entry can be
141 // pending because just one source is missing, and listing a present series as
142 // "missing" would mislead the prompt (matches rebindCurveKeys' reporting).
143 if (entry.isXY() && !resolveSeriesPath(catalog_, entry.x_path).has_value()) {
144 paths.push_back(entry.x_path);
145 }
146 if (!resolveSeriesPath(catalog_, entry.path).has_value()) {
147 paths.push_back(entry.path);
148 }
149 }
150 return paths;
151}
152
153void PendingCurveBinder::clear() {
154 entries_.clear();

Callers 2

TESTFunction · 0.80

Calls 3

resolveSeriesPathFunction · 0.85
isXYMethod · 0.80
isNullMethod · 0.45

Tested by 1

TESTFunction · 0.64