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


ICodeWarriorAccessPath

With this interface you can perform the following operations:

See Listing 3.3 for an example of how to use some of the access path functionality in a real script. You will want to call the ApplyChanges method to save your changes, as discussed in "Saving the Changes - ApplyChanges."


See if a Path is Recursive - Recursive


This allows you to determine whether an access path is set as recursive or not recursive.Refer to the IDE User Guide for a discussion of recursive access paths.


Arguments


None


Return Value

ICodeWarriorProject** pval - true or false, whether the path is set as recursive or not.


Set a Path to be Recursive - Recursive

This allows you to set an access path as recursive or not recursive. Refer to the IDE User Guide for a discussion of recursive access paths.


Arguments

Recursive takes the arguments shown in Table 3.2:

 

Argument
Functionality
VARIANT_BOOL pval  
true or false, whether the path should be set as recursive or not recursive  

ICodeWarriorAccessPath.Recursive Arguments:

Return Value

ICodeWarriorProject** pval - the project.


Fetching a Path - path


This allows you to get an access path.


Arguments


None


Return Value

IFileSpec** pval - the path.


Determining the Access Path Location - AccessPathLocation

This allows you to see if an access path is relative, absolute, or user-defined. Refer to the IDE User Guide for a discussion of access paths and absolute, relative, and user-defined settings.


Arguments


None


Return Value

EAccessPathLocation* pval - the access path setting.


Setting the Access Path Location - AccessPathLocation

This allows you to set an access path as relative, absolute, or user-defined. Refer to the IDE User Guide for a discussion of access paths and absolute, relative, and user-defined settings.


Arguments

AccessPathLocation takes the arguments shown in Table 3.3:

 

Argument
Functionality
EAccessPathLocation pval  
The access path location.  

ICodeWarriorAccessPath.AccessPathLocation Arguments:

Return Value

None


Determining the Access Path Type - AccessPathType

This allows you to get an access path type, such as kUserDefined.


Arguments


None


Return Value

EAccessPathType* pval - the access path type.


Fetch the User-Defined User Tree Object - UserTree

This is not yet implemented.


Getting Subdirectories - SubDirectories

This is not yet implemented.


[ 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