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

📄 classpasnobject.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
          <td class="md" nowrap><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a1" doxytag="PASNObject::GetChoice"></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"> int PASNObject::GetChoice </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Return the descriminator for Choice sequences <p>Reimplemented in <a class="el" href="classPASNSequence.html#a12">PASNSequence</a>.    </td>  </tr></table><a name="a10" doxytag="PASNObject::GetEncodedLength"></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 WORD PASNObject::GetEncodedLength </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>Virtual function used to get the length of object when encoded into ASN format <p>Reimplemented in <a class="el" href="classPASNInteger.html#a4">PASNInteger</a>, <a class="el" href="classPASNString.html#a6">PASNString</a>, <a class="el" href="classPASNUnsignedInteger.html#a3">PASNUnsignedInteger</a>, <a class="el" href="classPASNObjectID.html#a6">PASNObjectID</a>, <a class="el" href="classPASNNull.html#a4">PASNNull</a>, and <a class="el" href="classPASNSequence.html#a16">PASNSequence</a>.    </td>  </tr></table><a name="a3" doxytag="PASNObject::GetInteger"></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="pasn_8h.html#a0">PASNInt</a> PASNObject::GetInteger </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>Return the value of the ASN object as a PASNInt.<p>This function will assert if the object is not a descendant of &lt;A&gt;<a class="el" href="classPASNInteger.html">PASNInteger</a>. <p>Reimplemented in <a class="el" href="classPASNInteger.html#a6">PASNInteger</a>.    </td>  </tr></table><a name="a7" doxytag="PASNObject::GetIPAddress"></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="classPIPSocket_1_1Address.html">PIPSocket::Address</a> PASNObject::GetIPAddress </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>Return the value of the object as an IPAddress<p>This function will assert if the object is not a descendant of &lt;A&gt;<a class="el" href="classPASNIPAddress.html">PASNIPAddress</a>. <p>Reimplemented in <a class="el" href="classPASNIPAddress.html#a9">PASNIPAddress</a>.    </td>  </tr></table><a name="a6" doxytag="PASNObject::GetSequence"></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 const <a class="el" href="classPASNSequence.html">PASNSequence</a>&amp; PASNObject::GetSequence </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>Return the value of the object as a <a class="el" href="classPString.html">PString</a><p>This function will assert if the object is not a descendant of &lt;A&gt;<a class="el" href="classPASNSequence.html">PASNSequence</a>. <p>Reimplemented in <a class="el" href="classPASNSequence.html#a7">PASNSequence</a>.    </td>  </tr></table><a name="a5" doxytag="PASNObject::GetString"></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> PASNObject::GetString </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>Return the value of the object as a <a class="el" href="classPString.html">PString</a>. This function can be use for all ASN object types <p>Reimplemented in <a class="el" href="classPASNInteger.html#a7">PASNInteger</a>, <a class="el" href="classPASNString.html#a8">PASNString</a>, <a class="el" href="classPASNIPAddress.html#a6">PASNIPAddress</a>, <a class="el" href="classPASNUnsignedInteger.html#a4">PASNUnsignedInteger</a>, <a class="el" href="classPASNObjectID.html#a9">PASNObjectID</a>, and <a class="el" href="classPASNNull.html#a7">PASNNull</a>.    </td>  </tr></table><a name="a0" doxytag="PASNObject::GetType"></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="classPASNObject.html#s16">ASNType</a> PASNObject::GetType </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>Return a value of type &lt;A&gt;enum ASNType which indicates the type of the object <p>Reimplemented in <a class="el" href="classPASNInteger.html#a8">PASNInteger</a>, <a class="el" href="classPASNString.html#a9">PASNString</a>, <a class="el" href="classPASNIPAddress.html#a4">PASNIPAddress</a>, <a class="el" href="classPASNTimeTicks.html#a4">PASNTimeTicks</a>, <a class="el" href="classPASNCounter.html#a4">PASNCounter</a>, <a class="el" href="classPASNGauge.html#a5">PASNGauge</a>, <a class="el" href="classPASNObjectID.html#a8">PASNObjectID</a>, <a class="el" href="classPASNNull.html#a6">PASNNull</a>, and <a class="el" href="classPASNSequence.html#a17">PASNSequence</a>.    </td>  </tr></table><a name="a2" doxytag="PASNObject::GetTypeAsString"></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> PASNObject::GetTypeAsString </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>Return a string giving the type of the object <p>Reimplemented in <a class="el" href="classPASNInteger.html#a9">PASNInteger</a>, <a class="el" href="classPASNString.html#a10">PASNString</a>, <a class="el" href="classPASNIPAddress.html#a7">PASNIPAddress</a>, <a class="el" href="classPASNTimeTicks.html#a5">PASNTimeTicks</a>, <a class="el" href="classPASNCounter.html#a5">PASNCounter</a>, <a class="el" href="classPASNGauge.html#a6">PASNGauge</a>, <a class="el" href="classPASNObjectID.html#a10">PASNObjectID</a>, <a class="el" href="classPASNNull.html#a8">PASNNull</a>, and <a class="el" href="classPASNSequence.html#a18">PASNSequence</a>.    </td>  </tr></table><a name="a4" doxytag="PASNObject::GetUnsigned"></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="pasn_8h.html#a1">PASNUnsigned</a> PASNObject::GetUnsigned </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>Return the value of the object as a PASNUnsigned<p>This function will assert if the object is not a descendant of &lt;A&gt;<a class="el" href="classPASNTimeTicks.html">PASNTimeTicks</a> or <p><a class="el" href="classPASNCounter.html">PASNCounter</a>. <p>Reimplemented in <a class="el" href="classPASNUnsignedInteger.html#a5">PASNUnsignedInteger</a>.    </td>  </tr></table><a name="a8" doxytag="PASNObject::PrintOn"></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 void PASNObject::PrintOn </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">ostream &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> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Virtual functions used by the &lt;A&gt;<a class="el" href="classPObject.html#z201_2">PObject::operator&lt;&lt;</a> function to print the value of the object. <p>Reimplemented from <a class="el" href="classPObject.html#z201_0">PObject</a>.<p>Reimplemented in <a class="el" href="classPASNInteger.html#a2">PASNInteger</a>, <a class="el" href="classPASNString.html#a4">PASNString</a>, <a class="el" href="classPASNUnsignedInteger.html#a2">PASNUnsignedInteger</a>, <a class="el" href="classPASNObjectID.html#a4">PASNObjectID</a>, <a class="el" href="classPASNNull.html#a2">PASNNull</a>, and <a class="el" href="classPASNSequence.html#a13">PASNSequence</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="q0" doxytag="PASNObject::ASNTypeToType"></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"> BYTE PASNObject::ASNTypeToType[ASNTypeMax]<code> [static, protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Table to map &lt;A&gt;enum ASNType values to ASN identifiers     </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="pasn_8h-source.html">pasn.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:14 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 + -