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

📄 classpchannel.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
Reimplemented in <a class="el" href="classPSSLChannel.html#a8">PSSLChannel</a>.    </td>  </tr></table><a name="d0" doxytag="PChannel::ConvertOSError"></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"> BOOL PChannel::ConvertOSError </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>libcReturnValue</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPChannel.html#z55_0">Errors</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>lastError</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>osError</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Convert an operating system error into platform independent error. This will set the lastError and osError member variables for access by <a class="el" href="classPChannel.html#z55_2">GetErrorCode()</a> and <a class="el" href="classPChannel.html#z55_3">GetErrorNumber()</a>.<p><dl compact><dt><b>Returns: </b></dt><dd>TRUE if there was no error. </dl>    </td>  </tr></table><a name="z47_3" doxytag="PChannel::GetBaseReadChannel"></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 PChannel* PChannel::GetBaseReadChannel </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>Get the base channel of channel indirection using <a class="el" href="classPIndirectChannel.html">PIndirectChannel</a>. This function returns the eventual base channel for reading of a series of indirect channels provided by descendents of PIndirectChannel#.<p>The behaviour for this function is to return "this".<p><dl compact><dt><b>Returns: </b></dt><dd> Pointer to base I/O channel for the indirect channel. </dl><p>Reimplemented in <a class="el" href="classPIndirectChannel.html#z157_6">PIndirectChannel</a>.    </td>  </tr></table><a name="z47_4" doxytag="PChannel::GetBaseWriteChannel"></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 PChannel* PChannel::GetBaseWriteChannel </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>Get the base channel of channel indirection using <a class="el" href="classPIndirectChannel.html">PIndirectChannel</a>. This function returns the eventual base channel for writing of a series of indirect channels provided by descendents of PIndirectChannel#.<p>The behaviour for this function is to return "this".<p><dl compact><dt><b>Returns: </b></dt><dd> Pointer to base I/O channel for the indirect channel. </dl><p>Reimplemented in <a class="el" href="classPIndirectChannel.html#z157_7">PIndirectChannel</a>.    </td>  </tr></table><a name="z55_2" doxytag="PChannel::GetErrorCode"></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="classPChannel.html#z55_0">PChannel::Errors</a> PChannel::GetErrorCode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPChannel.html#z55_1">ErrorGroup</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>group</em> = NumErrorGroups          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get normalised error code. Return the error result of the last file I/O operation in this object. <dl compact><dt><b>Returns: </b></dt><dd>Normalised error code. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>group</em>&nbsp;</td><td>Error group to get </td></tr></table></dl>    </td>  </tr></table><a name="z55_3" doxytag="PChannel::GetErrorNumber"></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 int PChannel::GetErrorNumber </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPChannel.html#z55_1">ErrorGroup</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>group</em> = NumErrorGroups          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get OS errro code. Return the operating system error number of the last file I/O operation in this object. <dl compact><dt><b>Returns: </b></dt><dd>Operating System error code. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>group</em>&nbsp;</td><td>Error group to get </td></tr></table></dl>    </td>  </tr></table><a name="z55_5" doxytag="PChannel::GetErrorText"></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"> <a class="el" href="classPString.html">PString</a> PChannel::GetErrorText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPChannel.html#z55_0">Errors</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>lastError</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>osError</em> = 0</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get error message description. Return a string indicating the error message that may be displayed to the user. The osError# parameter is used unless zero, in which case the lastError# parameter is used. <dl compact><dt><b>Returns: </b></dt><dd>Operating System error description string. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>osError</em>&nbsp;</td><td>Error code to translate. OS error number to translate. </td></tr></table></dl>    </td>  </tr></table><a name="z55_4" doxytag="PChannel::GetErrorText"></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> PChannel::GetErrorText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPChannel.html#z55_1">ErrorGroup</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>group</em> = NumErrorGroups          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get error message description. Return a string indicating the error message that may be displayed to the user. The error for the last I/O operation in this object is used. <dl compact><dt><b>Returns: </b></dt><dd>Operating System error description string. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>group</em>&nbsp;</td><td>Error group to get </td></tr></table></dl><p>Reimplemented in <a class="el" href="classPIndirectChannel.html#z157_8">PIndirectChannel</a>, and <a class="el" href="classPSSLChannel.html#a7">PSSLChannel</a>.    </td>  </tr></table><a name="z47_2" doxytag="PChannel::GetHandle"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">

⌨️ 快捷键说明

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