Skip to content

search_operatorSearchOperatorSearchOperatorsearch_operatorT_search_operator🔗

説明🔗

search_operatorSearchOperatorSearchOperatorsearch_operatorT_search_operator — 1 つのキーワードに割り当てられたすべてのオペレーター名を検索する。

書式🔗

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 )

説明🔗

オペレーター search_operatorSearchOperator は、オンラインテキストが キーワード Keywordkeywordkeyword (get_operator_infoGetOperatorInfo を参照)を含む すべてのプロシージャ名を返します。利用できるすべてのキーワードは、 オペレーター get_keywords(::'': <keywords>) を使用することに よって参照できます。オンラインテキストは operators_[LANG].ref、 operators_[LANG].sta、operators_[LANG].key、 operators_[LANG].num と operators_[LANG].idx から取り出されます。そ れは HALCON によって、カレントディレクトリあるいは ‘help_dir’ ( get_systemGetSystem と get_systemGetSystem を参照)内で検索されま す。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

Keywordkeywordkeyword (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

対応するオペレーターが探索されるキーワード

初期値: 'Information'"Information"

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

キーワードを含むプロシージャ

結果🔗

パラメーターが正しく、ヘルプファイルが利用できるならば、 オペレーター search_operatorSearchOperator は値 2 (H_MSG_TRUE) を返します。そうで なければ、例外が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

get_keywordsGetKeywords

関連項目

get_keywordsGetKeywords, get_operator_infoGetOperatorInfo, get_param_infoGetParamInfo

モジュール🔗

Foundation