MCPcopy Create free account
hub / github.com/MyGUI/mygui / hasAncestor

Method hasAncestor

UnitTests/UnitTest_TreeControl/GenericNode.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110 template<class NODE, class OWNER>
111 bool GenericNode<NODE, OWNER>::hasAncestor(const NODE* pNode) const
112 {
113 return (mpParent == pNode || (mpParent && mpParent->hasAncestor(pNode)));
114 }
115
116 template<class NODE, class OWNER>
117 bool GenericNode<NODE, OWNER>::hasDescendant(const NODE* pNode) const

Callers 1

notifyExpandCollapseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected