get_operator_nameT_get_operator_nameGetOperatorNameGetOperatorNameget_operator_name (算子)

名称

get_operator_nameT_get_operator_nameGetOperatorNameGetOperatorNameget_operator_name — 获取具有给定字符串作为其名称子字符串的算子。

签名

get_operator_name( : : Pattern : OperatorNames)

Herror T_get_operator_name(const Htuple Pattern, Htuple* OperatorNames)

void GetOperatorName(const HTuple& Pattern, HTuple* OperatorNames)

static HTuple HInfo::GetOperatorName(const HString& Pattern)

static HTuple HInfo::GetOperatorName(const char* Pattern)

static HTuple HInfo::GetOperatorName(const wchar_t* Pattern)   ( Windows only)

static void HOperatorSet.GetOperatorName(HTuple pattern, out HTuple operatorNames)

static HTuple HInfo.GetOperatorName(string pattern)

def get_operator_name(pattern: str) -> Sequence[str]

描述

算子 get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorNameget_operator_name takes a string (PatternPatternPatternPatternpatternpattern) as input and searches all HALCON-operators having this string as a substring in their name. If an empty string is entered, the names of all operators available will be returned.

执行信息

参数

PatternPatternPatternPatternpatternpattern (输入控制)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Substring of the seeked names (empty <=> all names).

默认值: 'info' "info" "info" "info" "info" "info"

OperatorNamesOperatorNamesOperatorNamesOperatorNamesoperatorNamesoperator_names (输出控制)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Detected operator names.

结果

算子 get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorNameget_operator_name 返回值 2 ( H_MSG_TRUE) if the helpfiles are available.否则将抛出异常。

可能的后继

get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info, get_param_namesget_param_namesGetParamNamesGetParamNamesGetParamNamesget_param_names, get_param_numget_param_numGetParamNumGetParamNumGetParamNumget_param_num, get_param_typesget_param_typesGetParamTypesGetParamTypesGetParamTypesget_param_types

替代

search_operatorsearch_operatorSearchOperatorSearchOperatorSearchOperatorsearch_operator

另见

get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info, get_param_namesget_param_namesGetParamNamesGetParamNamesGetParamNamesget_param_names, get_param_numget_param_numGetParamNumGetParamNumGetParamNumget_param_num, get_param_typesget_param_typesGetParamTypesGetParamTypesGetParamTypesget_param_types

模块

基础