serialize_component_modelT_serialize_component_modelSerializeComponentModelSerializeComponentModel (Operator)
Name
serialize_component_modelT_serialize_component_modelSerializeComponentModelSerializeComponentModel
— Serialize a component model.
Signature
Description
serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModelSerializeComponentModel
serializes the data of a component
model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
for an introduction of the
basic principle of serialization). The same data that is written
in a file by write_component_modelwrite_component_modelWriteComponentModelWriteComponentModelWriteComponentModel
is converted to a serialized
item. The component model is defined by the handle
ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelID
. The serialized component model is returned
by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
and can be deserialized
by deserialize_component_modeldeserialize_component_modelDeserializeComponentModelDeserializeComponentModelDeserializeComponentModel
.
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
ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelID
(input_control) component_model →
HComponentModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the component model.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
(output_control) serialized_item →
HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModelSerializeComponentModel
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
create_component_modelcreate_component_modelCreateComponentModelCreateComponentModelCreateComponentModel
,
create_trained_component_modelcreate_trained_component_modelCreateTrainedComponentModelCreateTrainedComponentModelCreateTrainedComponentModel
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem
,
deserialize_component_modeldeserialize_component_modelDeserializeComponentModelDeserializeComponentModelDeserializeComponentModel
Module
Matching