Category Parameters and relations, Object ProRelation

Callback ProRelationArgscheckFunction


Description
This is the function called to validate the arguments of a custom relation function before it is invoked.
Synopsis
#include <ProRelSet.h>
ProError(*ProRelationArgscheckFunction)(
ProRelset* pro_relset
/* (In)
The relation set.
*/
ProMdl pro_model
/* (In)
The model that owns the relation set.
*/
char* extfunc_name
/* (In)
The name of the external function.
*/
ProParamvalue* pro_args
/* (In)
ProArray of argument values.
*/
ProAppData app_data
/* (In)
The application data passed to registration function.
*/
)
Returns
PRO_TK_NO_ERRORThe arguments are valid.
Any other errorThe arguments are invalid;the relation has an error.

Manual References:

  1. Core: Relations: Relations