serialize_component_modelT_serialize_component_modelSerializeComponentModelSerializeComponentModelserialize_component_model (Operator)
Name
serialize_component_modelT_serialize_component_modelSerializeComponentModelSerializeComponentModelserialize_component_model
— Serialize a component model.
Signature
Description
serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModelSerializeComponentModelserialize_component_model
serializes the data of a component
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_component_modelwrite_component_modelWriteComponentModelWriteComponentModelWriteComponentModelwrite_component_model
is converted to a serialized
item. The component model is defined by the handle
ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelIDcomponent_model_id
. The serialized component model is returned
by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized
by deserialize_component_modeldeserialize_component_modelDeserializeComponentModelDeserializeComponentModelDeserializeComponentModeldeserialize_component_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
ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelIDcomponent_model_id
(input_control) component_model →
HComponentModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the component 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_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModelSerializeComponentModelserialize_component_model
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
create_component_modelcreate_component_modelCreateComponentModelCreateComponentModelCreateComponentModelcreate_component_model
,
create_trained_component_modelcreate_trained_component_modelCreateTrainedComponentModelCreateTrainedComponentModelCreateTrainedComponentModelcreate_trained_component_model
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_component_modeldeserialize_component_modelDeserializeComponentModelDeserializeComponentModelDeserializeComponentModeldeserialize_component_model
Module
Matching