Herror ::get_param_num (
    const HTuple &ProcName,
    char *CName,
    long *InpObjPar,
    long *OutpObjPar,
    long *InpCtrlPar,
    long *OutpCtrlPar,
    char *Type
)

Get number of the different parameter classes of a HALCON-procedure.

The operator ::get_param_num returns the number of the input and output object parameters, as well as the input and output control parameters for the indicated HALCON-procedure. Further, you will receive the name of the C-function (CName) called by the procedure. The output parameter Type indicates, whether the procedure is a system procedure or an user procedure.


Parameters

ProcName (input_control)
proc_name -> HTuple.char *
Name of the procedure.
Default value: 'get_param_num'

CName (output_control)
string -> char *
Name of the called C-function.

InpObjPar (output_control)
integer -> long *
Number of the input object parameters.

OutpObjPar (output_control)
integer -> long *
Number of the output object parameters.

InpCtrlPar (output_control)
integer -> long *
Number of the input control parameters.

OutpCtrlPar (output_control)
integer -> long *
Number of the output control parameters.

Type (output_control)
string -> char *
System procedure or user procedure.
Suggested values: 'system', 'user'


Result

The operator ::get_param_num returns the value H_MSG_TRUE if the name of the procedure exists. Otherwise an exception handling is raised.


Possible Predecessors

::get_keywords, ::search_operator, ::get_operator_name, ::get_operator_info


Possible Successors

::get_param_types


Alternatives

::get_operator_info, ::get_param_info


See also

::get_param_names, ::get_param_types, ::get_operator_name


Module

Image / region / XLD management



Copyright © 1996-2002 MVTec Software GmbH