<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_11) on Fri May 19 07:47:24 CDT 2006 --> <TITLE> LinkType (cpptasks API) </TITLE> <META NAME="keywords" CONTENT="net.sf.antcontrib.cpptasks.compiler.LinkType class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="LinkType (cpptasks API)"; } </SCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/CommandLineLinkerConfiguration.html" title="class in net.sf.antcontrib.cpptasks.compiler"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/PrecompilingCommandLineCCompiler.html" title="class in net.sf.antcontrib.cpptasks.compiler"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="LinkType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.antcontrib.cpptasks.compiler</FONT> <BR> Class LinkType</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>net.sf.antcontrib.cpptasks.compiler.LinkType</B> </PRE> <HR> <DL> <DT>public class <B>LinkType</B><DT>extends java.lang.Object</DL> <P> This class represents the target platform for the compile and link step. The name is an anachronism and should be changed. <P> <P> <DL> <DT><B>Author:</B></DT> <DD>Curt Arnold</DD> </DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#LinkType()">LinkType</A></B>()</CODE> <BR> Constructor By default, an gui executable with a dynamically linked runtime</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#getOutputType()">getOutputType</A></B>()</CODE> <BR> Gets the output type.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#getSubsystem()">getSubsystem</A></B>()</CODE> <BR> Get subsystem name.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isExecutable()">isExecutable</A></B>()</CODE> <BR> Gets whether the link should produce an executable</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isPluginModule()">isPluginModule</A></B>()</CODE> <BR> Gets whether the link should produce a plugin module.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isSharedLibrary()">isSharedLibrary</A></B>()</CODE> <BR> Gets whether the link should produce a shared library.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isStaticLibrary()">isStaticLibrary</A></B>()</CODE> <BR> Gets whether the link should produce a static library.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isStaticRuntime()">isStaticRuntime</A></B>()</CODE> <BR> Gets whether the module should use a statically linked runtime library.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isSubsystemConsole()">isSubsystemConsole</A></B>()</CODE> <BR> Gets whether the link should produce a module for a console subsystem.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#isSubsystemGUI()">isSubsystemGUI</A></B>()</CODE> <BR> Gets whether the link should produce a module for a graphical user interface subsystem.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#setOutputType(net.sf.antcontrib.cpptasks.OutputTypeEnum)">setOutputType</A></B>(<A HREF="../../../../../net/sf/antcontrib/cpptasks/OutputTypeEnum.html" title="class in net.sf.antcontrib.cpptasks">OutputTypeEnum</A> outputType)</CODE> <BR> Sets the output type (execuable, shared, etc).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#setStaticRuntime(boolean)">setStaticRuntime</A></B>(boolean staticRuntime)</CODE> <BR> Requests use of a static runtime library.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/LinkType.html#setSubsystem(net.sf.antcontrib.cpptasks.SubsystemEnum)">setSubsystem</A></B>(<A HREF="../../../../../net/sf/antcontrib/cpptasks/SubsystemEnum.html" title="class in net.sf.antcontrib.cpptasks">SubsystemEnum</A> subsystem)</CODE> <BR> Sets the subsystem (gui, console, etc).</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.Object</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="LinkType()"><!-- --></A><H3> LinkType</H3> <PRE> public <B>LinkType</B>()</PRE> <DL> <DD>Constructor By default, an gui executable with a dynamically linked runtime <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="isExecutable()"><!-- --></A><H3> isExecutable</H3> <PRE> public boolean <B>isExecutable</B>()</PRE> <DL> <DD>Gets whether the link should produce an executable <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="isPluginModule()"><!-- --></A><H3> isPluginModule</H3> <PRE> public boolean <B>isPluginModule</B>()</PRE> <DL> <DD>Gets whether the link should produce a plugin module. <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="isSharedLibrary()"><!-- --></A><H3> isSharedLibrary</H3> <PRE> public boolean <B>isSharedLibrary</B>()</PRE> <DL> <DD>Gets whether the link should produce a shared library. <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="isStaticLibrary()"><!-- --></A><H3> isStaticLibrary</H3> <PRE> public boolean <B>isStaticLibrary</B>()</PRE> <DL> <DD>Gets whether the link should produce a static library. <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="isStaticRuntime()"><!-- --></A><H3> isStaticRuntime</H3> <PRE> public boolean <B>isStaticRuntime</B>()</PRE> <DL> <DD>Gets whether the module should use a statically linked runtime library. <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="isSubsystemConsole()"><!-- --></A><H3> isSubsystemConsole</H3> <PRE> public boolean <B>isSubsystemConsole</B>()</PRE> <DL> <DD>Gets whether the link should produce a module for a console subsystem. <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="isSubsystemGUI()"><!-- --></A><H3> isSubsystemGUI</H3> <PRE> public boolean <B>isSubsystemGUI</B>()</PRE> <DL> <DD>Gets whether the link should produce a module for a graphical user interface subsystem. <P> <DD><DL> <DT><B>Returns:</B><DD>boolean</DL> </DD> </DL> <HR> <A NAME="setOutputType(net.sf.antcontrib.cpptasks.OutputTypeEnum)"><!-- --></A><H3> setOutputType</H3> <PRE> public void <B>setOutputType</B>(<A HREF="../../../../../net/sf/antcontrib/cpptasks/OutputTypeEnum.html" title="class in net.sf.antcontrib.cpptasks">OutputTypeEnum</A> outputType)</PRE> <DL> <DD>Sets the output type (execuable, shared, etc). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getOutputType()"><!-- --></A><H3> getOutputType</H3> <PRE> public java.lang.String <B>getOutputType</B>()</PRE> <DL> <DD>Gets the output type. <P> <DD><DL> <DT><B>Returns:</B><DD>output type</DL> </DD> </DL> <HR> <A NAME="setStaticRuntime(boolean)"><!-- --></A><H3> setStaticRuntime</H3> <PRE> public void <B>setStaticRuntime</B>(boolean staticRuntime)</PRE> <DL> <DD>Requests use of a static runtime library. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>staticRuntime</CODE> - if true, use static runtime library if possible.</DL> </DD> </DL> <HR> <A NAME="setSubsystem(net.sf.antcontrib.cpptasks.SubsystemEnum)"><!-- --></A><H3> setSubsystem</H3> <PRE> public void <B>setSubsystem</B>(<A HREF="../../../../../net/sf/antcontrib/cpptasks/SubsystemEnum.html" title="class in net.sf.antcontrib.cpptasks">SubsystemEnum</A> subsystem)</PRE> <DL> <DD>Sets the subsystem (gui, console, etc). <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>subsystem</CODE> - subsystem, may not be null</DL> </DD> </DL> <HR> <A NAME="getSubsystem()"><!-- --></A><H3> getSubsystem</H3> <PRE> public java.lang.String <B>getSubsystem</B>()</PRE> <DL> <DD>Get subsystem name. <P> <DD><DL> <DT><B>Returns:</B><DD>subsystem name</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/CommandLineLinkerConfiguration.html" title="class in net.sf.antcontrib.cpptasks.compiler"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/antcontrib/cpptasks/compiler/PrecompilingCommandLineCCompiler.html" title="class in net.sf.antcontrib.cpptasks.compiler"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="LinkType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright © 2001-2006 Ant-Contrib project. All Rights Reserved. </BODY> </HTML>