ClassesClasses | | Operators

serialize_data_code_2d_modelserialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModel (Operator)

Name

serialize_data_code_2d_modelserialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModel — Serialize a 2D data code model.

Signature

serialize_data_code_2d_model( : : DataCodeHandle : SerializedItemHandle)

Herror serialize_data_code_2d_model(const Hlong DataCodeHandle, Hlong* SerializedItemHandle)

Herror T_serialize_data_code_2d_model(const Htuple DataCodeHandle, Htuple* SerializedItemHandle)

void SerializeDataCode2dModel(const HTuple& DataCodeHandle, HTuple* SerializedItemHandle)

HSerializedItem HDataCode2D::SerializeDataCode2dModel() const

static void HOperatorSet.SerializeDataCode2dModel(HTuple dataCodeHandle, out HTuple serializedItemHandle)

HSerializedItem HDataCode2D.SerializeDataCode2dModel()

Description

serialize_data_code_2d_modelserialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModelSerializeDataCode2dModel serializes a 2D data code 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_data_code_2d_modelwrite_data_code_2d_modelWriteDataCode2dModelWriteDataCode2dModelWriteDataCode2dModel is converted to a serialized item. The 2D data code model is defined by the handle DataCodeHandleDataCodeHandleDataCodeHandleDataCodeHandledataCodeHandle. The serialized 2D data code model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_data_code_2d_modeldeserialize_data_code_2d_modelDeserializeDataCode2dModelDeserializeDataCode2dModelDeserializeDataCode2dModel.

For an explanation of the concept of the 2D data code reader see the introduction of chapter Identification / Data Code.

Execution Information

Parameters

DataCodeHandleDataCodeHandleDataCodeHandleDataCodeHandledataCodeHandle (input_control)  datacode_2d HDataCode2D, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the 2D data code model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_data_code_2d_modelserialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModelSerializeDataCode2dModel returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

set_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParamSetDataCode2dParam, find_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2dFindDataCode2d

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_data_code_2d_modeldeserialize_data_code_2d_modelDeserializeDataCode2dModelDeserializeDataCode2dModelDeserializeDataCode2dModel

Alternatives

get_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParamGetDataCode2dParam

See also

create_data_code_2d_modelcreate_data_code_2d_modelCreateDataCode2dModelCreateDataCode2dModelCreateDataCode2dModel, set_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParamSetDataCode2dParam, find_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2dFindDataCode2d

Module

Data Code


ClassesClasses | | Operators