deserialize_regionT_deserialize_regionDeserializeRegionDeserializeRegiondeserialize_region (Operator)

Name

deserialize_regionT_deserialize_regionDeserializeRegionDeserializeRegiondeserialize_region — Deserialize a serialized region.

Signature

deserialize_region( : Region : SerializedItemHandle : )

Herror T_deserialize_region(Hobject* Region, const Htuple SerializedItemHandle)

void DeserializeRegion(HObject* Region, const HTuple& SerializedItemHandle)

void HRegion::DeserializeRegion(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeRegion(out HObject region, HTuple serializedItemHandle)

void HRegion.DeserializeRegion(HSerializedItem serializedItemHandle)

def deserialize_region(serialized_item_handle: HHandle) -> HObject

Description

deserialize_regiondeserialize_regionDeserializeRegionDeserializeRegionDeserializeRegiondeserialize_region deserializes a region, that was serialized by serialize_regionserialize_regionSerializeRegionSerializeRegionSerializeRegionserialize_region (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized region is defined by the parameter SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized region is stored in the region defined by the parameter RegionRegionRegionRegionregionregion.

Execution Information

Parameters

RegionRegionRegionRegionregionregion (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Region.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator deserialize_regiondeserialize_regionDeserializeRegionDeserializeRegionDeserializeRegiondeserialize_region returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

read_imageread_imageReadImageReadImageReadImageread_image, fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_regionserialize_regionSerializeRegionSerializeRegionSerializeRegionserialize_region

Possible Successors

reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

See also

serialize_regionserialize_regionSerializeRegionSerializeRegionSerializeRegionserialize_region

Module

Foundation