ISE Production Code Functions ise::make_ise_file_name(0)

NAME

ise::make_ise_file_name()

SYNOPSIS

#include <ise.h>

int ise::make_ise_file_name()

DESCRIPTION

ise::make_ise_file_name()

The file name and path created will be the same as the string pointed to by the input_file_name ise data member, except that the extension of the file will be changed to .ise.

If this file already exists, then a 0 will be added on to the end of the file name, just before the extension.

If this file already exists, the function will keep incrementing this number and checking, until the new file name does not previously exist.

This is an ise class private function, and is only called within the ise class.

PRE-CONDITIONS

The user of the class has previously set the input_file_name data member.

POST-CONDITIONS

The output_file_name data member points to a string with a file name and file path, based upon the string pointed to by the input_file_name data member.

RETURN VALUES

An integer is returned indicating a success or failure.

0 will indicate a success.

1 will indicate a failure.

EXAMPLE USEAGE

This function is called privately by other ise functions.

SEE ALSO

ise::ise(), jpeg_ise::jpeg_ise(), ise::set_input_file_name()

TEAM ISE Last Change: 15 April 2004