<!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>SWDisplay class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.15 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> <hr><h1>SWDisplay Class Reference</h1>swdisp is the basis for all types of displays (e.g. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="swdisp_8h-source.html">swdisp.h</a>></code> <p> Inheritance diagram for SWDisplay:<p><center><img src="class_s_w_display__inherit__graph.png" border="0" usemap="#_s_w_display__inherit__map" alt="Inheritance graph"></center> <map name="_s_w_display__inherit__map"> <area href="class_s_w_object.html" shape="rect" coords="15,15,87,34" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for SWDisplay:<p><center><img src="class_s_w_display__coll__graph.png" border="0" usemap="#_s_w_display__coll__map" alt="Collaboration graph"></center> <map name="_s_w_display__coll__map"> <area href="class_s_w_object.html" shape="rect" coords="122,105,194,124" alt=""> <area href="class_s_w_class.html" shape="rect" coords="51,15,115,33" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_s_w_display-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a0" doxytag="SWDisplay::SWDisplay"></a> </td><td valign=bottom><b>SWDisplay</b> ()</td></tr> <tr><td nowrap align=right valign=top>virtual char </td><td valign=bottom><a class="el" href="class_s_w_display.html#a1">Display</a> (<a class="el" href="class_s_w_module.html">SWModule</a> &imodule)</td></tr> <tr><td> </td><td><font size=-1><em>casts a module to a character pointer and displays it to raw output (overriden for different display types and module types if necessary).</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a name="r0" doxytag="SWDisplay::classdef"></a> <a class="el" href="class_s_w_class.html">SWClass</a> </td><td valign=bottom><b>classdef</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> swdisp is the basis for all types of displays (e.g. <p> raw textout, curses, xwindow, etc.) <p> <p> Definition at line <a class="el" href="swdisp_8h-source.html#l00034">34</a> of file <a class="el" href="swdisp_8h-source.html">swdisp.h</a>.<hr><h2>Member Function Documentation</h2> <a name="a1" doxytag="SWDisplay::Display"></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"> char SWDisplay::Display </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_s_w_module.html">SWModule</a> & </td> <td class="mdname1" valign="top" nowrap> <em>imodule</em> </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> casts a module to a character pointer and displays it to raw output (overriden for different display types and module types if necessary). <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>imodule</em> </td><td> module to display </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> error status </dl> <p> Definition at line <a class="el" href="swdisp_8cpp-source.html#l00023">23</a> of file <a class="el" href="swdisp_8cpp-source.html">swdisp.cpp</a>. <p> Referenced by <a class="el" href="swmodule_8cpp-source.html#l00252">SWModule::Display</a>(). <p> <div class="fragment"><pre>00024 { 00025 cout << (<font class="keyword">const</font> <font class="keywordtype">char</font> *)imodule; 00026 <font class="keywordflow">return</font> 0; 00027 } </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="swdisp_8h-source.html">swdisp.h</a><li><a class="el" href="swdisp_8cpp-source.html">swdisp.cpp</a></ul> <hr><address align="right"><small>Generated on Thu Jun 20 22:13:03 2002 for The Sword Project 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.15 </small></address> </body> </html>