ISE Production Code Functions ise::set_input_file_name(1)

NAME

ise::set_input_file_name()

SYNOPSIS

#include <ise.h>

int ise::set_input_file_name(char* name)

DESCRIPTION

ise::set_input_file_name()

This method is used to set the input_file_name data member for an ise object.

The method must be called prior to the encryption or decryption methods if the input_file_name was not specified in the constructor.

PRE-CONDITIONS

name must be a pointer to a valid jpeg or ise file type.

POST-CONDITIONS

The input_file_name data member will be set using the new string specified.

Any previous data in input_file_name will be lost.

PARAMETERS

name is a pointer to a character string containing the input_file_name, specifying the input file to encryption or decryption.

RETURN VALUES

An integer is returned indicating a success or failure.

0 will indicate a success.

1 will indicate an invalid input file name.

EXAMPLE USEAGE

// MyJpegIseIbj must be of type jpeg_ise

// set a jpeg input file for encryption

MyJpegIseObj.set_input_file_name(MyJpeg);

// set an ise input file for decryption

MyJpegIseObj.set_input_file_name(MyISE);

SEE ALSO

ise::ise(), jpeg_ise::jpeg_ise(), ise::set_key(), ise::set_output_file_name()

TEAM ISE Last Change: 15 April 2004