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

📄 classpasn__constrainedobject.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>PASN_ConstrainedObject class 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>PASN_ConstrainedObject Class Reference</h1><code>#include &lt;<a class="el" href="asner_8h-source.html">asner.h</a>&gt;</code><p><p>Inheritance diagram for PASN_ConstrainedObject:<p><center><img src="classPASN__ConstrainedObject.png" usemap="#PASN_ConstrainedObject_map" border="0" alt=""></center><map name="PASN_ConstrainedObject_map"><area href="classPASN__Object.html" alt="PASN_Object" shape="rect" coords="420,56,578,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="420,0,578,24"><area href="classPASN__Array.html" alt="PASN_Array" shape="rect" coords="0,168,158,192"><area href="classPASN__BitString.html" alt="PASN_BitString" shape="rect" coords="168,168,326,192"><area href="classPASN__BMPString.html" alt="PASN_BMPString" shape="rect" coords="336,168,494,192"><area href="classPASN__ConstrainedString.html" alt="PASN_ConstrainedString" shape="rect" coords="504,168,662,192"><area href="classPASN__Integer.html" alt="PASN_Integer" shape="rect" coords="672,168,830,192"><area href="classPASN__OctetString.html" alt="PASN_OctetString" shape="rect" coords="840,168,998,192"></map><a href="classPASN__ConstrainedObject-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#a0">IsConstrained</a> () const</td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#a1">GetLowerLimit</a> () const</td></tr><tr><td nowrap align=right valign=top>unsigned&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#a2">GetUpperLimit</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#a3">ConstrainedLengthDecode</a> (PPER_Stream &amp;strm, unsigned &amp;length)</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#a4">ConstrainedLengthEncode</a> (PPER_Stream &amp;strm, unsigned length) const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#a5">ConstraintEncode</a> (PPER_Stream &amp;strm, unsigned value) const</td></tr><tr><td colspan=2><br><h2>Protected Methods</h2></td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#b0">SetConstraintBounds</a> (<a class="el" href="classPASN__Object.html#s40">ConstraintType</a> type, int lower, unsigned upper)</td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#b1">PASN_ConstrainedObject</a> (unsigned <a class="el" href="classPASN__Object.html#n2">tag</a>, <a class="el" href="classPASN__Object.html#s38">TagClass</a> <a class="el" href="classPASN__Object.html#n1">tagClass</a>)</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPASN__Object.html#s40">ConstraintType</a>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#n0">constraint</a></td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#n1">lowerLimit</a></td></tr><tr><td nowrap align=right valign=top>unsigned&nbsp;</td><td valign=bottom><a class="el" href="classPASN__ConstrainedObject.html#n2">upperLimit</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Base class for constrained ASN encoding/decoding. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="b1" doxytag="PASN_ConstrainedObject::PASN_ConstrainedObject"></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"> PASN_ConstrainedObject::PASN_ConstrainedObject </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>tag</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPASN__Object.html#s38">TagClass</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>tagClass</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a3" doxytag="PASN_ConstrainedObject::ConstrainedLengthDecode"></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 PASN_ConstrainedObject::ConstrainedLengthDecode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">PPER_Stream &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>strm</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>length</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>    </td>  </tr></table><a name="a4" doxytag="PASN_ConstrainedObject::ConstrainedLengthEncode"></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 PASN_ConstrainedObject::ConstrainedLengthEncode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">PPER_Stream &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>strm</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>length</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a5" doxytag="PASN_ConstrainedObject::ConstraintEncode"></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 PASN_ConstrainedObject::ConstraintEncode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">PPER_Stream &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>strm</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>value</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</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="PASN_ConstrainedObject::GetLowerLimit"></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 PASN_ConstrainedObject::GetLowerLimit </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> const<code> [inline]</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="a2" doxytag="PASN_ConstrainedObject::GetUpperLimit"></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"> unsigned PASN_ConstrainedObject::GetUpperLimit </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> const<code> [inline]</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="a0" doxytag="PASN_ConstrainedObject::IsConstrained"></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 PASN_ConstrainedObject::IsConstrained </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> const<code> [inline]</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="b0" doxytag="PASN_ConstrainedObject::SetConstraintBounds"></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 PASN_ConstrainedObject::SetConstraintBounds </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPASN__Object.html#s40">ConstraintType</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>type</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>lower</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>upper</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Reimplemented from <a class="el" href="classPASN__Object.html#a16">PASN_Object</a>.<p>Reimplemented in <a class="el" href="classPASN__Integer.html#a9">PASN_Integer</a>, <a class="el" href="classPASN__BitString.html#a16">PASN_BitString</a>, <a class="el" href="classPASN__OctetString.html#a23">PASN_OctetString</a>, <a class="el" href="classPASN__ConstrainedString.html#a12">PASN_ConstrainedString</a>, and <a class="el" href="classPASN__Array.html#a8">PASN_Array</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n0" doxytag="PASN_ConstrainedObject::constraint"></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="classPASN__Object.html#s40">ConstraintType</a> PASN_ConstrainedObject::constraint<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n1" doxytag="PASN_ConstrainedObject::lowerLimit"></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 PASN_ConstrainedObject::lowerLimit<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n2" doxytag="PASN_ConstrainedObject::upperLimit"></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"> unsigned PASN_ConstrainedObject::upperLimit<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="asner_8h-source.html">asner.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:13 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 + -