get_param_num ( : : ProcName : CName, InpObjPar, OutpObjPar, InpCtrlPar, OutpCtrlPar, 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 -> string
Name of the procedure.
Default value: 'get_param_num'

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

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

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

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

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

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


Result

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


Parallelization Information

get_param_num is reentrant and processed without parallelization.


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-2005 MVTec Software GmbH