ClassesClasses | | Operators

serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModel (Operator)

Name

serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModel — Serialize a component model.

Signature

serialize_component_model( : : ComponentModelID : SerializedItemHandle)

Herror serialize_component_model(const Hlong ComponentModelID, Hlong* SerializedItemHandle)

Herror T_serialize_component_model(const Htuple ComponentModelID, Htuple* SerializedItemHandle)

void SerializeComponentModel(const HTuple& ComponentModelID, HTuple* SerializedItemHandle)

HSerializedItem HComponentModel::SerializeComponentModel() const

static void HOperatorSet.SerializeComponentModel(HTuple componentModelID, out HTuple serializedItemHandle)

HSerializedItem HComponentModel.SerializeComponentModel()

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

Parameters

ComponentModelIDComponentModelIDComponentModelIDComponentModelIDcomponentModelID (input_control)  component_model HComponentModel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the component model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

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


ClassesClasses | | Operators