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

Function parse

pj_plotting/widget/src/WidgetClipboard.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool parse(QDomDocument& doc, const QString& expected_tag) {
50 const QString payload = xml();
51 if (payload.isEmpty() || !doc.setContent(payload)) {
52 return false;
53 }
54 return doc.documentElement().tagName() == expected_tag;
55}
56
57} // namespace PJ::widget_clipboard

Callers 15

createInstanceMethod · 0.85
setWidgetsFromParamsMethod · 0.85
TEST_FFunction · 0.85
objectTypeFromMetadataFunction · 0.85
transformRecipeJsonMethod · 0.85
applyAndDiffFunction · 0.85
showDialogMethod · 0.85
applyAndDiffMethod · 0.85

Calls 2

xmlFunction · 0.85
isEmptyMethod · 0.45

Tested by 5

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68