net.sf.antcontrib.cpptasks.compiler
Interface Processor
- Compiler, Linker
- AbstractArLibrarian, AbstractCompiler, AbstractLdLinker, AbstractLinker, AbstractProcessor, ADSCCompiler, ADSLibrarian, ADSLinker, aCCCompiler, aCCLinker, BorlandCCompiler, BorlandLibrarian, BorlandLinker, BorlandResourceCompiler, C89CCompiler, C89Linker, ClxxCCompiler, ClxxLibrarian, ClxxLinker, CommandLineCCompiler, CommandLineCompiler, CommandLineFortranCompiler, CommandLineLinker, CompaqVisualFortranCompiler, CompaqVisualFortranLibrarian, CompaqVisualFortranLinker, 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, XpidlCompiler
public interface Processor
A processor. Base interface for Compiler and Linker
bid
public int bid(String inputFile)
Returns a bid indicating the desire of this compiler to process the
file.
- 0 = no interest, 100 = high interest
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment,
Environment env)
createConfiguration
public ProcessorConfiguration createConfiguration(CCTask task,
LinkType linkType,
ProcessorDef[] defaultProviders,
ProcessorDef specificConfig,
TargetDef targetPlatform,
VersionInfo versionInfo)
Returns the compiler configuration for or element.
defaultProviders
- When specificConfig corresponds to a or 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 elementspecificConfig
- A or element.
getIdentifier
public 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
public Linker getLinker(LinkType type)
Gets the linker that is associated with this processors
getOutputFileNames
public String[] getOutputFileNames(String inputFile,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
- output file name or null if no output file or name not
determined by input file
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.