Skip to content

get_chapter_infoGetChapterInfoGetChapterInfoget_chapter_infoT_get_chapter_info🔗

説明🔗

get_chapter_infoGetChapterInfoGetChapterInfoget_chapter_infoT_get_chapter_info — オペレーターのカテゴリーに関する情報を得る。

書式🔗

get_chapter_info( string Chapter, out string Info )void GetChapterInfo( const HTuple& Chapter, HTuple* Info )static void HOperatorSet.GetChapterInfo( HTuple chapter, out HTuple info )def get_chapter_info( chapter: MaybeSequence[str] ) -> Sequence[str]

Herror T_get_chapter_info( const Htuple Chapter, Htuple* Info )

static HTuple HInfo::GetChapterInfo( const HTuple& Chapter )

static HTuple HInfo::GetChapterInfo( const HString& Chapter )

static HTuple HInfo::GetChapterInfo( const char* Chapter )

static HTuple HInfo::GetChapterInfo( const wchar_t* Chapter ) (Windows only)

static HTuple HInfo.GetChapterInfo( HTuple chapter )

static HTuple HInfo.GetChapterInfo( string chapter )

説明🔗

オペレーター get_chapter_infoGetChapterInfo は、プロシージャに関する章に ついての情報を与えます。もし Chapterchapterchapter の代わりに空の文字列が 渡されたならば、そのルーチンは Infoinfoinfo にすべての章の名前を 返します。一方、ある章もしくは章と節が(名前の tuple によって)渡されたならば、 対応する節もしくは対応するプロシージャの名前を返します。プロシージャに関する章の構成は HALCONマニュアルの章と節の構成 と同じです。プロシージャに関する章や個別のプロシージャに関する節 は、オペレーター get_operator_info(::<Name>,'chapter',Info:) を使用すること に よって呼び出すことができます。オンラインテキストは、ファイル operators_[LANG].ref, operators_[LANG].sta, operators_[LANG].num, operators_[LANG].key, operators_[LANG].idx から取り出されます。それらは、現在使用しているディレクトリもしくは ディレクトリ ‘help_dir’ 内を HALCON によって検索されます。( get_systemGetSystem と set_systemSetSystem を参照)

注意🔗

結果のエンコーディングはUTF-8です。

実行情報🔗

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

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

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

パラメーター🔗

Chapterchapterchapter (input_control) string(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)

興味あるプロシージャクラスもしくはサブクラス

初期値: ''""

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

プロシージャクラス (Chapterchapterchapter = ‘’) または プロシージャサブクラス

結果🔗

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

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

組み合わせ

前処理の候補

get_systemGetSystem, set_systemSetSystem

関連項目

get_operator_infoGetOperatorInfo, get_systemGetSystem, set_systemSetSystem

モジュール🔗

Foundation