insert_objinsert_objInsertObjInsertObjinsert_obj (Operator)
Name
insert_objinsert_objInsertObjInsertObjinsert_obj — Einfügen von Bildobjekten in ein ikonisches Objekt-Tupel.
Signatur
void InsertObj(const HObject& Objects, const HObject& ObjectsInsert, HObject* ObjectsExtended, const HTuple& Index)
HObject HObject::InsertObj(const HObject& ObjectsInsert, Hlong Index) const
HImage HImage::InsertObj(const HImage& ObjectsInsert, Hlong Index) const
HRegion HRegion::InsertObj(const HRegion& ObjectsInsert, Hlong Index) const
HXLD HXLD::InsertObj(const HXLD& ObjectsInsert, Hlong Index) const
HXLDCont HXLDCont::InsertObj(const HXLDCont& ObjectsInsert, Hlong Index) const
HXLDPoly HXLDPoly::InsertObj(const HXLDPoly& ObjectsInsert, Hlong Index) const
HXLDPara HXLDPara::InsertObj(const HXLDPara& ObjectsInsert, Hlong Index) const
HXLDModPara HXLDModPara::InsertObj(const HXLDModPara& ObjectsInsert, Hlong Index) const
HXLDExtPara HXLDExtPara::InsertObj(const HXLDExtPara& ObjectsInsert, Hlong Index) const
static void HOperatorSet.InsertObj(HObject objects, HObject objectsInsert, out HObject objectsExtended, HTuple index)
HObject HObject.InsertObj(HObject objectsInsert, int index)
HImage HImage.InsertObj(HImage objectsInsert, int index)
HRegion HRegion.InsertObj(HRegion objectsInsert, int index)
HXLD HXLD.InsertObj(HXLD objectsInsert, int index)
HXLDCont HXLDCont.InsertObj(HXLDCont objectsInsert, int index)
HXLDPoly HXLDPoly.InsertObj(HXLDPoly objectsInsert, int index)
HXLDPara HXLDPara.InsertObj(HXLDPara objectsInsert, int index)
HXLDModPara HXLDModPara.InsertObj(HXLDModPara objectsInsert, int index)
HXLDExtPara HXLDExtPara.InsertObj(HXLDExtPara objectsInsert, int index)
Beschreibung
insert_objinsert_objInsertObjInsertObjInsertObjinsert_obj fügt die Elemente von ObjectsInsertObjectsInsertObjectsInsertObjectsInsertobjectsInsertobjects_insert in das
Object-Tupel ObjectsObjectsObjectsObjectsobjectsobjects an der Stelle IndexIndexIndexIndexindexindex ein und gibt
das Ergebnis in ObjectsExtendedObjectsExtendedObjectsExtendedObjectsExtendedobjectsExtendedobjects_extended zurück.
IndexIndexIndexIndexindexindex muss einen einelementigen Integerwert enthalten.
Dabei ist zu beachten, dass die Indizes anders als bei Steuerungs-Tupeln bei
Objekt-Tupeln mit 1 beginnen. Die Länge von ObjectsExtendedObjectsExtendedObjectsExtendedObjectsExtendedobjectsExtendedobjects_extended ist die
Summe der Länge von ObjectsObjectsObjectsObjectsobjectsobjects und ObjectsInsertObjectsInsertObjectsInsertObjectsInsertobjectsInsertobjects_insert.
Bilder, Regionen und XLDs können in ObjectsObjectsObjectsObjectsobjectsobjects und
ObjectsInsertObjectsInsertObjectsInsertObjectsInsertobjectsInsertobjects_insert gemischt verwendet werden.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
ObjectsObjectsObjectsObjectsobjectsobjects (input_object) object(-array) → objectHObjectHObjectHObjectHobject
Eingabe Objekt-Tupel.
ObjectsInsertObjectsInsertObjectsInsertObjectsInsertobjectsInsertobjects_insert (input_object) object(-array) → objectHObjectHObjectHObjectHobject
Einzufügendes Objekt-Tupel.
ObjectsExtendedObjectsExtendedObjectsExtendedObjectsExtendedobjectsExtendedobjects_extended (output_object) object(-array) → objectHObjectHObjectHObjectHobject *
Erweitertes Ausgabe Objekt-Tupel.
IndexIndexIndexIndexindexindex (input_control) number → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Einfüge-Index.
Beispiel (HDevelop)
gen_image_const (Image1, 'byte', 1, 1)
gen_image_const (Image3, 'byte', 3, 3)
concat_obj (Image1, Image3, Images)
gen_image_const (Image, 'byte', 2, 2)
insert_obj (Images, Image, Images, 2)
Komplexität
Typische Komplexität der Laufzeit: O(|ObjectsObjectsObjectsObjectsobjectsobjects| + |ObjectsInsertObjectsInsertObjectsInsertObjectsInsertobjectsInsertobjects_insert|).
Vorgänger
count_objcount_objCountObjCountObjCountObjcount_obj
Nachfolger
count_objcount_objCountObjCountObjCountObjcount_obj
Alternativen
concat_objconcat_objConcatObjConcatObjConcatObjconcat_obj
Siehe auch
count_objcount_objCountObjCountObjCountObjcount_obj,
select_objselect_objSelectObjSelectObjSelectObjselect_obj,
copy_objcopy_objCopyObjCopyObjCopyObjcopy_obj,
remove_objremove_objRemoveObjRemoveObjRemoveObjremove_obj
Modul
Foundation