net.sf.antcontrib.cpptasks.sun

Class ForteCCCompiler

Implemented Interfaces:
Cloneable, Compiler, Processor

public final class ForteCCCompiler
extends GccCompatibleCCompiler

Adapter for the Sun (r) Forte (tm) C++ compiler
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(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
void
addWarningSwitch(Vector args, int level)
File[]
getEnvironmentIncludePath()
static ForteCCCompiler
getInstance()
Gets singleton instance of this class
Linker
getLinker(LinkType linkType)
int
getMaximumCommandLength()

Methods inherited from class net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler

addImpliedArgs, addIncludePath, addWarningSwitch, 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

addImpliedArgs, addIncludes, addWarningSwitch, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getDefineSwitch, getEnvironmentIncludePath, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, getUndefineSwitch, runCommand, setCommand

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler

canParse, createConfiguration, createConfiguration, createParser, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor

bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString

Method Details

addImpliedArgs

public void addImpliedArgs(Vector args,
                           boolean debug,
                           boolean multithreaded,
                           boolean exceptions,
                           LinkType linkType,
                           Boolean rtti,
                           OptimizationEnum optimization)
Overrides:
addImpliedArgs in interface GccCompatibleCCompiler

addWarningSwitch

public void addWarningSwitch(Vector args,
                             int level)
Overrides:
addWarningSwitch in interface GccCompatibleCCompiler

getEnvironmentIncludePath

public File[] getEnvironmentIncludePath()
Overrides:
getEnvironmentIncludePath in interface GccCompatibleCCompiler

getInstance

public static ForteCCCompiler getInstance()
Gets singleton instance of this class

getLinker

public Linker getLinker(LinkType linkType)
Specified by:
getLinker in interface Processor

getMaximumCommandLength

public int getMaximumCommandLength()
Overrides:
getMaximumCommandLength in interface CommandLineCompiler

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.