serialize_ncc_modelT_serialize_ncc_modelSerializeNccModelSerializeNccModelserialize_ncc_model (Operator)
Name
serialize_ncc_modelT_serialize_ncc_modelSerializeNccModelSerializeNccModelserialize_ncc_model
— Serialize an NCC model.
Signature
def serialize_ncc_model(model_id: HHandle) -> HHandle
Description
serialize_ncc_modelserialize_ncc_modelSerializeNccModelSerializeNccModelSerializeNccModelserialize_ncc_model
serializes the data of an NCC model
(see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the
basic principle of serialization). The same data that is written
in a file by write_ncc_modelwrite_ncc_modelWriteNccModelWriteNccModelWriteNccModelwrite_ncc_model
is converted to a serialized
item. The NCC model is defined by the handle
ModelIDModelIDModelIDModelIDmodelIDmodel_id
. The serialized NCC model is returned
by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be
deserialized by deserialize_ncc_modeldeserialize_ncc_modelDeserializeNccModelDeserializeNccModelDeserializeNccModeldeserialize_ncc_model
.
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
ModelIDModelIDModelIDModelIDmodelIDmodel_id
(input_control) ncc_model →
HNCCModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(output_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_ncc_modelserialize_ncc_modelSerializeNccModelSerializeNccModelSerializeNccModelserialize_ncc_model
returns the value TRUE. If
necessary, an exception is raised.
Possible Predecessors
create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModelcreate_ncc_model
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_ncc_modeldeserialize_ncc_modelDeserializeNccModelDeserializeNccModelDeserializeNccModeldeserialize_ncc_model
Module
Matching