Herror ::read_class_box (
    const HTuple &ClassifHandle,
    const HTuple &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 -> HTuple.long
Classificator's handle number.

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


Result

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


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-2002 MVTec Software GmbH