From 683d490074d93baa8a47db7ec43b7bd31145a12a Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 5 Nov 2009 23:00:15 +0100 Subject: Tar file expanded and committed --- .../net/sf/antcontrib/cpptasks/CompilerDef.html | 961 +++++++++++++++++++++ 1 file changed, 961 insertions(+) create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/CompilerDef.html (limited to 'site/apidocs/net/sf/antcontrib/cpptasks/CompilerDef.html') diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/CompilerDef.html b/site/apidocs/net/sf/antcontrib/cpptasks/CompilerDef.html new file mode 100644 index 0000000..640dded --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/CompilerDef.html @@ -0,0 +1,961 @@ + + + + + + + +CompilerDef (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks +
+Class CompilerDef

+
+java.lang.Object
+  extended by org.apache.tools.ant.ProjectComponent
+      extended by org.apache.tools.ant.types.DataType
+          extended by net.sf.antcontrib.cpptasks.ProcessorDef
+              extended by net.sf.antcontrib.cpptasks.CompilerDef
+
+
+
+
public final class CompilerDef
extends ProcessorDef
+ + +

+A compiler definition. compiler elements may be placed either as children of + a cc element or the project element. A compiler element with an id attribute + may be referenced from compiler elements with refid or extends attributes. +

+ +

+

+
Author:
+
Adam Murdoch
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class net.sf.antcontrib.cpptasks.ProcessorDef
newEnvironment
+ + + + + + + +
Fields inherited from class org.apache.tools.ant.types.DataType
checked, description, ref
+ + + + + + + +
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
+  + + + + + + + + + + +
+Constructor Summary
CompilerDef() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfiguredCompilerArg(CompilerArgument arg) + +
+          Adds a compiler command-line arg.
+ voidaddConfiguredCompilerParam(CompilerParam param) + +
+          Adds a compiler command-line arg.
+ voidaddConfiguredDefineset(DefineSet defs) + +
+          Adds a defineset.
+ IncludePathcreateIncludePath() + +
+          Creates an include path.
+ PrecompileDefcreatePrecompile() + +
+          Specifies precompilation prototype file and exclusions.
+ SystemIncludePathcreateSysIncludePath() + +
+          Creates a system include path.
+ voidexecute() + +
+           
+ UndefineArgument[]getActiveDefines() + +
+           
+ java.lang.String[]getActiveIncludePaths() + +
+          Returns the compiler-specific include path.
+ PrecompileDefgetActivePrecompile(CompilerDef ccElement) + +
+           
+ java.lang.String[]getActiveSysIncludePaths() + +
+           
+ booleangetExceptions(CompilerDef[] defaultProviders, + int index) + +
+           
+ booleangetMultithreaded(CompilerDef[] defaultProviders, + int index) + +
+           
+ OptimizationEnumgetOptimization(CompilerDef[] defaultProviders, + int index) + +
+           
+ ProcessorgetProcessor() + +
+          Obtains the appropriate processor (compiler, linker)
+ java.lang.BooleangetRtti(CompilerDef[] defaultProviders, + int index) + +
+           
+ intgetWarnings(CompilerDef[] defaultProviders, + int index) + +
+           
+ voidsetClassname(java.lang.String classname) + +
+          Sets the default compiler adapter.
+ voidsetExceptions(boolean exceptions) + +
+          Enables or disables exception support.
+ voidsetMultithreaded(boolean multithreaded) + +
+          Enables or disables generation of multithreaded code.
+ voidsetName(CompilerEnum name) + +
+          Sets compiler type.
+ voidsetOptimize(OptimizationEnum value) + +
+          Sets optimization level.
+protected  voidsetProcessor(Processor proc) + +
+          Sets the processor
+ voidsetRtti(boolean rtti) + +
+          Enables or disables run-time type information.
+ voidsetWarnings(WarningLevelEnum level) + +
+          Enumerated attribute with the values "none", "severe", "default", + "production", "diagnostic", and "aserror".
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.ProcessorDef
addConfiguredProcessorArg, addConfiguredProcessorParam, addEnv, addFileset, booleanValueOf, createConfiguration, getActiveProcessorArgs, getActiveProcessorParams, getDebug, getDefaultProviders, getExtends, getInherit, getLibtool, getProcessor, getRebuild, hasFileSets, isActive, setDebug, setDescription, setExtends, setId, setIf, setInherit, setLibtool, setNewenvironment, setRebuild, setRefid, setUnless, visitFiles
+ + + + + + + +
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes
+ + + + + + + +
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CompilerDef

+
+public CompilerDef()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addConfiguredCompilerArg

+
+public void addConfiguredCompilerArg(CompilerArgument arg)
+
+
Adds a compiler command-line arg. +

+

+
+
+
+
+ +

+addConfiguredCompilerParam

+
+public void addConfiguredCompilerParam(CompilerParam param)
+
+
Adds a compiler command-line arg. +

+

+
+
+
+
+ +

+addConfiguredDefineset

+
+public void addConfiguredDefineset(DefineSet defs)
+
+
Adds a defineset. +

+

+
+
+
+
+ +

+createIncludePath

+
+public IncludePath createIncludePath()
+
+
Creates an include path. +

+

+
+
+
+
+ +

+createPrecompile

+
+public PrecompileDef createPrecompile()
+                               throws org.apache.tools.ant.BuildException
+
+
Specifies precompilation prototype file and exclusions. +

+

+ +
Throws: +
org.apache.tools.ant.BuildException
+
+
+
+ +

+createSysIncludePath

+
+public SystemIncludePath createSysIncludePath()
+
+
Creates a system include path. Locations and timestamps of files located + using the system include paths are not used in dependency analysis. + + + Standard include locations should not be specified. The compiler + adapters should recognized the settings from the appropriate environment + variables or configuration files. +

+

+
+
+
+
+ +

+execute

+
+public void execute()
+             throws org.apache.tools.ant.BuildException
+
+
+ +
Throws: +
org.apache.tools.ant.BuildException
+
+
+
+ +

+getActiveDefines

+
+public UndefineArgument[] getActiveDefines()
+
+
+
+
+
+
+ +

+getActiveIncludePaths

+
+public java.lang.String[] getActiveIncludePaths()
+
+
Returns the compiler-specific include path. +

+

+
+
+
+
+ +

+getActivePrecompile

+
+public PrecompileDef getActivePrecompile(CompilerDef ccElement)
+
+
+
+
+
+
+ +

+getActiveSysIncludePaths

+
+public java.lang.String[] getActiveSysIncludePaths()
+
+
+
+
+
+
+ +

+getExceptions

+
+public final boolean getExceptions(CompilerDef[] defaultProviders,
+                                   int index)
+
+
+
+
+
+
+ +

+getRtti

+
+public final java.lang.Boolean getRtti(CompilerDef[] defaultProviders,
+                                       int index)
+
+
+
+
+
+
+ +

+getOptimization

+
+public final OptimizationEnum getOptimization(CompilerDef[] defaultProviders,
+                                              int index)
+
+
+
+
+
+
+ +

+getMultithreaded

+
+public boolean getMultithreaded(CompilerDef[] defaultProviders,
+                                int index)
+
+
+
+
+
+
+ +

+getProcessor

+
+public Processor getProcessor()
+
+
Description copied from class: ProcessorDef
+
Obtains the appropriate processor (compiler, linker) +

+

+
Overrides:
getProcessor in class ProcessorDef
+
+
+ +
Returns:
processor
+
+
+
+ +

+getWarnings

+
+public int getWarnings(CompilerDef[] defaultProviders,
+                       int index)
+
+
+
+
+
+
+ +

+setClassname

+
+public void setClassname(java.lang.String classname)
+                  throws org.apache.tools.ant.BuildException
+
+
Sets the default compiler adapter. Use the "name" attribute when the + compiler is a supported compiler. +

+

+
Overrides:
setClassname in class ProcessorDef
+
+
+
Parameters:
classname - fully qualified classname which implements CompilerAdapter +
Throws: +
org.apache.tools.ant.BuildException
+
+
+
+ +

+setExceptions

+
+public void setExceptions(boolean exceptions)
+
+
Enables or disables exception support. +

+

+
Parameters:
exceptions - if true, exceptions are supported.
+
+
+
+ +

+setRtti

+
+public void setRtti(boolean rtti)
+
+
Enables or disables run-time type information. +

+

+
Parameters:
rtti - if true, run-time type information is supported.
+
+
+
+ +

+setMultithreaded

+
+public void setMultithreaded(boolean multithreaded)
+
+
Enables or disables generation of multithreaded code. Unless specified, + multithreaded code generation is enabled. +

+

+
Parameters:
multithreaded - If true, generated code may be multithreaded.
+
+
+
+ +

+setName

+
+public void setName(CompilerEnum name)
+             throws org.apache.tools.ant.BuildException
+
+
Sets compiler type. + + + Supported compilers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
gcc (default)GCC C++ compiler
g++GCC C++ compiler
c++GCC C++ compiler
g77GNU Fortran compiler
msvcMicrosoft Visual C++
bccBorland C++ Compiler
msrcMicrosoft Resource Compiler
brcBorland Resource Compiler
dfCompaq Visual Fortran Compiler
midlMicrosoft MIDL Compiler
iclIntel C++ compiler for Windows (IA-32)
eclIntel C++ compiler for Windows (IA-64)
iccIntel C++ compiler for Linux (IA-32)
eccIntel C++ compiler for Linux (IA-64)
CCSun ONE C++ compiler
aCCHP aC++ C++ Compiler
os390OS390 C Compiler
os400Icc Compiler
sunc89Sun C89 C Compiler
xlCVisualAge C Compiler
uicQt user interface compiler
mocQt meta-object compiler
wclOpenWatcom C/C++ compiler
wflOpenWatcom FORTRAN compiler
+

+

+ +
Throws: +
org.apache.tools.ant.BuildException
+
+
+
+ +

+setProcessor

+
+protected void setProcessor(Processor proc)
+                     throws org.apache.tools.ant.BuildException
+
+
Description copied from class: ProcessorDef
+
Sets the processor +

+

+
Overrides:
setProcessor in class ProcessorDef
+
+
+
Parameters:
proc - processor, may not be null. +
Throws: +
org.apache.tools.ant.BuildException - if ProcessorDef is a reference
+
+
+
+ +

+setWarnings

+
+public void setWarnings(WarningLevelEnum level)
+
+
Enumerated attribute with the values "none", "severe", "default", + "production", "diagnostic", and "aserror". +

+

+
+
+
+
+ +

+setOptimize

+
+public void setOptimize(OptimizationEnum value)
+
+
Sets optimization level. +

+

+
Parameters:
value - optimization level
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3