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

📄 classpasn__boolean.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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_Boolean 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_Boolean 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_Boolean:<p><center><img src="classPASN__Boolean.png" usemap="#PASN_Boolean_map" border="0" alt=""></center><map name="PASN_Boolean_map"><area href="classPASN__Object.html" alt="PASN_Object" shape="rect" coords="0,56,99,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,99,24"></map><a href="classPASN__Boolean-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>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a0">PASN_Boolean</a> (BOOL val=FALSE)</td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a1">PASN_Boolean</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>, BOOL val=FALSE)</td></tr><tr><td nowrap align=right valign=top>PASN_Boolean &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a2">operator=</a> (BOOL v)</td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a3">operator BOOL</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a4">GetValue</a> () const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a5">SetValue</a> (BOOL v)</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPObject.html#z199_0">Comparison</a>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a6">Compare</a> (const <a class="el" href="classPObject.html">PObject</a> &amp;obj) const</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPObject.html">PObject</a> *&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a7">Clone</a> () const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a8">PrintOn</a> (ostream &amp;strm) const</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a9">GetTypeAsString</a> () const</td></tr><tr><td nowrap align=right valign=top>virtual PINDEX&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a10">GetDataLength</a> () const</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a11">Decode</a> (<a class="el" href="classPASN__Stream.html">PASN_Stream</a> &amp;)</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#a12">Encode</a> (<a class="el" href="classPASN__Stream.html">PASN_Stream</a> &amp;) const</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPASN__Boolean.html#n0">value</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Class for ASN Boolean type. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PASN_Boolean::PASN_Boolean"></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_Boolean::PASN_Boolean </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">BOOL&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> = FALSE          </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>    </td>  </tr></table><a name="a1" doxytag="PASN_Boolean::PASN_Boolean"></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_Boolean::PASN_Boolean </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></td>          <td class="md" nowrap>BOOL&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>val</em> = FALSE</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><hr><h2>Member Function Documentation</h2><a name="a7" doxytag="PASN_Boolean::Clone"></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="classPObject.html">PObject</a>* PASN_Boolean::Clone </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>Create a copy of the class on the heap. The exact semantics of the descendent class determine what is required to make a duplicate of the instance. Not all classes can even {\bf do} a clone operation.<p>The main user of the clone function is the PDictionary# class as it requires copies of the dictionary keys.<p>The default behaviour is for this function to assert.<p><dl compact><dt><b>Returns: </b></dt><dd> pointer to new copy of the class instance. </dl><p>Reimplemented from <a class="el" href="classPObject.html#z203_0">PObject</a>.    </td>  </tr></table><a name="a6" doxytag="PASN_Boolean::Compare"></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="classPObject.html#z199_0">Comparison</a> PASN_Boolean::Compare </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPObject.html">PObject</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>obj</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>Compare the two objects and return their relative rank. This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.<p>The default function is to use the <a class="el" href="classPObject.html#z199_2">CompareObjectMemoryDirect()</a># function to do a byte wise memory comparison of the two objects.<p><dl compact><dt><b>Returns: </b></dt><dd> <a class="el" href="classPObject.html#z199_0s0">LessThan</a>#, <a class="el" href="classPObject.html#z199_0s1">EqualTo</a># or <a class="el" href="classPObject.html#z199_0s2">GreaterThan</a># according to the relative rank of the objects. </dl><p>Reimplemented from <a class="el" href="classPObject.html#z199_1">PObject</a>.    </td>  </tr></table><a name="a11" doxytag="PASN_Boolean::Decode"></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 BOOL PASN_Boolean::Decode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPASN__Stream.html">PASN_Stream</a> &amp;&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><p>Implements <a class="el" href="classPASN__Object.html#a4">PASN_Object</a>.    </td>  </tr></table><a name="a12" doxytag="PASN_Boolean::Encode"></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_Boolean::Encode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPASN__Stream.html">PASN_Stream</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </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>

⌨️ 快捷键说明

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