Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > a74ec78bdb789d910d054e3918f3f007 > files > 190

libsword1-devel-1.5.5-2mdk.ppc.rpm

<!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>SWCom 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> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>SWCom  Class Reference</h1>The basis for all commentary modules. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="swcom_8h-source.html">swcom.h</a>&gt;</code>
<p>
Inheritance diagram for SWCom:<p><center><img src="class_s_w_com__inherit__graph.png" border="0" usemap="#_s_w_com__inherit__map" alt="Inheritance graph"></center>
<map name="_s_w_com__inherit__map">
<area href="class_s_w_module.html" shape="rect" coords="14,15,89,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for SWCom:<p><center><img src="class_s_w_com__coll__graph.png" border="0" usemap="#_s_w_com__coll__map" alt="Collaboration graph"></center>
<map name="_s_w_com__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_com-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>&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_com.html#a0">SWCom</a> (const char *imodname=0, const char *imoddesc=0, <a class="el" href="class_s_w_display.html">SWDisplay</a> *idisp=0, SWTextEncoding enc=ENC_UNKNOWN, SWTextDirection dir=DIRECTION_LTR, SWTextMarkup mark=FMT_UNKNOWN, const char *ilang=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initializes data for instance of SWCom.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="SWCom::~SWCom"></a>
virtual&nbsp;</td><td valign=bottom><b>~SWCom</b> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_s_w_key.html">SWKey</a> *&nbsp;</td><td valign=bottom><a class="el" href="class_s_w_com.html#a2">CreateKey</a> ()</td></tr>
<tr><td>&nbsp;</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>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The basis for all commentary modules.
<p>

<p>
Definition at line <a class="el" href="swcom_8h-source.html#l00033">33</a> of file <a class="el" href="swcom_8h-source.html">swcom.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="SWCom::SWCom"></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"> SWCom::SWCom </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>imodname</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <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> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>idisp</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>SWTextEncoding&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>enc</em> = ENC_UNKNOWN, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>SWTextDirection&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dir</em> = DIRECTION_LTR, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>SWTextMarkup&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mark</em> = FMT_UNKNOWN, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>ilang</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initializes data for instance of SWCom.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>imodname</em>&nbsp;</td><td>
Internal name for module </td></tr>
<tr><td valign=top><em>imoddesc</em>&nbsp;</td><td>
Name to display to user for module </td></tr>
<tr><td valign=top><em>idisp</em>&nbsp;</td><td>
Display object to use for displaying </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="swcom_8cpp-source.html#l00017">17</a> of file <a class="el" href="swcom_8cpp-source.html">swcom.cpp</a>.
<p>
References <a class="el" href="swcom_8h-source.html#l00044">CreateKey</a>(), and <a class="el" href="swmodule_8h-source.html#l00077">SWModule::key</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">"Commentaries"</font>, enc, dir, mark, ilang)
00018 {
00019         <font class="keyword">delete</font> <a class="code" href="class_s_w_module.html#n6">key</a>;
00020         <a class="code" href="class_s_w_module.html#n6">key</a> = <a class="code" href="class_s_w_com.html#a2">CreateKey</a>();
00021 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="SWCom::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>* SWCom::CreateKey </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </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>, SWCom </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>.
<p>
Definition at line <a class="el" href="swcom_8h-source.html#l00044">44</a> of file <a class="el" href="swcom_8h-source.html">swcom.h</a>.
<p>
Referenced by <a class="el" href="swcom_8cpp-source.html#l00017">SWCom</a>().
<p>
<div class="fragment"><pre>00045   {
00046     <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="class_verse_key.html">VerseKey</a>();
00047   }
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="swcom_8h-source.html">swcom.h</a><li><a class="el" href="swcom_8cpp-source.html">swcom.cpp</a></ul>
<hr><address align="right"><small>Generated on Thu Jun 20 22:13:02 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>