MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / Matches

Method Matches

src/ObjectModel/ObjectModel.cpp:1212–1215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212bool ObjectModelTableEntry::Matches(const char *_ecv_array filterString, const ObjectExplorationContext& context) const noexcept
1213{
1214 return IdCompare(filterString) == 0 && context.ShouldReport(flags);
1215}
1216
1217// Add the value of this element to the buffer, returning true if it matched and we did
1218bool ObjectModelTableEntry::ReportAsJson(OutputBuffer* buf, ObjectExplorationContext& context, const ObjectModelClassDescriptor *_ecv_null classDescriptor, const ObjectModel *_ecv_from self, const char *_ecv_array filter, bool first) const THROWS(GCodeException)

Callers 1

THROWSFunction · 0.80

Calls 1

ShouldReportMethod · 0.80

Tested by

no test coverage detected