| 1025 | } |
| 1026 | |
| 1027 | void Node::detach() { |
| 1028 | if ( mParentNode ) { |
| 1029 | mParentNode->childRemove( this ); |
| 1030 | mParentNode = NULL; |
| 1031 | } |
| 1032 | } |
| 1033 | |
| 1034 | void Node::forEachNode( std::function<void( Node* )> func ) { |
| 1035 | func( this ); |
no test coverage detected