ClassesClasses | | Operators

serialize_bar_code_modelserialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModel (Operator)

Name

serialize_bar_code_modelserialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModel — Serialize a bar code model.

Signature

serialize_bar_code_model( : : BarCodeHandle : SerializedItemHandle)

Herror serialize_bar_code_model(const Hlong BarCodeHandle, Hlong* SerializedItemHandle)

Herror T_serialize_bar_code_model(const Htuple BarCodeHandle, Htuple* SerializedItemHandle)

void SerializeBarCodeModel(const HTuple& BarCodeHandle, HTuple* SerializedItemHandle)

HSerializedItem HBarCode::SerializeBarCodeModel() const

static void HOperatorSet.SerializeBarCodeModel(HTuple barCodeHandle, out HTuple serializedItemHandle)

HSerializedItem HBarCode.SerializeBarCodeModel()

Description

serialize_bar_code_modelserialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelSerializeBarCodeModel serializes a bar 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_bar_code_modelwrite_bar_code_modelWriteBarCodeModelWriteBarCodeModelWriteBarCodeModel is converted to a serialized item. The bar code model is defined by the handle BarCodeHandleBarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandle. The serialized model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_bar_code_modeldeserialize_bar_code_modelDeserializeBarCodeModelDeserializeBarCodeModelDeserializeBarCodeModel.

Execution Information

Parameters

BarCodeHandleBarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandle (input_control)  barcode HBarCode, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the bar code model.

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

Handle of the serialized item.

Result

The operator serialize_bar_code_modelserialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelSerializeBarCodeModel returns the value 2 (H_MSG_TRUE) if the passed handle of the bar code model is valid and if the model can be serialized into the serialized item. Otherwise, an exception is raised.

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_bar_code_modeldeserialize_bar_code_modelDeserializeBarCodeModelDeserializeBarCodeModelDeserializeBarCodeModel

See also

create_bar_code_modelcreate_bar_code_modelCreateBarCodeModelCreateBarCodeModelCreateBarCodeModel, set_bar_code_paramset_bar_code_paramSetBarCodeParamSetBarCodeParamSetBarCodeParam, find_bar_codefind_bar_codeFindBarCodeFindBarCodeFindBarCode

Module

Bar Code


ClassesClasses | | Operators