Package net.sf.antcontrib.cpptasks.ibm
Class VisualAgeCCompiler
- java.lang.Object
-
public final class VisualAgeCCompiler extends GccCompatibleCCompiler
Adapter for the IBM(r) Visual Age(tm) C++ compiler for AIX(tm)
-
-
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 VisualAgeCCompiler
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
VisualAgeCCompiler(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.lang.String
getIdentifier()
Gets identifier for the compiler.static VisualAgeCCompiler
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, getEnvironmentIncludePath, 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, 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 VisualAgeCCompiler instance
-
identifier
private java.lang.String identifier
-
includePath
private java.io.File[] includePath
-
-
Constructor Detail
-
VisualAgeCCompiler
private VisualAgeCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
Private constructor. Use getInstance() to get singleton instance of this class.
-
-
Method Detail
-
getInstance
public static VisualAgeCCompiler 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
-
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
-
getIdentifier
public java.lang.String getIdentifier()
Gets identifier for the compiler. Initial attempt at extracting version information would lock up. Using a stock response.- Specified by:
getIdentifier
in interfaceProcessor
- Overrides:
getIdentifier
in classCommandLineCompiler
-
-