Description | |||||||||||
Calls the specified filter and action functions for each layer in the model. | |||||||||||
Synopsis | |||||||||||
#include <ProLayer.h> | |||||||||||
ProError | 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 | |||||||||||
|