<!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::DescribedClass 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:50 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</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> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>sc::DescribedClass Class Reference</h1>Classes which need runtime information about themselves and their relationship to other classes can virtually inherit from <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="class_h-source.html">class.h</a>></code> <p> Inheritance diagram for sc::DescribedClass<p><center><img src="class_sc__DescribedClass_inherit_graph.gif" border="0" usemap="#sc::DescribedClass_inherit_map" alt="Inheritance graph"></center> <map name="sc::DescribedClass_inherit_map"> <area href="class_sc__DiagSCMatrix.html" shape="rect" coords="339,174,449,192"> <area href="class_sc__MemoryGrp.html" shape="rect" coords="345,387,443,406"> <area href="class_sc__MessageGrp.html" shape="rect" coords="345,430,443,448"> <area href="class_sc__PsiExEnv.html" shape="rect" coords="353,515,435,534"> <area href="class_sc__SavableState.html" shape="rect" coords="343,686,445,704"> <area href="class_sc__SCMatrix.html" shape="rect" coords="353,728,435,747"> <area href="class_sc__SCMatrixKit.html" shape="rect" coords="343,771,445,790"> <area href="class_sc__SCVector.html" shape="rect" coords="353,814,435,832"> <area href="class_sc__StateIn.html" shape="rect" coords="359,856,429,875"> <area href="class_sc__StateOut.html" shape="rect" coords="355,899,433,918"> <area href="class_sc__SymmSCMatrix.html" shape="rect" coords="334,942,454,960"> <area href="class_sc__ThreadGrp.html" shape="rect" coords="349,984,439,1003"> <area href="class_sc__RefCount.html" shape="rect" coords="26,558,109,576"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::DescribedClass:<p><center><img src="class_sc__DescribedClass_coll_graph.gif" border="0" usemap="#sc::DescribedClass_coll_map" alt="Collaboration graph"></center> <map name="sc::DescribedClass_coll_map"> <area href="class_sc__RefCount.html" shape="rect" coords="30,80,113,99"> <area href="class_sc__Identity.html" shape="rect" coords="35,13,107,32"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__DescribedClass-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::DescribedClass::DescribedClass"></a> </td><td valign=bottom><b>DescribedClass</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::DescribedClass::DescribedClass"></a> </td><td valign=bottom><b>DescribedClass</b> (const DescribedClass &)</td></tr> <tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::DescribedClass::operator="></a> DescribedClass& </td><td valign=bottom><b>operator=</b> (const DescribedClass &)</td></tr> <tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::DescribedClass::~DescribedClass"></a> virtual </td><td valign=bottom><b>~DescribedClass</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::DescribedClass::class_desc"></a> <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>* </td><td valign=bottom><a class="el" href="class_sc__DescribedClass.html#a4">class_desc</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>This returns the unique pointer to the <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> corresponding to the given type_info object.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::DescribedClass::class_name"></a> const char* </td><td valign=bottom><a class="el" href="class_sc__DescribedClass.html#a5">class_name</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Return the name of the object's exact type.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::DescribedClass::class_version"></a> int </td><td valign=bottom><a class="el" href="class_sc__DescribedClass.html#a6">class_version</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Return the version of the class.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::DescribedClass::print"></a> virtual void </td><td valign=bottom><a class="el" href="class_sc__DescribedClass.html#a7">print</a> (std::ostream &=ExEnv::out0()) const</td></tr> <tr><td> </td><td><font size=-1><em>Print the object.</em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Classes which need runtime information about themselves and their relationship to other classes can virtually inherit from <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>. <p> This will provide the class with the ability to query its name and its version. Furthermore, the class's static <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> can be obtained which permits several other operations. See <a href="class.html#class">The Described Class Library</a> for more information. <p> <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:51 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>