Advances this ModelNode class to the next Sibling in the hierarchy tree. If it cannot, then it remains the same. True if it moved to the Sibling, false if there was no Sibling to move to.
()
| 657 | /// <returns>True if it moved to the Sibling, false if there was no |
| 658 | /// Sibling to move to.</returns> |
| 659 | public bool MoveSibling() |
| 660 | { |
| 661 | int sibling = NativeAPI.model_node_sibling(_model._inst, _nodeId); |
| 662 | if (sibling >= 0) |
| 663 | { |
| 664 | _nodeId = sibling; |
| 665 | return true; |
| 666 | } |
| 667 | return false; |
| 668 | } |
| 669 | /// <summary>Moves this ModelNode class to the Parent up the hierarchy |
| 670 | /// tree. If it cannot, then it remains the same. </summary> |
| 671 | /// <returns>True if it moved to the Parent, false if there was no |
nothing calls this directly
no test coverage detected