WindresResourceCompiler (cpptasks 1.0b5 API)
Keywords: net.sf.antcontrib.cpptasks.gcc.WindresResourceCompiler class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.antcontrib.cpptasks.gcc
Class WindresResourceCompiler

    java.lang.Object
      net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
          net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
              net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
                  net.sf.antcontrib.cpptasks.gcc.WindresResourceCompiler

All Implemented Interfaces:
  java.lang.Cloneable, Compiler, Processor

    public final class WindresResourceCompiler

extends CommandLineCompiler

Adapter for the GNU windres resource compiler.

Author:
  Curt Arnold

Field Summary

Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
`DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID`

Method Summary
`protected void` | `addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)`
`protected void` | `addWarningSwitch(java.util.Vector args, int level)`
`Processor` | `changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)`
`protected Parser` | `createParser(java.io.File source)` The include parser for C will work just fine, but we didn't want to inherit from CommandLineCCompiler
`protected int` | `getArgumentCountPerInputFile()`
`protected void` | `getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)`
`protected java.io.File[]` | `getEnvironmentIncludePath()`
`java.lang.String` | `getIdentifier()` Retrieve an identifier that identifies the specific version of the compiler.
`protected java.lang.String` | `getIncludeDirSwitch(java.lang.String includeDir)`
`protected java.lang.String` | `getInputFileArgument(java.io.File outputDir, java.lang.String filename, int index)`
`static WindresResourceCompiler` | `getInstance()`
`Linker` | `getLinker(LinkType type)` Gets the linker that is associated with this processors
`int` | `getMaximumCommandLength()`
`protected int` | `getMaximumInputFilesPerCommand()`
`protected int` | `getTotalArgumentLengthForInputFile(java.io.File outputDir, java.lang.String inputFile)`
`protected void` | `getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)`

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
`addIncludes, buildDefineArguments, compile, createConfiguration, getCommand, getLibtool, getLibtoolCompiler, 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, 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`

Method Detail

### getInstance

    public static WindresResourceCompiler getInstance()

### addImpliedArgs

    protected void addImpliedArgs(java.util.Vector args,
                                  boolean debug,
                                  boolean multithreaded,
                                  boolean exceptions,
                                  LinkType linkType,
                                  java.lang.Boolean rtti,
                                  OptimizationEnum optimization)

  Specified by:
    `addImpliedArgs` in class `CommandLineCompiler`

### addWarningSwitch

    protected void addWarningSwitch(java.util.Vector args,
                                    int level)

  Specified by:
    `addWarningSwitch` in class `CommandLineCompiler`

### changeEnvironment

    public Processor changeEnvironment(boolean newEnvironment,
                                       org.apache.tools.ant.types.Environment env)

  Specified by:
    `changeEnvironment` in interface `Processor`
  Overrides:
    `changeEnvironment` in class `AbstractProcessor`

### createParser

    protected Parser createParser(java.io.File source)

  The include parser for C will work just fine, but we didn't want to inherit from CommandLineCCompiler

  Specified by:
    `createParser` in class `AbstractCompiler`

### getArgumentCountPerInputFile

    protected int getArgumentCountPerInputFile()

  Overrides:
    `getArgumentCountPerInputFile` in class `CommandLineCompiler`

### getDefineSwitch

    protected void getDefineSwitch(java.lang.StringBuffer buffer,
                                   java.lang.String define,
                                   java.lang.String value)

  Specified by:
    `getDefineSwitch` in class `CommandLineCompiler`

### getEnvironmentIncludePath

    protected java.io.File[] getEnvironmentIncludePath()

  Specified by:
    `getEnvironmentIncludePath` in class `CommandLineCompiler`

### getIncludeDirSwitch

    protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)

  Specified by:
    `getIncludeDirSwitch` in class `CommandLineCompiler`

### getInputFileArgument

    protected java.lang.String getInputFileArgument(java.io.File outputDir,
                                                    java.lang.String filename,
                                                    int index)

  Overrides:
    `getInputFileArgument` in class `CommandLineCompiler`

### getLinker

    public Linker getLinker(LinkType type)

  Description copied from interface: `Processor`
  Gets the linker that is associated with this processors

### getMaximumCommandLength

    public int getMaximumCommandLength()

  Specified by:
    `getMaximumCommandLength` in class `CommandLineCompiler`

### getMaximumInputFilesPerCommand

    protected int getMaximumInputFilesPerCommand()

  Overrides:
    `getMaximumInputFilesPerCommand` in class `CommandLineCompiler`

### getTotalArgumentLengthForInputFile

    protected int getTotalArgumentLengthForInputFile(java.io.File outputDir,
                                                     java.lang.String inputFile)

  Overrides:
    `getTotalArgumentLengthForInputFile` in class `CommandLineCompiler`

### getUndefineSwitch

    protected void getUndefineSwitch(java.lang.StringBuffer buffer,
                                     java.lang.String define)

  Specified by:
    `getUndefineSwitch` in class `CommandLineCompiler`

### getIdentifier

    public java.lang.String getIdentifier()

  Description copied from interface: `Processor`
  Retrieve an identifier that identifies the specific version of the compiler. Compilers with the same identifier should produce the same output files for the same input files and command line switches.

  Specified by:
    `getIdentifier` in interface `Processor`
  Overrides:
    `getIdentifier` in class `CommandLineCompiler`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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