net.sf.antcontrib.cpptasks.devstudio

Class DevStudioMIDLCompiler

public final class DevStudioMIDLCompiler extends CommandLineCompiler

Adapter for the Microsoft (r) MIDL Compiler

Author: Curt Arnold

Method Summary
protected voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
protected voidaddWarningSwitch(Vector args, int level)
ProcessorchangeEnvironment(boolean newEnvironment, Environment env)
protected ParsercreateParser(File source)
The include parser for C will work just fine, but we didn't want to inherit from CommandLineCCompiler
protected intgetArgumentCountPerInputFile()
protected voidgetDefineSwitch(StringBuffer buffer, String define, String value)
protected File[]getEnvironmentIncludePath()
protected StringgetIncludeDirSwitch(String includeDir)
protected StringgetInputFileArgument(File outputDir, String filename, int index)
static DevStudioMIDLCompilergetInstance()
LinkergetLinker(LinkType type)
intgetMaximumCommandLength()
protected intgetMaximumInputFilesPerCommand()
protected intgetTotalArgumentLengthForInputFile(File outputDir, String inputFile)
protected voidgetUndefineSwitch(StringBuffer buffer, String define)

Method Detail

addImpliedArgs

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

addWarningSwitch

protected void addWarningSwitch(Vector args, int level)

changeEnvironment

public Processor changeEnvironment(boolean newEnvironment, Environment env)

createParser

protected Parser createParser(File source)
The include parser for C will work just fine, but we didn't want to inherit from CommandLineCCompiler

getArgumentCountPerInputFile

protected int getArgumentCountPerInputFile()

getDefineSwitch

protected void getDefineSwitch(StringBuffer buffer, String define, String value)

getEnvironmentIncludePath

protected File[] getEnvironmentIncludePath()

getIncludeDirSwitch

protected String getIncludeDirSwitch(String includeDir)

getInputFileArgument

protected String getInputFileArgument(File outputDir, String filename, int index)

getInstance

public static DevStudioMIDLCompiler getInstance()

getLinker

public Linker getLinker(LinkType type)

getMaximumCommandLength

public int getMaximumCommandLength()

getMaximumInputFilesPerCommand

protected int getMaximumInputFilesPerCommand()

getTotalArgumentLengthForInputFile

protected int getTotalArgumentLengthForInputFile(File outputDir, String inputFile)

getUndefineSwitch

protected void getUndefineSwitch(StringBuffer buffer, String define)
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.