search_operatorT_search_operatorSearchOperatorSearchOperatorsearch_operator (Operator)
Name
search_operatorT_search_operatorSearchOperatorSearchOperatorsearch_operator
— Search names of all operators assigned to one keyword.
Signature
def search_operator(keyword: str) -> Sequence[str]
Description
The operator 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
).
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
KeywordKeywordKeywordKeywordkeywordkeyword
(input_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Keyword for which corresponding operators are searched.
Default value:
'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.
Result
The operator search_operatorsearch_operatorSearchOperatorSearchOperatorSearchOperatorsearch_operator
returns the value TRUE if the parameters
are correct and the helpfiles are available.
Otherwise an exception is raised.
Possible Predecessors
get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords
See also
get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords
,
get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info
,
get_param_infoget_param_infoGetParamInfoGetParamInfoGetParamInfoget_param_info
Module
Foundation