a helper macro to enumerate nodes in the target element tree with a given traversal policy
a helper macro to enumerate nodes in the target element tree with a given traversal policy
[in] | __ROOT | the root node of the target element tree |
__ITEM_NAME | the pointer variable name represents the current node | |
[in] | a | traversal policy. Please ignore the prefix ARM_2D_CONTROL_ENUMERATION_POLICY_xxxxx |
each nodes in ptRoot using preorder traversal policy: arm_ctrl_foreach(ptRoot, ptItem, PREORDER_TRAVERSAL) { ... ptItem->tRegion.xxxx ... ptItem->xxxx ... ... }