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[]headerExtensionsprivate java.lang.Stringidentifierprivate java.io.File[]includePathprivate static aCCCompilerinstanceprivate 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 privateaCCCompiler(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 voidaddImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)voidaddWarningSwitch(java.util.Vector args, int level)java.io.File[]getEnvironmentIncludePath()static aCCCompilergetInstance()Gets singleton instance of this classLinkergetLinker(LinkType linkType)Gets the linker that is associated with this processorsintgetMaximumCommandLength()-
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:
addImpliedArgsin classGccCompatibleCCompiler
-
addWarningSwitch
public void addWarningSwitch(java.util.Vector args, int level)- Overrides:
addWarningSwitchin classGccCompatibleCCompiler
-
getEnvironmentIncludePath
public java.io.File[] getEnvironmentIncludePath()
- Overrides:
getEnvironmentIncludePathin classGccCompatibleCCompiler
-
getLinker
public Linker getLinker(LinkType linkType)
Description copied from interface:ProcessorGets the linker that is associated with this processors
-
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLengthin classCommandLineCompiler
-
-