get_operator_nameT_get_operator_nameGetOperatorNameGetOperatorNameget_operator_name (算子名称)
名称
get_operator_nameT_get_operator_nameGetOperatorNameGetOperatorNameget_operator_name — Get operators with the given string as a substring of their name.
参数签名
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 (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Substring of the seeked names (empty <=> all names).
Default:
'info'
"info"
"info"
"info"
"info"
"info"
OperatorNamesOperatorNamesOperatorNamesOperatorNamesoperatorNamesoperator_names (output_control) 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.
Otherwise an exception is raised.
可能的后置算子
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
模块
Foundation