List Properties
list_element_count_addressing_callback
Names the procedure that determines the total number of elements in a list. The call structure for this callback is:
list_element_count_addressing_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.
This callback defines an addressing expression that specifies how to get to the member of the symbol that specifies the number of elements in the list.
If your data structure does not have this element, you still must use this callback. In this case, simply return {nop} as the addressing expression and the transformation will count the elements by following all the pointers. This can be very time consuming.
list_element_data_addressing_callback
Names the procedure that defines an addressing expression that specifies how to access the data member of a list element. The call structure for this callback is:
list_element_data_addressing_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.
list_element_next_addressing_callback
Names the procedure that defines an addressing expression that specifies how to access the next element of a list. The call structure for this callback is:
list_element_next_addressing_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.
list_element_prev_addressing_callback
Names the procedure that defines an addressing expression that specifies how to access the previous element of a list. The call structure for this callback is:
list_element_prev_addressing_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.
This property is optional. For example, you would not use it in a singly linked list.
list_end_value
Specifies if a list is terminated by NULL or the head of the list. Enter one of the following: NULL or ListHead
list_first_element_addressing_callback
Names the procedure that defines an addressing expression that specifies how to go from the head element of the list to the first element of the list. It is not always the case that the head element of the list is the first element of the list. The call structure for this callback is:
list_first_element_addressing_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.
list_head_addressing_callback
Names the procedure that defines an addressing expression to obtain the head element of the linked list. The call structure for this callback is:
list_head_addressing_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.