search_operatorT_search_operatorSearchOperatorSearchOperatorsearch_operator (算子)

名称

search_operatorT_search_operatorSearchOperatorSearchOperatorsearch_operator — 搜索分配给一个关键字的所有算子的名称。

签名

search_operator( : : Keyword : OperatorNames)

Herror T_search_operator(const Htuple Keyword, Htuple* OperatorNames)

void SearchOperator(const HTuple& Keyword, HTuple* OperatorNames)

static HTuple HInfo::SearchOperator(const HString& Keyword)

static HTuple HInfo::SearchOperator(const char* Keyword)

static HTuple HInfo::SearchOperator(const wchar_t* Keyword)   ( Windows only)

static void HOperatorSet.SearchOperator(HTuple keyword, out HTuple operatorNames)

static HTuple HInfo.SearchOperator(string keyword)

def search_operator(keyword: str) -> Sequence[str]

描述

算子 search_operatorsearch_operatorSearchOperatorSearchOperatorSearchOperatorsearch_operator returns the names of all operators whose online-texts include the keyword KeywordKeywordKeywordKeywordkeywordkeyword (see also get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info). All available keywords are called by using the operator get_keywords(::”: <keywords>)get_keywords("", <keywords>)GetKeywords("", <keywords>)GetKeywords("", <keywords>)GetKeywords("", <keywords>)get_keywords("", <keywords>)。The online-texts are taken from the files operators_[LANG].ref, operators_[LANG].sta, operators_[LANG].key, operators_[LANG].num and operators_[LANG].idx, which are searched by HALCON in the currently used directory or the directory 'help_dir' (see also get_systemget_systemGetSystemGetSystemGetSystemget_system and get_systemget_systemGetSystemGetSystemGetSystemget_system).

执行信息

参数

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

Keyword for which corresponding operators are searched.

默认值: 'Information' "Information" "Information" "Information" "Information" "Information"

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

Operators whose slot 'keyword' contains the keyword.

结果

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

可能的前趋

get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords

另见

get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords, get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info, get_param_infoget_param_infoGetParamInfoGetParamInfoGetParamInfoget_param_info

模块

基础