net.sf.antcontrib.cpptasks.ibm
Class VisualAgeCCompiler

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
      extended by net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
          extended by net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
              extended by net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
                  extended by net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler
                      extended by net.sf.antcontrib.cpptasks.ibm.VisualAgeCCompiler
All Implemented Interfaces:
java.lang.Cloneable, Compiler, Processor

public final class VisualAgeCCompiler
extends GccCompatibleCCompiler

Adapter for the IBM(r) Visual Age(tm) C++ compiler for AIX(tm)

Author:
Curt Arnold

Field Summary
 
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
 
Method Summary
 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 class
 Linker getLinker(LinkType linkType)
          Gets the linker that is associated with this processors
 int 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
 

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 class GccCompatibleCCompiler

addWarningSwitch

public void addWarningSwitch(java.util.Vector args,
                             int level)
Overrides:
addWarningSwitch in class GccCompatibleCCompiler

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 class CommandLineCompiler

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 interface Processor
Overrides:
getIdentifier in class CommandLineCompiler


Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.