Operator Reference

deserialize_ncc_modelT_deserialize_ncc_modelDeserializeNccModelDeserializeNccModeldeserialize_ncc_model (Operator)

deserialize_ncc_modelT_deserialize_ncc_modelDeserializeNccModelDeserializeNccModeldeserialize_ncc_model — Deserialize an NCC model.

Signature

deserialize_ncc_model( : : SerializedItemHandle : ModelID)

Herror T_deserialize_ncc_model(const Htuple SerializedItemHandle, Htuple* ModelID)

void DeserializeNccModel(const HTuple& SerializedItemHandle, HTuple* ModelID)

void HNCCModel::DeserializeNccModel(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeNccModel(HTuple serializedItemHandle, out HTuple modelID)

void HNCCModel.DeserializeNccModel(HSerializedItem serializedItemHandle)

def deserialize_ncc_model(serialized_item_handle: HHandle) -> HHandle

Description

deserialize_ncc_modeldeserialize_ncc_modelDeserializeNccModelDeserializeNccModeldeserialize_ncc_model deserializes an NCC model, that was serialized by serialize_ncc_modelserialize_ncc_modelSerializeNccModelSerializeNccModelserialize_ncc_model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized NCC model model is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created NCC model with the handle ModelIDModelIDModelIDmodelIDmodel_id.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

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

Handle of the serialized item.

ModelIDModelIDModelIDmodelIDmodel_id (output_control)  ncc_model HNCCModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

Result

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_ncc_modelserialize_ncc_modelSerializeNccModelSerializeNccModelserialize_ncc_model

Possible Successors

find_ncc_modelfind_ncc_modelFindNccModelFindNccModelfind_ncc_model

See also

create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelcreate_ncc_model, clear_ncc_modelclear_ncc_modelClearNccModelClearNccModelclear_ncc_model

Module

Matching