MCPcopy Create free account
hub / github.com/WheretIB/nullc / predicate_nullc_node

Class predicate_nullc_node

NULLC/includes/pugi.cpp:487–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485 NULLCFuncPtr callback;
486 };
487 class predicate_nullc_node
488 {
489 public:
490 predicate_nullc_node(NULLCFuncPtr callback)
491 {
492 this->callback = callback;
493 }
494
495 bool operator()(pugi::xml_node& node)
496 {
497 xml_node n;
498 n.node = node;
499 nullcCallFunction(callback, POD_WRAP(n.node));
500 return !!nullcGetResultInt();
501 }
502 private:
503 NULLCFuncPtr callback;
504 };
505 xml_attribute xml_node__find_attribute(NULLCFuncPtr pred, xml_node* ptr)
506 {
507 xml_attribute att;

Callers 2

xml_node__find_childFunction · 0.85
xml_node__find_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected