int axl_node_annotate_get_int ( axlNode node,
const char *  key,
bool  lookup_in_parent 
)

Allows to retreive the annotated int value stored on the particular node, under the provided key.

Parameters:
node The node that is required to return the annotated data.
key The key to be used to lookup for the data annotated.
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.
NOTE: To make this function work properly you must store double values using axl_node_annotate_int. Storing values using other functions will lead to unpredictable results.

Returns:
The integer value stored using axl_node_annotate_int. If the key provided doesn't exists, the function returns 0.