|
axlPointer axl_node_annotate_get |
( |
axlNode * |
node, |
|
|
const char * |
key, |
|
|
bool |
lookup_in_parent | |
|
) |
| | |
Allows to perform lookups for annotated data stored on the provided node, configure how data is looked up if it fails to find on the provided node.
- Parameters:
-
| node | The node where the lookup will be performed. |
| key | The key to lookup in the axlNode reference. |
| lookup_in_parent | Once the lookup fails, this variable allows to signal the function to also lookup the value in the parent nodes. This mechanism allows to store data on parent nodes that are shared by child nodes. |
- Returns:
- The data associated to the key according to the lookup configuration (lookup_in_parent and lookup_in_doc).
|