MCPcopy Create free account
hub / github.com/dillo-browser/dillo / getRespectiveLevel

Method getRespectiveLevel

dw/iterator.cc:475–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475int DeepIterator::getRespectiveLevel (Widget *widget, Content::Type mask)
476{
477 // Similar to getRespectiveParent.
478
479 return (mask & Content::WIDGET_OOF_REF) ?
480 widget->getGeneratorLevel() : widget->getLevel();
481}
482
483/**
484 * \brief Create a new deep iterator from an existing dw::core::Iterator.

Callers

nothing calls this directly

Calls 2

getGeneratorLevelMethod · 0.80
getLevelMethod · 0.80

Tested by

no test coverage detected