Package net.sf.antcontrib.cpptasks.hp
Class aCCCompiler
- java.lang.Object
-
public final class aCCCompiler extends GccCompatibleCCompiler
Adapter for the HP aC++ C++ compiler
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]
headerExtensions
private java.lang.String
identifier
private java.io.File[]
includePath
private static aCCCompiler
instance
private static java.lang.String[]
sourceExtensions
-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Constructor Summary
Constructors Modifier Constructor Description private
aCCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
Private constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)
void
addWarningSwitch(java.util.Vector args, int level)
java.io.File[]
getEnvironmentIncludePath()
static aCCCompiler
getInstance()
Gets singleton instance of this classLinker
getLinker(LinkType linkType)
Gets the linker that is associated with this processorsint
getMaximumCommandLength()
-
Methods inherited from class net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler
addIncludePath, getDefineSwitch, getIncludeDirSwitch, getUndefineSwitch
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParser
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid, changeEnvironment
-
-
-
-
Field Detail
-
headerExtensions
private static final java.lang.String[] headerExtensions
-
sourceExtensions
private static final java.lang.String[] sourceExtensions
-
instance
private static final aCCCompiler instance
-
identifier
private java.lang.String identifier
-
includePath
private java.io.File[] includePath
-
-
Constructor Detail
-
aCCCompiler
private aCCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
Private constructor. Use GccCCompiler.getInstance() to get singleton instance of this class.
-
-
Method Detail
-
getInstance
public static aCCCompiler getInstance()
Gets singleton instance of this class
-
addImpliedArgs
public void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)
- Overrides:
addImpliedArgs
in classGccCompatibleCCompiler
-
addWarningSwitch
public void addWarningSwitch(java.util.Vector args, int level)
- Overrides:
addWarningSwitch
in classGccCompatibleCCompiler
-
getEnvironmentIncludePath
public java.io.File[] getEnvironmentIncludePath()
- Overrides:
getEnvironmentIncludePath
in classGccCompatibleCCompiler
-
getLinker
public Linker getLinker(LinkType linkType)
Description copied from interface:Processor
Gets the linker that is associated with this processors
-
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLength
in classCommandLineCompiler
-
-