serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModelserialize_variation_model (Operator)

Name

serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModelserialize_variation_model — Serialize a variation model.

Signature

serialize_variation_model( : : ModelID : SerializedItemHandle)

Herror T_serialize_variation_model(const Htuple ModelID, Htuple* SerializedItemHandle)

void SerializeVariationModel(const HTuple& ModelID, HTuple* SerializedItemHandle)

HSerializedItem HVariationModel::SerializeVariationModel() const

static void HOperatorSet.SerializeVariationModel(HTuple modelID, out HTuple serializedItemHandle)

HSerializedItem HVariationModel.SerializeVariationModel()

def serialize_variation_model(model_id: HHandle) -> HHandle

Description

serialize_variation_modelserialize_variation_modelSerializeVariationModelSerializeVariationModelSerializeVariationModelserialize_variation_model serializes the data of a variation 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_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModelwrite_variation_model is converted to a serialized item. The variation model is defined by the handle ModelIDModelIDModelIDModelIDmodelIDmodel_id. The serialized variation model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModelDeserializeVariationModeldeserialize_variation_model.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control)  variation_model HVariationModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

ID of the variation 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_variation_modelserialize_variation_modelSerializeVariationModelSerializeVariationModelSerializeVariationModelserialize_variation_model returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModeltrain_variation_model

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModelDeserializeVariationModeldeserialize_variation_model

See also

read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModelread_variation_model, write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModelwrite_variation_model

Module

Matching