MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / match

Method match

src/ifcgeom/IfcGeomFilter.h:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 std::string description;
62
63 bool match(IfcUtil::IfcBaseEntity* prod, const filter_t& pred) const {
64 bool is_match = pred(prod);
65 if (!is_match && traverse) {
66 is_match = traverse_match(prod, pred);
67 }
68 return is_match == include;
69 }
70
71 bool traverse_match(IfcUtil::IfcBaseEntity* prod, const filter_t& pred) const
72 {

Callers 15

test_allMethod · 0.45
schemaMethod · 0.45
schemaMethod · 0.45
process_assignmentFunction · 0.45
process_case_actionFunction · 0.45
_get_element_valueFunction · 0.45
set_element_valueFunction · 0.45
filter_functionMethod · 0.45
compareMethod · 0.45
is_applicableMethod · 0.45
parse_docstringFunction · 0.45
_parse_param_docsFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_allMethod · 0.36