serialize_training_componentsT_serialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components (Operator)

Name

serialize_training_componentsT_serialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components — Serialize a component training result.

Warning

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

Signature

serialize_training_components( : : ComponentTrainingID : SerializedItemHandle)

Herror T_serialize_training_components(const Htuple ComponentTrainingID, Htuple* SerializedItemHandle)

void SerializeTrainingComponents(const HTuple& ComponentTrainingID, HTuple* SerializedItemHandle)

HSerializedItem HComponentTraining::SerializeTrainingComponents() const

static void HOperatorSet.SerializeTrainingComponents(HTuple componentTrainingID, out HTuple serializedItemHandle)

HSerializedItem HComponentTraining.SerializeTrainingComponents()

def serialize_training_components(component_training_id: HHandle) -> HHandle

Description

serialize_training_componentsserialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components serializes the data of a component training result (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_training_componentswrite_training_componentsWriteTrainingComponentsWriteTrainingComponentswrite_training_components is converted to a serialized item. The component training result is defined by the handle ComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingIDcomponent_training_id. The serialized component training result is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components.

Execution Information

Parameters

ComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingIDcomponent_training_id (input_control)  component_training HComponentTraining, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training result.

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

Module

Matching