swarm.simtools.appendfile.protocol.html

来自「set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用」· HTML 代码 · 共 239 行

HTML
239
字号
<HTML><HEAD><TITLE>AppendFile [Deprecated]</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Simtools Library"HREF="swarm.simtools.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="Simtools Library"HREF="swarm.simtools.sgml.reference.html"><LINKREL="NEXT"TITLE="InFile [Deprecated]"HREF="swarm.simtools.infile.protocol.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="swarm.simtools.sgml.reference.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference VI. Simtools Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.simtools.infile.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.SIMTOOLS.APPENDFILE.PROTOCOL">AppendFile [Deprecated]</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN15695"></A><H2>Name</H2>AppendFile&nbsp;--&nbsp; A class for appended file output.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN15698"></A><H2>Description</H2><P><ICLASS="EMPHASIS">Deprecated:  Warning: the error return behavior of these methods is fragile, only end of file is reported as an error.  It is probably not wise to use use this inteface unless your text processing needs are very simple.</I></P><P> This class subclasses from OutFile, the only functional difference being that it opens a given file in Append Mode rather than in Overwrite mode.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN15703"></A><H2>Protocols adopted by AppendFile</H2><P> <AHREF="swarm.simtools.outfile.protocol.html">OutFile</A> <AHREF="swarm.defobj.creatable.protocol.html">CREATABLE</A></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN15708"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN15710"></A><H3>Phase: Creating</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.SIMTOOLS.APPENDFILE.METHOD.PC.M36"></A><P></P>+ <BCLASS="FUNCPROTOTYPE">create:</B> (id &lt;Zone&gt;)<VARCLASS="PDPARAM">aZone</VAR> <BCLASS="FUNCPROTOTYPE">setName:</B> (const char *)<VARCLASS="PDPARAM">theName</VAR> <BR> The create:setName: method is the create method for AppendFiles, where  theName is the name of the file to open.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.SIMTOOLS.APPENDFILE.METHOD.PC.M49"></A><P></P>+ <BCLASS="FUNCPROTOTYPE">create:</B> (id &lt;Zone&gt;)<VARCLASS="PDPARAM">aZone</VAR> <BCLASS="FUNCPROTOTYPE">withName:</B> (const char *)<VARCLASS="PDPARAM">theName</VAR> <BR> for backward compatibility<P></P></DIV></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.simtools.sgml.reference.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.simtools.infile.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Simtools Library</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.simtools.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">InFile [Deprecated]</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?