axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlPointer axl_node_annotate_get ( axlNode node,
const char *  key,
axl_bool  lookup_in_parent 
)

Allows to perform a lookup for annotated data stored on the provided node.

Parameters
nodeThe node where the lookup will be performed.
keyThe key to lookup in the axlNode reference.
lookup_in_parentOnce the lookup fails in the current node, this variable allows to signal the function to also lookup the value in the parent nodes recursively. This mechanism allows to store data on parent nodes that are shared among all child nodes.
Returns
The data associated to the key according to the lookup configuration (lookup_in_parent and lookup_in_doc).

References axl_hash_get(), axl_item_get_parent(), and axl_return_val_if_fail.

Referenced by axl_node_annotate_get_double(), axl_node_annotate_get_int(), and axl_node_annotate_get_string().