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

📄 classpfilepath.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PFilePath&amp; PFilePath::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>Concatenate a single character to a path. The ch# parameter is typically a literal, eg: \begin{verbatim} myStr += '!'; \end{verbatim}<p><dl compact><dt><b>Returns: </b></dt><dd> new string with concatenation of the object and parameter. </dl><p>Reimplemented from <a class="el" href="classPString.html#z239_5">PString</a>.    </td>  </tr></table><a name="z137_1" doxytag="PFilePath::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 PFilePath &amp; PFilePath::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>Concatenate a C string to a path, modifiying that path. The cstr# parameter is typically a literal string, eg: \begin{verbatim} myStr += "fred"; \end{verbatim}<p><dl compact><dt><b>Returns: </b></dt><dd> reference to string that was concatenated to. </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 concatenate. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z239_4">PString</a>.    </td>  </tr></table><a name="z137_0" doxytag="PFilePath::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 PFilePath &amp; PFilePath::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>Concatenate a string to the file path, modifiying that path.<p><dl compact><dt><b>Returns: </b></dt><dd> reference to string that was concatenated to. </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>String to concatenate. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z239_3">PString</a>.    </td>  </tr></table><a name="z135_7" doxytag="PFilePath::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 PFilePath &amp; PFilePath::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>Change the file specification object to the specified file name.<p>The string passed in may be a full or partial specifiaction for a file as determined by the platform. It is unusual for this to be a literal string, unless only the file title is specified, as that would be platform specific.<p>The partial file specification is translated into a canonical form which always absolutely references the file. <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>Partial "C" string for file name. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z231_22">PString</a>.    </td>  </tr></table><a name="z135_6" doxytag="PFilePath::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 PFilePath &amp; PFilePath::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>Change the file specification object to the specified file name.<p>The string passed in may be a full or partial specifiaction for a file as determined by the platform. It is unusual for this to be a literal string, unless only the file title is specified, as that would be platform specific.<p>The partial file specification is translated into a canonical form which always absolutely references the file. <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>Partial <a class="el" href="classPString.html">PString</a> for file name. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPString.html#z231_21">PString</a>.    </td>  </tr></table><a name="z135_5" doxytag="PFilePath::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 PFilePath &amp; PFilePath::operator= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const PFilePath &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>path</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>Change the file specification object to the specified file name. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>path</em>&nbsp;</td><td>Previous path for file name. </td></tr></table></dl>    </td>  </tr></table><a name="z139_6" doxytag="PFilePath::SetType"></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"> void PFilePath::SetType </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPFilePathString.html">PFilePathString</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</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>Set the type component of the full file specification, eg for the DOS file "C:\SRC\PWLIB\FRED.DAT" would become "C:\SRC\PWLIB\FRED.TXT". <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>type</em>&nbsp;</td><td>New type of the file. </td></tr></table></dl>    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="filepath_8h-source.html">filepath.h</a><li><a class="el" href="osutil_8inl.html">osutil.inl</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:15 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 + -