Skip to content

integer_to_objIntegerToObjIntegerToObjinteger_to_objinteger_to_obj🔗

説明🔗

integer_to_objIntegerToObjIntegerToObjinteger_to_objinteger_to_obj — 整数をアイコンオブジェクトに変換する。

書式🔗

integer_to_obj( out object Objects, pointer SurrogateTuple )void IntegerToObj( HObject* Objects, const HTuple& SurrogateTuple )static void HOperatorSet.IntegerToObj( out HObject objects, HTuple surrogateTuple )def integer_to_obj( surrogate_tuple: MaybeSequence[int] ) -> HObject

Herror integer_to_obj( Hobject* Objects, const Hlong SurrogateTuple )

Herror T_integer_to_obj( Hobject* Objects, const Htuple SurrogateTuple )

void HObject::IntegerToObj( const HTuple& SurrogateTuple )

void HObject::IntegerToObj( void* SurrogateTuple )

void HObject.IntegerToObj( HTuple surrogateTuple )

void HObject.IntegerToObj( IntPtr surrogateTuple )

説明🔗

integer_to_objIntegerToObj は、obj_to_integerObjToInteger の逆のオペレー ターです。SurrogateTuplesurrogateTuplesurrogate_tuple に入力されたオブジェクトのすべて の代理がオブジェクトとして格納されます。obj_to_integerObjToInteger と は異なり、オブジェクトに対する複製が生成されます。C 言語内では、ア イコンオブジェクトと制御パラメーターが異なるものとして取り扱われる ので、integer_to_objIntegerToObj は HALCON/C 内での使用を意図していま す。値 00 を SurrogateTuplesurrogateTuplesurrogate_tuple に含めて渡すと、 00 は有効なポインタではないので、プログラムがクラッシュす ることに注意してください。

HALCON で使用できるアイコンオブジェクトの簡単な説明はObjectの章を参照してください。

注意🔗

オブジェクトはデータベース中で複製されます。

実行情報🔗

実行情報
  • 演算デバイス上のオブジェクトをサポート。

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

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

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

パラメーター🔗

Objectsobjectsobjects (output_object) object(-array) → objectHObjectHObjectHObjectHobject *

生成されたオブジェクト

SurrogateTuplesurrogateTuplesurrogate_tuple (input_control) pointer(-array) → (integer)HTuple (Hlong)HTuple (IntPtr)MaybeSequence[int]Htuple (Hlong)

オブジェクトの代理の tuple

結果🔗

すべてのパラメーターが正しい、つまり、それらが有効なオブジェクト キーであるならば、integer_to_objIntegerToObj は、値 2 (H_MSG_TRUE) を返します。 入力が空の場合、動作は set_system(::'no_object_result',<Result>:) を通じて設定で きます。 必要に応じて、例外が発生します。

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

組み合わせ

関連項目

obj_to_integerObjToInteger

モジュール🔗

Foundation