net.sf.antcontrib.cpptasks.devstudio
Class DevStudioMIDLCompiler
java.lang.Object
   net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
       net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
           net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
               net.sf.antcontrib.cpptasks.devstudio.DevStudioMIDLCompiler
net.sf.antcontrib.cpptasks.devstudio.DevStudioMIDLCompiler
- All Implemented Interfaces: 
- java.lang.Cloneable, Compiler, Processor
- public final class DevStudioMIDLCompiler 
- extends CommandLineCompiler
Adapter for the Microsoft (r) MIDL Compiler
- Author:
- Curt Arnold
 
 
| 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()
 | 
| 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 DevStudioMIDLCompiler | 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 java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
| Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor | 
| bid | 
 
getInstance
public static DevStudioMIDLCompiler 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:
- addImpliedArgsin class- CommandLineCompiler
 
- 
 
addWarningSwitch
protected void addWarningSwitch(java.util.Vector args,
                                int level)
- 
- Specified by:
- addWarningSwitchin class- CommandLineCompiler
 
- 
 
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment,
                                   org.apache.tools.ant.types.Environment env)
- 
- Specified by:
- changeEnvironmentin interface- Processor
- Overrides:
- changeEnvironmentin 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:
- createParserin class- AbstractCompiler
 
- 
 
getArgumentCountPerInputFile
protected int getArgumentCountPerInputFile()
- 
- Overrides:
- getArgumentCountPerInputFilein class- CommandLineCompiler
 
- 
 
getDefineSwitch
protected void getDefineSwitch(java.lang.StringBuffer buffer,
                               java.lang.String define,
                               java.lang.String value)
- 
- Specified by:
- getDefineSwitchin class- CommandLineCompiler
 
- 
 
getEnvironmentIncludePath
protected java.io.File[] getEnvironmentIncludePath()
- 
- Specified by:
- getEnvironmentIncludePathin class- CommandLineCompiler
 
- 
 
getIncludeDirSwitch
protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
- 
- Specified by:
- getIncludeDirSwitchin class- CommandLineCompiler
 
- 
 
getInputFileArgument
protected java.lang.String getInputFileArgument(java.io.File outputDir,
                                                java.lang.String filename,
                                                int index)
- 
- Overrides:
- getInputFileArgumentin 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:
- getMaximumCommandLengthin class- CommandLineCompiler
 
- 
 
getMaximumInputFilesPerCommand
protected int getMaximumInputFilesPerCommand()
- 
- Overrides:
- getMaximumInputFilesPerCommandin class- CommandLineCompiler
 
- 
 
getTotalArgumentLengthForInputFile
protected int getTotalArgumentLengthForInputFile(java.io.File outputDir,
                                                 java.lang.String inputFile)
- 
- Overrides:
- getTotalArgumentLengthForInputFilein class- CommandLineCompiler
 
- 
 
getUndefineSwitch
protected void getUndefineSwitch(java.lang.StringBuffer buffer,
                                 java.lang.String define)
- 
- Specified by:
- getUndefineSwitchin class- CommandLineCompiler
 
- 
 
Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.