serialize_component_modelT_serialize_component_modelSerializeComponentModelSerializeComponentModelserialize_component_model (Operator)

Name

serialize_component_modelT_serialize_component_modelSerializeComponentModelSerializeComponentModelserialize_component_model — Serialize a component model.

Warning

serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModelserialize_component_model is obsolete and is only provided for reasons of backward compatibility.

Signature

serialize_component_model( : : ComponentModelID : 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()

def serialize_component_model(component_model_id: HHandle) -> HHandle

Description

serialize_component_modelserialize_component_modelSerializeComponentModelSerializeComponentModelserialize_component_model serializes the data of a component model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_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_modelWriteComponentModelWriteComponentModelwrite_component_model is converted to a serialized item. The component model is defined by the handle ComponentModelIDComponentModelIDComponentModelIDcomponentModelIDcomponent_model_id. The serialized component model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_component_modeldeserialize_component_modelDeserializeComponentModelDeserializeComponentModeldeserialize_component_model.

Execution Information

Parameters

ComponentModelIDComponentModelIDComponentModelIDcomponentModelIDcomponent_model_id (input_control)  component_model HComponentModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the component model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_modelSerializeComponentModelSerializeComponentModelserialize_component_model returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Module

Matching