Documentação da API > Parameters and relations > Object ProRelation > Callback ProRelationReadFunction
Callback ProRelationReadFunction
Description
This is the function called to evaluate a custom relation function invoked on the right hand side of a relation.
Synopsis
#include <ProRelSet.h>
(*ProRelationReadFunction)
(
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.
*/
ProParamvalue* pro_result
/* (Out)
The result of the relation function calculation.
*/
)
Returns
The calculation succeeded.
Any other error
The calculation failed; the relation has an error.
User Guide References
Isto foi útil?