[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


IFileSpec

A FileSpec allows you to specify a full path and file name as two different quantities.


Setting the Name - Name

Allows you to set the file spec name.


Arguments

BSTR pval - the quoted name of the file.


Return Value

None


Example Usage

Working with File Specs:


spec = "c:\testprojects\test1.mcp"
set spec = CW.Name( "mycode.c" )


Getting the Name - Name

Allows you to get the name.


Arguments

None


Return Value

BSTR* pval - the name of the file


Example Usage

Working with File Specs:


projectname = "c:\testprojects\test1.mcp"
set project = CW.Name()


Setting the Full Path - FullPath

Allows you to set the path.

Arguments

BSTR path - the path of the file spec to set.

Return Value

None


Getting the Full Path - FullPath

Allows you to get the path.

Arguments

None

Return Value

BSTR* path - the path of the file spec.


Cloning the FileSpec - Clone

This creates a new FileSpec that matches itself.


Arguments

None

Return Value

IFileSpec** pval - the new file spec.


Copying the FileSpec - Copy

This copies an existing FileSpec into a provided FileSpec.

Arguments

None

Return Value

IFileSpec* inSpec - the new file spec.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 02, 2000