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

Method ShouldReport

src/ObjectModel/ObjectModel.cpp:600–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600bool ObjectExplorationContext::ShouldReport(const ObjectModelEntryFlags f) const noexcept
601{
602 const bool wanted = includeNonLive
603 || ((uint8_t)f & (uint8_t)ObjectModelEntryFlags::live) != 0
604 || (includeImportant && ((uint8_t)f & (uint8_t)ObjectModelEntryFlags::important) != 0);
605 return wanted && ((uint8_t)f & (uint8_t)excludedFlags) == 0;
606}
607
608GCodeException ObjectExplorationContext::ConstructParseException(const char *_ecv_array msg) const noexcept
609{

Callers 1

MatchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected