Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 263386785cefb9ae5d63b926d214d809 > files > 118

mpqc-2.1.2-4mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>sc::ClassDesc class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:16:45 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>sc::ClassDesc  Class Reference</h1>This class is used to contain information about classes. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="class_h-source.html">class.h</a>&gt;</code>
<p>
Inheritance diagram for sc::ClassDesc<p><center><img src="class_sc__ClassDesc_inherit_graph.gif" border="0" usemap="#sc::ClassDesc_inherit_map" alt="Inheritance graph"></center>
<map name="sc::ClassDesc_inherit_map">
<area href="class_sc__Identity.html" shape="rect" coords="21,14,93,33">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::ClassDesc:<p><center><img src="class_sc__ClassDesc_coll_graph.gif" border="0" usemap="#sc::ClassDesc_coll_map" alt="Collaboration graph"></center>
<map name="sc::ClassDesc_coll_map">
<area href="class_sc__ParentClass.html" shape="rect" coords="158,462,251,481">
<area href="class_sc__Identity.html" shape="rect" coords="30,97,102,115">
<area href="class_sc__RefCount.html" shape="rect" coords="65,179,147,198">
<area href="class_sc__DescribedClass.html" shape="rect" coords="70,265,185,283">
<area href="class_sc__ParentClasses.html" shape="rect" coords="205,545,309,563">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__ClassDesc-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="sc::ClassDesc::ClassDesc"></a>
&nbsp;</td><td valign=bottom><b>ClassDesc</b> (const std::type_info &amp;, const char *,int=1, const char *p=0, <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> *(*ctor)()=0, <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> *(*keyvalctor)(const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__KeyVal.html">KeyVal</a> &gt; &amp;)=0, <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> *(*stateinctor)(<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;)=0)</td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::ClassDesc::~ClassDesc"></a>
&nbsp;</td><td valign=bottom><b>~ClassDesc</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::ClassDesc::parents"></a>
const <a class="el" href="class_sc__ParentClasses.html">ParentClasses</a>&amp;&nbsp;</td><td valign=bottom><b>parents</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::ClassDesc::name"></a>
const char*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#a3">name</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the name of the class.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::ClassDesc::version"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#a4">version</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the version number of the class.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::ClassDesc::create_described_class"></a>
<a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#a5">create_described_class</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>This member has been replaced by <a class="el" href="class_sc__ClassDesc.html#a6">create</a>().</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#a6">create</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create an instance of <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> with exact type equal to the class to which this class descriptor belongs.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#a7">create</a> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__KeyVal.html">KeyVal</a> &gt; &amp;) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create an instance of <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> with exact type equal to the class to which this class descriptor belongs.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#a8">create</a> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create an instance of <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> with exact type equal to the class to which this class descriptor belongs.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="d0" doxytag="sc::ClassDesc::all"></a>
AVLMap&lt;<a class="el" href="class_sc__ClassKey.html">ClassKey</a>,ClassDescP&gt;&amp;&nbsp;</td><td valign=bottom><b>all</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="d1" doxytag="sc::ClassDesc::list_all_classes"></a>
void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#d1">list_all_classes</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Writes a list of all of the classes to <a class="el" href="class_sc__ExEnv.html#d10">ExEnv::out0</a>().</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="d2" doxytag="sc::ClassDesc::name_to_class_desc"></a>
ClassDesc*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#d2">name_to_class_desc</a> (const char *)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Given the name of the class, return a pointer to the class descriptor.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="d3" doxytag="sc::ClassDesc::class_desc"></a>
ClassDesc*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#d3">class_desc</a> (const std::type_info &amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Given a type_info object return a pointer to the <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="d4" doxytag="sc::ClassDesc::load_class"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__ClassDesc.html#d4">load_class</a> (const char *classname)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Attempt to dynamically load the shared object file for classname.</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>ParentClasses</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class is used to contain information about classes.
<p>
Each <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> type has a static <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> member. This member has lists of the parents, children and virtual parents for each class. The <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> class also has a static member that is a list of all described classes in the system. These lists are constructed as the constructors for the static <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> members for each class are called and are completed before main is entered. See <a href="class.html#class">The Described Class Library</a> for more information. 
<p>
<hr><h2>Member Function Documentation</h2>
<a name="a8" doxytag="sc::ClassDesc::create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
<a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> * sc::ClassDesc::create (
          </b></td>
          <td valign="bottom"><b>
<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;&nbsp;) const<code> [virtual]</code>
          </b></td>
        </tr>

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

<p>
Create an instance of <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> with exact type equal to the class to which this class descriptor belongs.
<p>
The <a class="el" href="class_sc__StateIn.html">StateIn</a>&amp; constructor is used. If this constructor doesn't exist or a static function that calls it with new wasn't passed to this <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>, then 0 will be returned.     </td>
  </tr>
</table>
<a name="a7" doxytag="sc::ClassDesc::create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
<a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> * sc::ClassDesc::create (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__KeyVal.html">KeyVal</a> &gt; &amp;&nbsp;) const<code> [virtual]</code>
          </b></td>
        </tr>

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

<p>
Create an instance of <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> with exact type equal to the class to which this class descriptor belongs.
<p>
The <a class="el" href="class_sc__KeyVal.html">KeyVal</a>&amp; constructor is used. If this constructor doesn't exist or a static function that calls it with new wasn't passed to this <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>, then 0 will be returned.     </td>
  </tr>
</table>
<a name="a6" doxytag="sc::ClassDesc::create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
<a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> * sc::ClassDesc::create (
          </b></td>
          <td valign="bottom"><b>
) const<code> [virtual]</code>
          </b></td>
        </tr>

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

<p>
Create an instance of <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> with exact type equal to the class to which this class descriptor belongs.
<p>
The constructor which takes no arguments is used. If this constructor doesn't exist or a static function that calls it with new wasn't given to this <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> when it was created, then 0 will be returned.     </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="class_h-source.html">class.h</a></ul>
<hr>
<address>
<small>

Generated at Mon Oct 14 14:16:45 2002 for <a
href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a>
2.1.2 using the documentation package <a
href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a>
1.2.5.

</small>
</address>
</body>
</html>