ClassesClassesClassesClasses | | | | Operators

get_param_numget_param_numGetParamNumget_param_numGetParamNumGetParamNum (Operator)

Name

get_param_numget_param_numGetParamNumget_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)

Herror get_param_num(const HTuple& OperatorName, char* CName, Hlong* InpObjPar, Hlong* OutpObjPar, Hlong* InpCtrlPar, Hlong* OutpCtrlPar, char* 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)

void HOperatorSetX.GetParamNum(
[in] VARIANT OperatorName, [out] VARIANT* CName, [out] VARIANT* InpObjPar, [out] VARIANT* OutpObjPar, [out] VARIANT* InpCtrlPar, [out] VARIANT* OutpCtrlPar, [out] VARIANT* Type)

BSTR HInfoX.GetParamNum(
[in] BSTR OperatorName, [out] Hlong* InpObjPar, [out] Hlong* OutpObjPar, [out] Hlong* InpCtrlPar, [out] Hlong* OutpCtrlPar, [out] BSTR* Type)

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_numGetParamNumget_param_numGetParamNumGetParamNum 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 (CNameCNameCNameCNameCNameCName) called by the operator. The output parameter TypeTypeTypeTypeTypetype indicates, whether the operator is a system operator or an user procedure.

Parallelization

Parameters

OperatorNameOperatorNameOperatorNameOperatorNameOperatorNameoperatorName (input_control)  proc_name HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the operator.

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

CNameCNameCNameCNameCNameCName (output_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the called C-function.

InpObjParInpObjParInpObjParInpObjParInpObjParinpObjPar (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Number of the input object parameters.

OutpObjParOutpObjParOutpObjParOutpObjParOutpObjParoutpObjPar (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Number of the output object parameters.

InpCtrlParInpCtrlParInpCtrlParInpCtrlParInpCtrlParinpCtrlPar (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Number of the input control parameters.

OutpCtrlParOutpCtrlParOutpCtrlParOutpCtrlParOutpCtrlParoutpCtrlPar (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Number of the output control parameters.

TypeTypeTypeTypeTypetype (output_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

System operator or user procedure.

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

Result

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

Possible Predecessors

get_keywordsget_keywordsGetKeywordsget_keywordsGetKeywordsGetKeywords, search_operatorsearch_operatorSearchOperatorsearch_operatorSearchOperatorSearchOperator, get_operator_nameget_operator_nameGetOperatorNameget_operator_nameGetOperatorNameGetOperatorName, get_operator_infoget_operator_infoGetOperatorInfoget_operator_infoGetOperatorInfoGetOperatorInfo

Possible Successors

get_param_typesget_param_typesGetParamTypesget_param_typesGetParamTypesGetParamTypes

Alternatives

get_operator_infoget_operator_infoGetOperatorInfoget_operator_infoGetOperatorInfoGetOperatorInfo, get_param_infoget_param_infoGetParamInfoget_param_infoGetParamInfoGetParamInfo

See also

get_param_namesget_param_namesGetParamNamesget_param_namesGetParamNamesGetParamNames, get_param_typesget_param_typesGetParamTypesget_param_typesGetParamTypesGetParamTypes, get_operator_nameget_operator_nameGetOperatorNameget_operator_nameGetOperatorNameGetOperatorName

Module

Foundation


ClassesClassesClassesClasses | | | | Operators