|
ROSE
0.11.96.11
|
Edge pointing from child to parent.
This is a special pointer type that allows a child node to point to a parent node. Each tree Node has a parent pointer of this type. The value of the pointer is updated automatically when the node is inserted into or removed from a tree.
#include <Tree.h>
Public Member Functions | |
| NodePtr | operator-> () const |
| Obtain shared pointer. | |
| Node & | operator* () const |
| Obtain pointed-to node. | |
| NodePtr | shared () const |
| Return the parent as a shared-ownership pointer. | |
| operator bool () const | |
| Conversion to bool. | |
| bool | operator== (const ParentEdge &other) const |
| Relation. | |
| bool | operator!= (const ParentEdge &other) const |
| Relation. | |
| bool | operator< (const ParentEdge &other) const |
| Relation. | |
| bool | operator<= (const ParentEdge &other) const |
| Relation. | |
| bool | operator> (const ParentEdge &other) const |
| Relation. | |
| bool | operator>= (const ParentEdge &other) const |
| Relation. | |
1.8.17