⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpstringstream.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Reimplemented in <a class="el" href="classPHTML.html#b0">PHTML</a>.    </td>  </tr></table><a name="a4" doxytag="PStringStream::MakeEmpty"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual <a class="el" href="classPString.html">PString</a>&amp; PStringStream::MakeEmpty </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Make the current string empty <p>Reimplemented from <a class="el" href="classPString.html#z231_32">PString</a>.    </td>  </tr></table><a name="a8" doxytag="PStringStream::operator="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PINLINE PStringStream &amp; PStringStream::operator= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>ch</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Assign the character to the current object. The current instance then becomes a unique reference to a copy of the character parameter. eg: \begin{verbatim} myStr = 'A'; \end{verbatim} <dl compact><dt><b>Returns: </b></dt><dd> reference to the current <a class="el" href="classPString.html">PString</a> object. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>ch</em>&nbsp;</td><td>Character to assign. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z231_23">PString</a>.<p>Reimplemented in <a class="el" href="classPHTML.html#a7">PHTML</a>.    </td>  </tr></table><a name="a7" doxytag="PStringStream::operator="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PINLINE PStringStream &amp; PStringStream::operator= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>cstr</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Assign the C string to the string stream. The current instance then becomes a unique reference to a copy of the cstr# parameter. The cstr# parameter is typically a literal string, eg: \begin{verbatim} myStr = "fred"; \end{verbatim}<p>This will reset the read pointer for input to the beginning of the string. Also, any data output to the string up until the asasignement will be lost.<p><dl compact><dt><b>Returns: </b></dt><dd> reference to the current PStringStream object. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>cstr</em>&nbsp;</td><td>C string to assign. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z231_22">PString</a>.<p>Reimplemented in <a class="el" href="classPHTML.html#a6">PHTML</a>.    </td>  </tr></table><a name="a6" doxytag="PStringStream::operator="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PINLINE PStringStream &amp; PStringStream::operator= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>str</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Assign the string to the current object. The current instance then becomes another reference to the same string in the str# parameter.<p>This will reset the read pointer for input to the beginning of the string. Also, any data output to the string up until the asasignement will be lost.<p><dl compact><dt><b>Returns: </b></dt><dd> reference to the current PStringStream object. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>str</em>&nbsp;</td><td>New string to assign. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z231_21">PString</a>.<p>Reimplemented in <a class="el" href="classPHTML.html#a5">PHTML</a>.    </td>  </tr></table><a name="a5" doxytag="PStringStream::operator="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PINLINE PStringStream &amp; PStringStream::operator= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const PStringStream &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>strm</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Assign the string part of the stream to the current object. The current instance then becomes another reference to the same string in the strm# parameter.<p>This will reset the read pointer for input to the beginning of the string. Also, any data output to the string up until the asasignement will be lost.<p><dl compact><dt><b>Returns: </b></dt><dd> reference to the current PStringStream object. </dl>    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="pstring_8h-source.html">pstring.h</a><li><a class="el" href="contain_8inl.html">contain.inl</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:20 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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