search_operatorT_search_operatorSearchOperatorSearchOperatorsearch_operator (算子名称)

名称

search_operatorT_search_operatorSearchOperatorSearchOperatorsearch_operator — Search names of all operators assigned to one keyword.

参数签名

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 该算子 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 (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Keyword for which corresponding operators are searched.

Default: 'Information' "Information" "Information" "Information" "Information" "Information"

OperatorNamesOperatorNamesOperatorNamesOperatorNamesoperatorNamesoperator_names (output_control)  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. Otherwise an exception is raised.

可能的前置算子

get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords

参考其它

get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords, get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info, get_param_infoget_param_infoGetParamInfoGetParamInfoGetParamInfoget_param_info

模块

Foundation