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

📄 contain_8inl.html

📁 pwlib开发文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>contain.inl File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>contain.inl File Reference</h1><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td nowrap align=right valign=top>PINLINE <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="contain_8inl.html#a0">operator+</a> (const char *cstr, const <a class="el" href="classPString.html">PString</a> &amp;str)</td></tr><tr><td nowrap align=right valign=top>PINLINE <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="contain_8inl.html#a1">operator+</a> (char c, const <a class="el" href="classPString.html">PString</a> &amp;str)</td></tr><tr><td nowrap align=right valign=top>PINLINE <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="contain_8inl.html#a2">operator &amp;</a> (const char *cstr, const <a class="el" href="classPString.html">PString</a> &amp;str)</td></tr><tr><td nowrap align=right valign=top>PINLINE <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="contain_8inl.html#a3">operator &amp;</a> (char c, const <a class="el" href="classPString.html">PString</a> &amp;str)</td></tr><tr><td nowrap align=right valign=top>PINLINE <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="contain_8inl.html#a4">pvsprintf</a> (const <a class="el" href="classPString.html">PString</a> &amp;fmt, va_list args)</td></tr></table><hr><h2>Function Documentation</h2><a name="a3" doxytag="contain.inl::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 <a class="el" href="classPString.html">PString</a> operator &amp; </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>c</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>str</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Concatenate a <a class="el" href="classPString.html">PString</a> to a single character to produce a third. The original string is not modified, an entirely new unique reference to a string is created. The c# parameter is typically a literal, eg: \begin{verbatim} myStr = '!' &amp; aStr; \end{verbatim}<p>This function differes from operator+# in that it assures there is at least one space between the strings. Exactly one space is added if there is not a space at the end of the first or beggining of the last string.<p><dl compact><dt><b>Returns: </b></dt><dd> new string with concatenation of the object and parameter. </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>Character to be concatenated to. String to concatenate. </td></tr></table></dl>    </td>  </tr></table><a name="a2" doxytag="contain.inl::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 <a class="el" href="classPString.html">PString</a> operator &amp; </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>cstr</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>str</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Concatenate a <a class="el" href="classPString.html">PString</a> to a C string to produce a third. The original string is not modified, an entirely new unique reference to a string is created. The cstr# parameter is typically a literal string, eg: \begin{verbatim} myStr = "fred" &amp; aStr; \end{verbatim}<p>This function differes from operator+ in that it assures there is at least one space between the strings. Exactly one space is added if there is not a space at the end of the first or beggining of the last string.<p><dl compact><dt><b>Returns: </b></dt><dd> new string with concatenation of the object and parameter. </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>C string to be concatenated to. String to concatenate. </td></tr></table></dl>    </td>  </tr></table><a name="a1" doxytag="contain.inl::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 <a class="el" href="classPString.html">PString</a> operator+ </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>c</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>str</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Concatenate a <a class="el" href="classPString.html">PString</a> to a single character to produce a third. The original string is not modified, an entirely new unique reference to a string is created. The c# parameter is typically a literal, eg: \begin{verbatim} myStr = '!' + aStr; \end{verbatim}<p><dl compact><dt><b>Returns: </b></dt><dd> new string with concatenation of the object and parameter. </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>Character to be concatenated to. String to concatenate. </td></tr></table></dl>    </td>  </tr></table><a name="a0" doxytag="contain.inl::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 <a class="el" href="classPString.html">PString</a> operator+ </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>cstr</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>str</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Concatenate a <a class="el" href="classPString.html">PString</a> to a C string to produce a third. The original string is not modified, an entirely new unique reference to a string is created. The cstr# parameter is typically a literal string, eg: \begin{verbatim} myStr = "fred" + aStr; \end{verbatim}<p><dl compact><dt><b>Returns: </b></dt><dd> new string with concatenation of the object and parameter. </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>C string to be concatenated to. String to concatenate. </td></tr></table></dl>    </td>  </tr></table><a name="a4" doxytag="contain.inl::pvsprintf"></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 <a class="el" href="classPString.html">PString</a> pvsprintf </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="mdname" nowrap>&nbsp; <em>fmt</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>va_list&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>args</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Produce formatted output as a string. This is identical to the standard C library vsprintf()# function, but sends its output to a PString#.<p>This function makes the assumption that there is less the 1000 characters of formatted output. The function will assert if this occurs.<p>Note that this function will break the current instance from multiple references to the string. A new string buffer is allocated and the data from the old string buffer copied to it.<p><dl compact><dt><b>Returns: </b></dt><dd> reference to the current string object. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>args</em>&nbsp;</td><td>String for output format. Extra parameters for sprintf()# call. </td></tr></table></dl>    </td>  </tr></table><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:12 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 + -