Function ProMdlLayerVisit
SUPERSEDED BY:
Description
Calls the specified filter and action functions for each layer in the model.
Synopsis
#include <ProLayer.h>
ProMdlLayerVisit
(
ProMdl model
/* (In)
The model.
*/
ProLayerAction visit_action
/* (In)
The action to perform on each layer. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProLayerAction filter_action
/* (In)
The filter function. If NULL, all layers are visited using the action function.
*/
ProAppData app_data
/* (In)
The application data passed to the visiting and filter functions.
*/
)
Returns
The function visited all the layers.
One or more of the arguments are invalid.
Other
Any other value is the status returned by the last executed callback (filter_action or visit_action).
Sample Code References
User Guide References
도움이 되셨나요?