<!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>SWGenBook 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>SWGenBook Class Reference</h1>the basis for all types of Lexicon and Dictionary modules (hence the 'LD'). <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="swgenbook_8h-source.html">swgenbook.h</a>></code> <p> Inheritance diagram for SWGenBook:<p><center><img src="class_s_w_gen_book__inherit__graph.png" border="0" usemap="#_s_w_gen_book__inherit__map" alt="Inheritance graph"></center> <map name="_s_w_gen_book__inherit__map"> <area href="class_s_w_module.html" shape="rect" coords="21,15,95,34" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for SWGenBook:<p><center><img src="class_s_w_gen_book__coll__graph.png" border="0" usemap="#_s_w_gen_book__coll__map" alt="Collaboration graph"></center> <map name="_s_w_gen_book__coll__map"> <area href="class_s_w_module.html" shape="rect" coords="193,391,267,410" alt=""> <area href="class_list_key.html" shape="rect" coords="75,294,129,313" alt=""> <area href="class_s_w_key.html" shape="rect" coords="122,197,178,215" alt=""> <area href="class_s_w_object.html" shape="rect" coords="219,106,291,125" alt=""> <area href="class_s_w_display.html" shape="rect" coords="273,197,347,215" alt=""> <area href="class_s_w_class.html" shape="rect" coords="145,15,209,34" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_s_w_gen_book-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> </td><td valign=bottom><a class="el" href="class_s_w_gen_book.html#a0">SWGenBook</a> (const char *imodname=0, const char *imoddesc=0, <a class="el" href="class_s_w_display.html">SWDisplay</a> *idisp=0, SWTextEncoding encoding=ENC_UNKNOWN, SWTextDirection dir=DIRECTION_LTR, SWTextMarkup markup=FMT_UNKNOWN, const char *ilang=0)</td></tr> <tr><td> </td><td><font size=-1><em>Initializes data for instance of <a class="el" href="class_s_w_l_d.html">SWLD</a>.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="SWGenBook::~SWGenBook"></a> virtual </td><td valign=bottom><b>~SWGenBook</b> ()</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="class_s_w_key.html">SWKey</a> * </td><td valign=bottom><a class="el" href="class_s_w_gen_book.html#a2">CreateKey</a> ()=0</td></tr> <tr><td> </td><td><font size=-1><em>Allocates a key of specific type for module The different reimplementatiosn of <a class="el" href="class_s_w_module.html">SWModule</a> (e.g.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a name="n0" doxytag="SWGenBook::entkeytxt"></a> char * </td><td valign=bottom><b>entkeytxt</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> the basis for all types of Lexicon and Dictionary modules (hence the 'LD'). <p> <p> Definition at line <a class="el" href="swgenbook_8h-source.html#l00034">34</a> of file <a class="el" href="swgenbook_8h-source.html">swgenbook.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="SWGenBook::SWGenBook"></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"> SWGenBook::SWGenBook </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>imodname</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>imoddesc</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="class_s_w_display.html">SWDisplay</a> * </td> <td class="mdname" nowrap> <em>idisp</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>SWTextEncoding </td> <td class="mdname" nowrap> <em>encoding</em> = ENC_UNKNOWN, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>SWTextDirection </td> <td class="mdname" nowrap> <em>dir</em> = DIRECTION_LTR, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>SWTextMarkup </td> <td class="mdname" nowrap> <em>markup</em> = FMT_UNKNOWN, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>ilang</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Initializes data for instance of <a class="el" href="class_s_w_l_d.html">SWLD</a>. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>imodname</em> </td><td> Internal name for module </td></tr> <tr><td valign=top><em>imoddesc</em> </td><td> Name to display to user for module </td></tr> <tr><td valign=top><em>idisp</em> </td><td> Display object to use for displaying </td></tr> </table> </dl> <p> Definition at line <a class="el" href="swgenbook_8cpp-source.html#l00017">17</a> of file <a class="el" href="swgenbook_8cpp-source.html">swgenbook.cpp</a>. <p> <div class="fragment"><pre>00017 : <a class="code" href="class_s_w_module.html#a0">SWModule</a>(imodname, imoddesc, idisp, <font class="stringliteral">"Generic Books"</font>, enc, dir, mark, ilang) { 00018 } </pre></div> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="SWGenBook::CreateKey"></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="class_s_w_key.html">SWKey</a>* SWGenBook::CreateKey </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> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Allocates a key of specific type for module The different reimplementatiosn of <a class="el" href="class_s_w_module.html">SWModule</a> (e.g. <p> <a class="el" href="class_s_w_text.html">SWText</a>) support <a class="el" href="class_s_w_key.html">SWKey</a> implementations, which support special. This functions returns a <a class="el" href="class_s_w_key.html">SWKey</a> object which works with the current implementation of <a class="el" href="class_s_w_module.html">SWModule</a>. For example for the <a class="el" href="class_s_w_text.html">SWText</a> class it returns a <a class="el" href="class_verse_key.html">VerseKey</a> object. <dl compact><dt><b> See also: </b><dd> <a class="el" href="class_verse_key.html">VerseKey</a>, <a class="el" href="class_list_key.html">ListKey</a>, <a class="el" href="class_s_w_text.html">SWText</a>, <a class="el" href="class_s_w_l_d.html">SWLD</a>, <a class="el" href="class_s_w_com.html">SWCom</a> </dl><dl compact><dt><b> Returns: </b><dd> pointer to allocated key </dl> <p> Reimplemented from <a class="el" href="class_s_w_module.html#a26">SWModule</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="swgenbook_8h-source.html">swgenbook.h</a><li><a class="el" href="swgenbook_8cpp-source.html">swgenbook.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>