get_keywordsT_get_keywordsGetKeywordsGetKeywordsget_keywords (算子)
名称
get_keywordsT_get_keywordsGetKeywordsGetKeywordsget_keywords — 获取分配给算子的关键字。
签名
描述
算子 get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords returns all the keywords in
the online-texts corresponding to those operators which have the indicated
substring OperatorNameOperatorNameOperatorNameOperatorNameoperatorNameoperator_name in their name. If instead of OperatorNameOperatorNameOperatorNameOperatorNameoperatorNameoperator_name
the empty string is transmitted, the operator get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords
returns all keywords.
The keywords of an individual operator can also be called by using the
operator get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info。The online-texts will be taken from the files operators_[LANG].ref,
operators_[LANG].sta, operators_[LANG].num, operators_[LANG].key and
operators_[LANG].idx, which are searched by HALCON in the currently used
directory and in the directory 'help_dir' (see also get_systemget_systemGetSystemGetSystemGetSystemget_system and
set_systemset_systemSetSystemSetSystemSetSystemset_system).
注意
The encoding of the result is UTF-8.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
OperatorNameOperatorNameOperatorNameOperatorNameoperatorNameoperator_name (输入控制) proc_name → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Substring in the names of those operators for which
keywords are needed.
默认值:
'get_keywords'
"get_keywords"
"get_keywords"
"get_keywords"
"get_keywords"
"get_keywords"
KeywordsKeywordsKeywordsKeywordskeywordskeywords (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Keywords for the operators.
结果
算子 get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords 返回值 2 (
H_MSG_TRUE)
if the
parameters are correct and the helpfiles are available.否则将抛出异常。
可能的前趋
get_chapter_infoget_chapter_infoGetChapterInfoGetChapterInfoGetChapterInfoget_chapter_info
替代
get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info
另见
get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorNameget_operator_name,
search_operatorsearch_operatorSearchOperatorSearchOperatorSearchOperatorsearch_operator,
get_param_infoget_param_infoGetParamInfoGetParamInfoGetParamInfoget_param_info
模块
基础