#include <DDNodeSelector.h>
Public Member Functions | |
const DDGeoHistory & | current () const |
DDNodeSelector (const DDCompactView &) | |
bool | next () |
bool | setPartSelection (const std::string &, bool useRegex=false) |
virtual | ~DDNodeSelector () |
given a part selection std::string, a node selector calculates all expanded nodes in the geometry tree
Definition at line 7 of file DDNodeSelector.h.
|
explicit |
The compact view given in the constructor represents the geometry on which the node selector works
|
virtual |
you can derive your own node selector
const DDGeoHistory& DDNodeSelector::current | ( | ) | const |
the current node matching the selection std::string; copy it, if you want to keep it!
bool DDNodeSelector::next | ( | ) |
the next node matching the selection std::string, returns false, if there is no next node
Referenced by BeautifulSoup.PageElement::_invert().
bool DDNodeSelector::setPartSelection | ( | const std::string & | , |
bool | useRegex = false |
||
) |
sets the selection std::string from which all expanded nodes in the geometry tree should be calculated