read_class_box ( : : ClassifHandle, FileName : )

Read the classificator from a file.

read_class_box reads the saved classificator from the file FileName (see write_class_box). The values of the current classificator are overwritten.


Attention

All values of the classificator are going to be overwritten.


Parameters

ClassifHandle (input_control)
class_box -> integer
Classificator's handle number.

FileName (input_control)
filename -> string
Filename of the classificators.
Default value: 'klassifikator1'


Result

read_class_box returns 2 (H_MSG_TRUE). An exception handling is raised if it was not possible to open file FileName or the file has the wrong format.


Parallelization Information

read_class_box is local and processed completely exclusively without parallelization.


Possible Predecessors

create_class_box


Possible Successors

test_sampset_box, enquire_class_box, write_class_box, close_class_box, clear_sampset


See also

create_class_box, write_class_box


Module

Tools



Copyright © 1996-2005 MVTec Software GmbH