📄 classstdforthio.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>StdForthIo 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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>StdForthIo Class Reference<br><small>[<a class="el" href="group__forth__test.html">Test - Test code for forth virtual machine</a>]</small></h1><!-- doxytag: class="StdForthIo" --><!-- doxytag: inherits="ForthIo" --><p>Inheritance diagram for StdForthIo:<p><center><img src="classStdForthIo.png" usemap="#StdForthIo_map" border="0" alt=""></center><map name="StdForthIo_map"><area href="classForthIo.html" alt="ForthIo" shape="rect" coords="0,0,70,24"></map><a href="classStdForthIo-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2><a class="el" href="classForthIo.html">ForthIo</a> implementation which uses C standard library console i/o functions.<p><p>Definition at line <a class="el" href="forthtest_8cpp-source.html#l00029">29</a> of file <a class="el" href="forthtest_8cpp-source.html">forthtest.cpp</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></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="anchor" name="a0"></a><!-- doxytag: member="StdForthIo::StdForthIo" ref="a0" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStdForthIo.html#a0">StdForthIo</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classStdForthIo.html#a1">ConsoleOut</a> (const <a class="el" href="group__forth.html#ga2">CHAR</a> *text, <a class="el" href="group__forth.html#ga1">UCELL</a> textLength)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="group__forth.html#ga0">CELL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStdForthIo.html#a2">ConsoleIn</a> ()</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a1"></a><!-- doxytag: member="StdForthIo::ConsoleOut" ref="a1" args="(const CHAR *text, UCELL textLength)" --><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">virtual void StdForthIo::ConsoleOut </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__forth.html#ga2">CHAR</a> * </td> <td class="mdname" nowrap> <em>text</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__forth.html#ga1">UCELL</a> </td> <td class="mdname" nowrap> <em>textLength</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Display a text string on the console. This is called by the forth words <code>TYPE</code> and <code>EMIT</code>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>Pointer to string. </td></tr> <tr><td valign="top"></td><td valign="top"><em>textLength</em> </td><td>Number of characters in string.</td></tr> </table></dl><p>Implements <a class="el" href="classForthIo.html#a0">ForthIo</a>.<p>Definition at line <a class="el" href="forthtest_8cpp-source.html#l00034">34</a> of file <a class="el" href="forthtest_8cpp-source.html">forthtest.cpp</a>. </td> </tr></table><a class="anchor" name="a2"></a><!-- doxytag: member="StdForthIo::ConsoleIn" ref="a2" 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">virtual <a class="el" href="group__forth.html#ga0">CELL</a> StdForthIo::ConsoleIn </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Get a single character from the console input. This is called by the forth word <code>KEY</code>. <dl compact><dt><b>Returns:</b></dt><dd>The character.</dd></dl><p>Implements <a class="el" href="classForthIo.html#a1">ForthIo</a>.<p>Definition at line <a class="el" href="forthtest_8cpp-source.html#l00036">36</a> of file <a class="el" href="forthtest_8cpp-source.html">forthtest.cpp</a>. </td> </tr></table><hr>The documentation for this class was generated from the following file:<ul><li>forth/test/<a class="el" href="forthtest_8cpp-source.html">forthtest.cpp</a></ul><HR><ADDRESS STYLE="align: right;"><SMALL>Generated by <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 + -