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

📄 classwordheader.html

📁 这个是关于G.726算法的源程序
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>WordHeader Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div><h1>WordHeader Class Reference<br><small>[<a class="el" href="group__forth__imp.html">Internal - Internal implementation of the forth virtual machine</a>]</small></h1><!-- doxytag: class="WordHeader" --><a href="classWordHeader-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>Representation of a forth word's header in the dictionary. <p><p>Definition at line <a class="el" href="forth_8cpp-source.html#l00119">119</a> of file <a class="el" href="forth_8cpp-source.html">forth.cpp</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWordHeader.html#w3">WordFlags</a> { <a class="el" href="classWordHeader.html#w3w0">Token</a> =  1&lt;&lt;5, <a class="el" href="classWordHeader.html#w3w1">Immediate</a> =  1&lt;&lt;6, <a class="el" href="classWordHeader.html#w3w2">Valid</a> =  1&lt;&lt;7 }</td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__forth.html#ga0">CELL</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWordHeader.html#a0">CFA</a> ()</td></tr><tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__forth.html#ga0">CELL</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWordHeader.html#o0">Previous</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__forth.html#ga2">CHAR</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWordHeader.html#o1">NameLength</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2"></a><!-- doxytag: member="WordHeader::Name" ref="o2" args="[1]" --><a class="el" href="group__forth.html#ga2">CHAR</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWordHeader.html#o2">Name</a> [1]</td></tr></table><hr><h2>Member Enumeration Documentation</h2><a class="anchor" name="w3"></a><!-- doxytag: member="WordHeader::WordFlags" ref="w3" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="classWordHeader.html#w3">WordHeader::WordFlags</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Bit flags representing the type of a word definition. The flags are present in <a class="el" href="classWordHeader.html#o1">NameLength</a>.<dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="w3w0"></a><!-- doxytag: member="Token" ref="w3w0" args="" -->Token</em>&nbsp;</td><td>The words CFA contains its exection token value. (As opposed to a list of execution tokens.) </td></tr><tr><td valign="top"><em><a class="anchor" name="w3w1"></a><!-- doxytag: member="Immediate" ref="w3w1" args="" -->Immediate</em>&nbsp;</td><td>The word is an <code>IMMEDIATE</code> word. </td></tr><tr><td valign="top"><em><a class="anchor" name="w3w2"></a><!-- doxytag: member="Valid" ref="w3w2" args="" -->Valid</em>&nbsp;</td><td>The word can be found in the dictionary. </td></tr></table></dl><p>Definition at line <a class="el" href="forth_8cpp-source.html#l00150">150</a> of file <a class="el" href="forth_8cpp-source.html">forth.cpp</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a0"></a><!-- doxytag: member="WordHeader::CFA" ref="a0" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__forth.html#ga0">CELL</a>* WordHeader::CFA           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&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>Calculate the word's Code Field Address (CFA). <dl compact><dt><b>Returns:</b></dt><dd>The word's CFA.</dd></dl><p>Definition at line <a class="el" href="forth_8cpp-source.html#l00163">163</a> of file <a class="el" href="forth_8cpp-source.html">forth.cpp</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="o0"></a><!-- doxytag: member="WordHeader::Previous" ref="o0" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__forth.html#ga0">CELL</a> <a class="el" href="classWordHeader.html#o0">WordHeader::Previous</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Link to the previous word in the wordlist, this is an address offset from 'this'. E.g. to get a pointer to the previous word: <div class="fragment"><pre class="fragment">    <a class="code" href="classWordHeader.html">WordHeader</a>* word = a_word;    <a class="code" href="classWordHeader.html">WordHeader</a>* previous_word = (<a class="code" href="classWordHeader.html">WordHeader</a>*)((<a class="code" href="group__forth.html#ga0">CELL</a>)a_word+<a class="code" href="classWordHeader.html#o0">Previous</a>);</pre></div> If <a class="el" href="classWordHeader.html#o0">Previous</a> equals zero then the end of the wordlist has been reached and the this header isn't associated with a word definition.<p>Definition at line <a class="el" href="forth_8cpp-source.html#l00132">132</a> of file <a class="el" href="forth_8cpp-source.html">forth.cpp</a>.    </td>  </tr></table><a class="anchor" name="o1"></a><!-- doxytag: member="WordHeader::NameLength" ref="o1" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__forth.html#ga2">CHAR</a> <a class="el" href="classWordHeader.html#o1">WordHeader::NameLength</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Length of the word's name. This also includes flag values from <a class="el" href="classWordHeader.html#w3">WordFlags</a>. To mask out these flags, AND the value with <a class="el" href="group__forth__imp.html#ga3">NameLengthMask</a>.<p>The first character of the name. Any subsequent characters follow immediately after this one.<p>Definition at line <a class="el" href="forth_8cpp-source.html#l00140">140</a> of file <a class="el" href="forth_8cpp-source.html">forth.cpp</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li>forth/<a class="el" href="forth_8cpp-source.html">forth.cpp</a></ul><HR><ADDRESS STYLE="align: right;"><SMALL>Generated by&nbsp; <A HREF="http://www.doxygen.org/index.html"><IMG SRC="doxygen.png" ALT="doxygen" ALIGN="middle" BORDER="0"></A> 1.4.4</SMALL></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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