0.44.0
|
#include <iNodeVisitorSearchName.h>
Inherits igor::iNodeVisitor.
Public Member Functions | |
iNodeVisitorSearchName () | |
virtual | ~iNodeVisitorSearchName ()=default |
const std::vector< uint64 > & | find (iNodePtr node, const iaString &name) |
Public Member Functions inherited from igor::iNodeVisitor | |
iNodeVisitor ()=default | |
virtual | ~iNodeVisitor ()=default |
void | setTraverseInactiveChildren (bool traverseInactive=true) |
void | setTraverseSiblings (bool traverseSiblings=true) |
void | traverseTree (iNodePtr node) |
Protected Member Functions | |
void | preTraverse () override |
bool | preOrderVisit (iNodePtr node, iNodePtr nextSibling) override |
void | postOrderVisit (iNodePtr node) override |
void | postTraverse () override |
virtual void | preTraverse ()=0 |
virtual bool | preOrderVisit (iNodePtr node, iNodePtr nextSibling)=0 |
virtual void | postOrderVisit (iNodePtr node)=0 |
virtual void | postTraverse ()=0 |
traveses node tree and prints basic information in to console
igor::iNodeVisitorSearchName::iNodeVisitorSearchName | ( | ) |
initializes traversal config
|
virtualdefault |
does nothing
const std::vector< uint64 > & igor::iNodeVisitorSearchName::find | ( | iNodePtr | node, |
const iaString & | name | ||
) |
traverses the tree and returns all node id's using the specified name
name | the name to search for |
|
overrideprotectedvirtual |
not implemented
Implements igor::iNodeVisitor.
|
overrideprotectedvirtual |
not implemented
Implements igor::iNodeVisitor.
|
overrideprotectedvirtual |
traversing tree and check if the current node's name matches the search string
node | the current node during traversal |
Implements igor::iNodeVisitor.
|
overrideprotectedvirtual |
initialisation
Implements igor::iNodeVisitor.