get_param_numget_param_numGetParamNumGetParamNum (Operator)

Name

get_param_numget_param_numGetParamNumGetParamNum — Get number of the different parameter classes of a HALCON-operator.

Signature

get_param_num( : : OperatorName : CName, InpObjPar, OutpObjPar, InpCtrlPar, OutpCtrlPar, Type)

Herror get_param_num(const char* OperatorName, char* CName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, char* Type)

Herror T_get_param_num(const Htuple OperatorName, Htuple* CName, Htuple* InpObjPar, Htuple* OutpObjPar, Htuple* InpCtrlPar, Htuple* OutpCtrlPar, Htuple* Type)

void GetParamNum(const HTuple& OperatorName, HTuple* CName, HTuple* InpObjPar, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar, HTuple* Type)

static HString HInfo::GetParamNum(const HString& OperatorName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, HString* Type)

static HString HInfo::GetParamNum(const char* OperatorName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, HString* Type)

static HString HInfo::GetParamNum(const wchar_t* OperatorName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, HString* Type)   (Windows only)

static void HOperatorSet.GetParamNum(HTuple operatorName, out HTuple CName, out HTuple inpObjPar, out HTuple outpObjPar, out HTuple inpCtrlPar, out HTuple outpCtrlPar, out HTuple type)

static string HInfo.GetParamNum(string operatorName, out int inpObjPar, out int outpObjPar, out int inpCtrlPar, out int outpCtrlPar, out string type)

Description

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

Execution Information

Parameters

OperatorNameOperatorNameOperatorNameOperatorNameoperatorName (input_control)  proc_name HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the operator.

Default value: 'get_param_num' "get_param_num" "get_param_num" "get_param_num" "get_param_num"

CNameCNameCNameCNameCName (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the called C-function.

InpObjParInpObjParInpObjParInpObjParinpObjPar (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of the input object parameters.

OutpObjParOutpObjParOutpObjParOutpObjParoutpObjPar (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of the output object parameters.

InpCtrlParInpCtrlParInpCtrlParInpCtrlParinpCtrlPar (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of the input control parameters.

OutpCtrlParOutpCtrlParOutpCtrlParOutpCtrlParoutpCtrlPar (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of the output control parameters.

TypeTypeTypeTypetype (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

System operator or user procedure.

Suggested values: 'system'"system""system""system""system", 'user'"user""user""user""user"

Result

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

Possible Predecessors

get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywords, search_operatorsearch_operatorSearchOperatorSearchOperatorSearchOperator, get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorName, get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfo

Possible Successors

get_param_typesget_param_typesGetParamTypesGetParamTypesGetParamTypes

Alternatives

get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfo, get_param_infoget_param_infoGetParamInfoGetParamInfoGetParamInfo

See also

get_param_namesget_param_namesGetParamNamesGetParamNamesGetParamNames, get_param_typesget_param_typesGetParamTypesGetParamTypesGetParamTypes, get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorName

Module

Foundation