serialize_bar_code_modelT_serialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelserialize_bar_code_model (Operator)

Name

serialize_bar_code_modelT_serialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelserialize_bar_code_model — Serialize a bar code model.

Signature

serialize_bar_code_model( : : BarCodeHandle : 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()

def serialize_bar_code_model(bar_code_handle: HHandle) -> HHandle

Description

serialize_bar_code_modelserialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelSerializeBarCodeModelserialize_bar_code_model serializes a bar code model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item 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_modelWriteBarCodeModelWriteBarCodeModelWriteBarCodeModelwrite_bar_code_model is converted to a serialized item. The bar code model is defined by the handle BarCodeHandleBarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandlebar_code_handle. The serialized model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_bar_code_modeldeserialize_bar_code_modelDeserializeBarCodeModelDeserializeBarCodeModelDeserializeBarCodeModeldeserialize_bar_code_model.

Execution Information

Parameters

BarCodeHandleBarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandlebar_code_handle (input_control)  barcode HBarCode, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the bar code model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (output_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

The operator serialize_bar_code_modelserialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelSerializeBarCodeModelserialize_bar_code_model 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_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_bar_code_modeldeserialize_bar_code_modelDeserializeBarCodeModelDeserializeBarCodeModelDeserializeBarCodeModeldeserialize_bar_code_model

See also

create_bar_code_modelcreate_bar_code_modelCreateBarCodeModelCreateBarCodeModelCreateBarCodeModelcreate_bar_code_model, set_bar_code_paramset_bar_code_paramSetBarCodeParamSetBarCodeParamSetBarCodeParamset_bar_code_param, find_bar_codefind_bar_codeFindBarCodeFindBarCodeFindBarCodefind_bar_code

Module

Bar Code