Interface Processor
- All Known Implementing Classes:
AbstractArLibrarian
,AbstractCompiler
,AbstractLdLinker
,AbstractLinker
,AbstractProcessor
,aCCCompiler
,aCCLinker
,ADSCCompiler
,ADSLibrarian
,ADSLinker
,BorlandCCompiler
,BorlandLibrarian
,BorlandLinker
,BorlandResourceCompiler
,C89CCompiler
,C89Linker
,ClxxCCompiler
,ClxxLibrarian
,ClxxLinker
,CommandLineCCompiler
,CommandLineCompiler
,CommandLineFortranCompiler
,CommandLineLinker
,CompaqVisualFortranCompiler
,CompaqVisualFortranLibrarian
,CompaqVisualFortranLinker
,DevStudio2005CCompiler
,DevStudioCCompiler
,DevStudioCompatibleCCompiler
,DevStudioCompatibleLibrarian
,DevStudioCompatibleLinker
,DevStudioLibrarian
,DevStudioLinker
,DevStudioMIDLCompiler
,DevStudioResourceCompiler
,ForteCCCompiler
,ForteCCLinker
,GccCCompiler
,GccCCompiler
,GccCCompiler
,GccCompatibleCCompiler
,GccLibrarian
,GccLibrarian
,GccLibrarian
,GccLinker
,GccLinker
,GccLinker
,GppLinker
,GppLinker
,GppLinker
,IccCompiler
,IccLinker
,IntelLinux32CCompiler
,IntelLinux32Linker
,IntelLinux64CCompiler
,IntelLinux64Linker
,IntelWin32CCompiler
,IntelWin32Librarian
,IntelWin32Linker
,IntelWin64CCompiler
,LdLinker
,LdLinker
,LdLinker
,MetaObjectCompiler
,OpenWatcomCCompiler
,OpenWatcomCLinker
,OpenWatcomCompiler
,OpenWatcomFortranCompiler
,OpenWatcomFortranLinker
,OpenWatcomLibrarian
,OpenWatcomLinker
,OS390CCompiler
,OS390Linker
,PrecompilingCommandLineCCompiler
,PrecompilingCommandLineCompiler
,UserInterfaceCompiler
,VisualAgeCCompiler
,VisualAgeLinker
,WindresResourceCompiler
,XpidlCompiler
public interface Processor
A processor. Base interface for Compiler and Linker
- Author:
- Curt Arnold
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns a bid indicating the desire of this compiler to process the file.changeEnvironment
(boolean newEnvironment, org.apache.tools.ant.types.Environment env) createConfiguration
(CCTask task, LinkType linkType, ProcessorDef[] defaultProviders, ProcessorDef specificConfig, TargetDef targetPlatform, VersionInfo versionInfo) Returns the compiler configuration foror element. Retrieve an identifier that identifies the specific version of the compiler.Gets the linker that is associated with this processorsString[]
getOutputFileNames
(String inputFile, VersionInfo versionInfo) Output file name (no path components) corresponding to source file
-
Method Details
-
bid
Returns a bid indicating the desire of this compiler to process the file.- Parameters:
inputFile
- input file- Returns:
- 0 = no interest, 100 = high interest
-
changeEnvironment
-
createConfiguration
ProcessorConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] defaultProviders, ProcessorDef specificConfig, TargetDef targetPlatform, VersionInfo versionInfo) Returns the compiler configuration foror element. - Parameters:
defaultProviders
- When specificConfig corresponds to aor linker element, defaultProvider will be a zero to two element array. If there is an extends attribute, the first element will be the referenced ProcessorDef, unless inherit = false, the last element will be the containing element specificConfig
- Aor element. - Returns:
- resulting configuration
-
getIdentifier
String getIdentifier()Retrieve an identifier that identifies the specific version of the compiler. Compilers with the same identifier should produce the same output files for the same input files and command line switches. -
getLinker
Gets the linker that is associated with this processors -
getOutputFileNames
Output file name (no path components) corresponding to source file- Parameters:
inputFile
- input file- Returns:
- output file name or null if no output file or name not determined by input file
-