Herror ::write_class_box (
    const HTuple &ClassifHandle,
    const HTuple &FileName
)

Save the classificator in a file.

::write_class_box saves the classificator in a file. You may read the data by calling ::read_class_box.


Attention

If a file with this name exists, it is overwritten without a warning. The file can not be edited.


Parameters

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

FileName (input_control)
filename -> HTuple.char *
Name of the file which contains the written data.
Default value: 'klassifikator1'


Result

::write_class_box returns H_MSG_TRUE. An exception handling is raised if it was not possible to open file FileName.


Possible Predecessors

::create_class_box, ::enquire_class_box, ::learn_class_box, ::test_sampset_box, ::write_class_box


Possible Successors

::close_class_box, ::clear_sampset


See also

::create_class_box, ::read_class_box


Module

Tools



Copyright © 1996-2002 MVTec Software GmbH