Operator Reference

serialize_variation_modelT_serialize_variation_modelSerializeVariationModelSerializeVariationModelserialize_variation_model (Operator)

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_modelSerializeVariationModelSerializeVariationModelserialize_variation_model serializes the data of a variation 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_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelwrite_variation_model is converted to a serialized item. The variation model is defined by the handle ModelIDModelIDModelIDmodelIDmodel_id. The serialized variation model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModeldeserialize_variation_model.

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

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

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

Possible Predecessors

train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModeltrain_variation_model

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_variation_modeldeserialize_variation_modelDeserializeVariationModelDeserializeVariationModeldeserialize_variation_model

See also

read_variation_modelread_variation_modelReadVariationModelReadVariationModelread_variation_model, write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelwrite_variation_model

Module

Matching