serialize_ncc_modelT_serialize_ncc_modelSerializeNccModelSerializeNccModel (Operator)

Name

serialize_ncc_modelT_serialize_ncc_modelSerializeNccModelSerializeNccModel — Serialize an NCC model.

Signature

serialize_ncc_model( : : ModelID : SerializedItemHandle)

Herror T_serialize_ncc_model(const Htuple ModelID, Htuple* SerializedItemHandle)

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

HSerializedItem HNCCModel::SerializeNccModel() const

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

HSerializedItem HNCCModel.SerializeNccModel()

Description

serialize_ncc_modelserialize_ncc_modelSerializeNccModelSerializeNccModelSerializeNccModel serializes the data of an NCC 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_ncc_modelwrite_ncc_modelWriteNccModelWriteNccModelWriteNccModel is converted to a serialized item. The NCC model is defined by the handle ModelIDModelIDModelIDModelIDmodelID. The serialized NCC model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_ncc_modeldeserialize_ncc_modelDeserializeNccModelDeserializeNccModelDeserializeNccModel.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelID (input_control)  ncc_model HNCCModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

Possible Predecessors

create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModel

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_ncc_modeldeserialize_ncc_modelDeserializeNccModelDeserializeNccModelDeserializeNccModel

Module

Matching