| Description |
| Register an external function to be used in relations. |
| Replacement in Object TOOLKIT: | pfcBaseSession::RegisterRelationFunction |
| Synopsis |
| #include <ProRelSet.h> |
| ProError | ProRelationFunctionRegister | ( |
| char* extfunc_name | |
| /*
(In) |
| name of new relation function used in the relations. |
| */ |
| ProRelfuncArg* arg_descr_arr | |
| /*
(In) |
| argument description ProArray. Can be NULL if: - no arguments should be supplied to the new function.
- you don't want Creo Parametric to check the validity of arguments (in conjunction with 'dis_type_ctrl' = PRO_B_TRUE).
|
| */ |
| ProRelationReadFunction read_func | |
| /*
(In) |
| function that implements read-access of external function; can be NULL; |
| */ |
| ProRelationWriteFunction write_func | |
| /*
(In) |
| function that implements write-access of external function; can be NULL; |
| */ |
| ProRelationArgscheckFunction check_func | |
| /*
(In) |
| function to check arguments of external function; can be NULL; |
| */ |
| ProBoolean dis_type_ctrl | |
| /*
(In) |
| PRO_B_TRUE to disable type checking for arguments. PRO_B_FALSE indicates that the arguments will be checked. |
| */ |
| ProAppData app_data | |
| /*
(In) |
| application data passed to the relation callbacks. Can be NULL. |
| */ |
| ) |
| Returns |
|
|