Skip to content

search_operatorSearchOperatorSearchOperatorsearch_operatorT_search_operatorπŸ”—

Short descriptionπŸ”—

search_operatorSearchOperatorSearchOperatorsearch_operatorT_search_operator β€” Search names of all operators assigned to one keyword.

SignatureπŸ”—

search_operator( string Keyword, out string OperatorNames )void SearchOperator( const HTuple& Keyword, HTuple* OperatorNames )static void HOperatorSet.SearchOperator( HTuple keyword, out HTuple operatorNames )def search_operator( keyword: str ) -> Sequence[str]

Herror T_search_operator( 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 HTuple HInfo.SearchOperator( string keyword )

DescriptionπŸ”—

The operator search_operatorSearchOperator returns the names of all operators whose online-texts include the keyword Keywordkeywordkeyword (see also get_operator_infoGetOperatorInfo). All available keywords are called by using the operator 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_systemGetSystem and get_systemGetSystem).

Execution informationπŸ”—

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πŸ”—

Keywordkeywordkeyword (input_control) string β†’ (string)HTuple (HString)HTuple (string)strHtuple (char*)

Keyword for which corresponding operators are searched.

Default: 'Information'"Information"

OperatorNamesoperatorNamesoperator_names (output_control) string-array β†’ (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

Operators whose slot β€˜keyword’ contains the keyword.

ResultπŸ”—

The operator search_operatorSearchOperator returns the value 2 (H_MSG_TRUE) if the parameters are correct and the helpfiles are available. Otherwise an exception is raised.

Combinations with other operatorsπŸ”—

Combinations

Possible predecessors

get_keywordsGetKeywords

See also

get_keywordsGetKeywords, get_operator_infoGetOperatorInfo, get_param_infoGetParamInfo

ModuleπŸ”—

Foundation