MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / evaluate_boolean

Method evaluate_boolean

src/include/pugixml.cpp:10066–10078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10064 }
10065
10066 PUGI__FN bool xpath_query::evaluate_boolean(const xpath_node& n) const
10067 {
10068 if (!_impl) return false;
10069
10070 impl::xpath_context c(n, 1, 1);
10071 impl::xpath_stack_data sd;
10072
10073 #ifdef PUGIXML_NO_EXCEPTIONS
10074 if (setjmp(sd.error_handler)) return false;
10075 #endif
10076
10077 return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_boolean(c, sd.stack);
10078 }
10079
10080 PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const
10081 {

Callers

nothing calls this directly

Calls 1

eval_booleanMethod · 0.80

Tested by

no test coverage detected