Category Features, Object ProPattern

Function ProPatternMemberVisit


Description
Visits the features in a pattern.
Synopsis
#include <ProPattern.h>
ProErrorProPatternMemberVisit(
ProPattern* pattern
/* (In)
The pattern handle
*/
ProFeatureVisitAction visit
/* (In)
The visit action function
*/
ProFeatureFilterAction filter
/* (In)
The filter function. If NULL, all the features in a pattern are visited using the action function.
*/
ProAppData app_data
/* (In)
User defined data passed to the visit and filter functions. May be NULL.
*/
)
Returns
PRO_TK_NO_ERRORAll members of the pattern were visited.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
OtherThe visit was terminated by an error from the visit function

Manual References:

  1. Element Trees: Patterns: Visiting and Creating a Pattern
  2. Element Trees: Patterns: Visiting and Creating a Pattern