ClassesClasses | | Operators

clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModels (Operator)

Name

clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModels — Delete all 2D data code models and free the allocated memory.

Warning

clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModelsClearAllDataCode2dModels is obsolete and is only provided for reasons of backward compatibility. New applications should not use clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModelsClearAllDataCode2dModels.
For an explanation of the concept of the 2D data code reader see the introduction of chapter Identification / Data Code.

Signature

clear_all_data_code_2d_models( : : : )

Herror clear_all_data_code_2d_models()

Herror T_clear_all_data_code_2d_models()

void ClearAllDataCode2dModels()

static void HOperatorSet.ClearAllDataCode2dModels()

Description

The operator clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModelsClearAllDataCode2dModels deletes all 2D data code models that were created by create_data_code_2d_modelcreate_data_code_2d_modelCreateDataCode2dModelCreateDataCode2dModelCreateDataCode2dModel or read_data_code_2d_modelread_data_code_2d_modelReadDataCode2dModelReadDataCode2dModelReadDataCode2dModel. All memory used by the models is freed. After the operator call all 2D data code handles are invalid.

Attention

clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModelsClearAllDataCode2dModels exists solely for the purpose of implementing the “reset program” functionality in HDevelop. clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModelsClearAllDataCode2dModels must not be used in any application.

Execution Information

Result

The operator clear_all_data_code_2d_modelsclear_all_data_code_2d_modelsClearAllDataCode2dModelsClearAllDataCode2dModelsClearAllDataCode2dModels returns the value 2 (H_MSG_TRUE) if all 2D data code models were freed correctly. Otherwise, an exception is raised.

Module

Data Code


ClassesClasses | | Operators