Operator Reference

serialize_bar_code_modelT_serialize_bar_code_modelSerializeBarCodeModelSerializeBarCodeModelserialize_bar_code_model (Operator)

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_modelSerializeBarCodeModelSerializeBarCodeModelserialize_bar_code_model serializes a bar code model (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_bar_code_modelwrite_bar_code_modelWriteBarCodeModelWriteBarCodeModelwrite_bar_code_model is converted to a serialized item. The bar code model is defined by the handle BarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandlebar_code_handle. The serialized model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_bar_code_modeldeserialize_bar_code_modelDeserializeBarCodeModelDeserializeBarCodeModeldeserialize_bar_code_model.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

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

Handle of the bar code model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_modelSerializeBarCodeModelSerializeBarCodeModelserialize_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_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_bar_code_modeldeserialize_bar_code_modelDeserializeBarCodeModelDeserializeBarCodeModeldeserialize_bar_code_model

See also

create_bar_code_modelcreate_bar_code_modelCreateBarCodeModelCreateBarCodeModelcreate_bar_code_model, set_bar_code_paramset_bar_code_paramSetBarCodeParamSetBarCodeParamset_bar_code_param, find_bar_codefind_bar_codeFindBarCodeFindBarCodefind_bar_code

Module

Bar Code