An instance of a node, or a derived class, can be introspected as follows:
- get_class() returns the node's class.
- find_properties() returns a collection of all the node's properties.
- Properties are akin to data members that are of simple types.
- find_descendants_t<>() can be used to acquire a collection of all the node's child nodes.
- Child nodes are akin to data members that are of complex types.
An instance of a node link can be introspected as follows:
- Note
- Member function introspection is not supported.
-
More focused property and child node queries are available, as detailed in Shared Ownership.