Category Family table, Object ProFamtable

Function ProFamtableItemVisit


Description
Visits all the items in a family table.
Replacement in Object TOOLKIT: pfcFamilyMember::ListColumns
Synopsis
#include <ProFamtable.h>
ProErrorProFamtableItemVisit(
ProFamtable* p_famtab
/* (In)
The handle to the family table.
*/
ProFamtableItemAction visit_action
/* (In)
The action to perform on each item. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProFamtableItemFilter filter_action
/* (In)
The filter function. If NULL, all items are visited using the action function.
*/
ProAppData app_data
/* (In)
The application data passed to the visiting and filter functions.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully visited all the items.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
OtherAny other value is the value returned by the action function (visiting stopped).

Manual References:

  1. Core: Family Tables: Visiting Family Tables

Sample Code References:

  1. pt_examples ( UtilCollect.c )
  2. pt_userguide ( UgFamtabUse.c )