net.sf.antcontrib.cpptasks.compiler
Interface ProcessorConfiguration

All Known Subinterfaces:
CompilerConfiguration, LinkerConfiguration

public interface ProcessorConfiguration

A configuration for a C++ compiler, linker or other processor

Author:
Curt Arnold

Method Summary
 int bid(java.lang.String filename)
          An indication of how much this compiler would like to process this file
 java.lang.String getIdentifier()
          Returns a string representation of this configuration.
 java.lang.String getOutputFileName(java.lang.String inputFile)
          Output file name (no path components) corresponding to source file
 boolean getRebuild()
          If true, all files using this configuration should be rebuilt and any existing output files should be ignored
 

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Returns a string representation of this configuration. Should be canonical so that equivalent configurations will have equivalent string representations

bid

public int bid(java.lang.String filename)
An indication of how much this compiler would like to process this file
Returns:
0 is no interest to process, 100 is strong interest to process

getRebuild

public boolean getRebuild()
If true, all files using this configuration should be rebuilt and any existing output files should be ignored

getOutputFileName

public java.lang.String getOutputFileName(java.lang.String inputFile)
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


Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.