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

📄 classwordheader.html

📁 Tixys source code, include G.711, G.726, IMA-ADPCM etc.
💻 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.1 --><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><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#l00115">115</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></table><hr><h2>Member Enumeration Documentation</h2><a class="anchor" name="w3" doxytag="WordHeader::WordFlags"></a><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>Enumeration values: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="w3w0" doxytag="Token"></a>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" doxytag="Immediate"></a>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" doxytag="Valid"></a>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#l00146">146</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" doxytag="WordHeader::CFA"></a><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#l00159">159</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" doxytag="WordHeader::Previous"></a><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#l00128">128</a> of file <a class="el" href="forth_8cpp-source.html">forth.cpp</a>.    </td>  </tr></table><a class="anchor" name="o1" doxytag="WordHeader::NameLength"></a><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>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#l00136">136</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.1</SMALL></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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