OpenMake Meister

Openmake::File

 

This object contains convenience methods that are used to parse file names and return them in specific formats. This is useful in dealing with different compilers and operating systems where the file names need to be in a particular format.

 

The following terms are used in describing the results of the methods.

 

Windows

Drive -  Drive letter followed by a colon.

 

Path -  The path of the fully qualified name, excluding the drive letter, file, and extension.

 

File - The file portion, excluding the drive letter, path and extension.

 

Extension -  The extension of the file name.

 

Anchor - Drive letter and directory that are used to determine the relative

path of the file name.

 

 

Unix

 

Drive -  Does not exist on Unix. Any references to drive are return as "".

 

Path - The path of the fully qualified name, excluding the drive letter, file, and extension.

 

File - The file portion, excluding the drive letter, path and extension.

 

Extension - The extension of the file name.

 

Anchor - Drive letter and directory that are used to determine the relative

path of the file name.