File Identification

 

 

·Some "Public" variables used for the file names and status of the file:

 

Public:

 

 

 

 

m_name_GLI (char *)

The complete path of the file.

 

m_name_TAG_save (char **)

An array of the complete path to all the saved TAG files. The number of paths is defined by the variable "m_bunch_nb".

 

m_name_TAG_read (char **)

An array of the complete path to all the read TAG files.

 

m_flag (char)

A flag indicating that the TAG data has been modified and need to be saved.

 

m_date (time_t)

The date the file has been read in sliceO.

 

 

 

·Some methods to define the class instance. Some of these are derived from the parent (SliceO) class:

 

Private:

m_class_a (unsigned short)

 

The exact meaning of the content of "A" depend on the class:

SliceO_File

not used

 

Public:

Class_A_Get

Return the value of the "m_class_a" variable.

 

Class_A_Set

Set the value of the "m_class_a" variable.

 

Private:

m_class_b (unsigned short)

 

The exact meaning of content of "B" depend on the class:

SliceO_File

A status flag (FILE_OPEN, FILE_BAD_DIM,...)

 

Public:

Class_B_Get

Return the value of the "m_class_b" variable.

 

Class_B_Set

Set the value of the "m_class_b" variable.

 

 

Private:

m_name (char *)

 

Name of the class instance

Public:

Name_Get

 

Return the name of the class instance

Name_Set

 

Assign a name to the class instance

 

And some are specific to the SliceO_File class:

 

Public:

Match

 

A method used to compare this file to another.  It returns 0 if this instance's name is the same as the name provided as argument, >0 or <0 if different.