ClassesClasses | | Operators

serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModel (Operator)

Name

serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModel — 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()

Description

serialize_variation_modelserialize_variation_modelSerializeVariationModelSerializeVariationModelSerializeVariationModel serializes the data of a variation 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_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModel is converted to a serialized item. The variation model is defined by the handle ModelIDModelIDModelIDModelIDmodelID. The serialized variation model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModelDeserializeVariationModel.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelID (input_control)  variation_model HVariationModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

Possible Predecessors

train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModel

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModelDeserializeVariationModel

See also

read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModel, write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModel

Module

Matching


ClassesClasses | | Operators