deserialize_templateT_deserialize_templateDeserializeTemplateDeserializeTemplatedeserialize_template (Operator)

Name

deserialize_templateT_deserialize_templateDeserializeTemplateDeserializeTemplatedeserialize_template — Deserialize a serialized template.

Warning

deserialize_templatedeserialize_templateDeserializeTemplateDeserializeTemplateDeserializeTemplatedeserialize_template is obsolete and is only provided for reasons of backward compatibility. New applications should use the shape-based or NCC-based operators instead.

Signature

deserialize_template( : : SerializedItemHandle : TemplateID)

Herror T_deserialize_template(const Htuple SerializedItemHandle, Htuple* TemplateID)

void DeserializeTemplate(const HTuple& SerializedItemHandle, HTuple* TemplateID)

void HTemplate::DeserializeTemplate(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeTemplate(HTuple serializedItemHandle, out HTuple templateID)

void HTemplate.DeserializeTemplate(HSerializedItem serializedItemHandle)

def deserialize_template(serialized_item_handle: HHandle) -> HHandle

Description

deserialize_templatedeserialize_templateDeserializeTemplateDeserializeTemplateDeserializeTemplatedeserialize_template deserializes a template, that was serialized by serialize_templateserialize_templateSerializeTemplateSerializeTemplateSerializeTemplateserialize_template (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized template is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created template with the handle TemplateIDTemplateIDTemplateIDTemplateIDtemplateIDtemplate_id.

Execution Information

Parameters

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

Handle of the serialized item.

TemplateIDTemplateIDTemplateIDTemplateIDtemplateIDtemplate_id (output_control)  template HTemplate, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Template number.

Result

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_templateserialize_templateSerializeTemplateSerializeTemplateSerializeTemplateserialize_template

Possible Successors

adapt_templateadapt_templateAdaptTemplateAdaptTemplateAdaptTemplateadapt_template, set_reference_templateset_reference_templateSetReferenceTemplateSetReferenceTemplateSetReferenceTemplateset_reference_template, set_offset_templateset_offset_templateSetOffsetTemplateSetOffsetTemplateSetOffsetTemplateset_offset_template, best_matchbest_matchBestMatchBestMatchBestMatchbest_match, fast_matchfast_matchFastMatchFastMatchFastMatchfast_match, best_match_rotbest_match_rotBestMatchRotBestMatchRotBestMatchRotbest_match_rot

Module

Matching