<!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::RefBase 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:17:33 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::RefBase Class Reference</h1>Provides a few utility routines common to all <a class="el" href="class_sc__Ref.html">Ref</a> template instantiations. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="ref_h-source.html">ref.h</a>></code> <p> Inheritance diagram for sc::RefBase<p><center><img src="class_sc__RefBase_inherit_graph.gif" border="0" usemap="#sc::RefBase_inherit_map" alt="Inheritance graph"></center> <map name="sc::RefBase_inherit_map"> <area href="class_sc__Ref.html" shape="rect" coords="342,80,393,99"> <area href="class_sc__RefDiagSCMatrix.html" shape="rect" coords="14,147,142,165"> <area href="class_sc__RefSCDimension.html" shape="rect" coords="166,147,291,165"> <area href="class_sc__RefSCMatrix.html" shape="rect" coords="315,147,419,165"> <area href="class_sc__RefSCVector.html" shape="rect" coords="443,147,547,165"> <area href="class_sc__RefSymmSCMatrix.html" shape="rect" coords="571,147,710,165"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__RefBase-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::RefBase::~RefBase"></a> virtual </td><td valign=bottom><b>~RefBase</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::RefBase::parentpointer"></a> virtual <a class="el" href="class_sc__RefCount.html">RefCount</a>* </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#a1">parentpointer</a> () const=0</td></tr> <tr><td> </td><td><font size=-1><em>Returns the <a class="el" href="class_sc__DescribedClass.html">DescribedClass</a> pointer for the contained object.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#a2">require_nonnull</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Requires that a nonnull reference is held.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a name="b0" doxytag="sc::RefBase::warn"></a> void </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#b0">warn</a> (const char *msg) const</td></tr> <tr><td> </td><td><font size=-1><em>Print a warning message.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="b1" doxytag="sc::RefBase::warn_ref_to_stack"></a> void </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#b1">warn_ref_to_stack</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Called when stack data is referenced.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="b2" doxytag="sc::RefBase::warn_skip_stack_delete"></a> void </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#b2">warn_skip_stack_delete</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Called when the deletion of stack data is skipped.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="b3" doxytag="sc::RefBase::warn_bad_ref_count"></a> void </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#b3">warn_bad_ref_count</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Called when the reference count is corrupted.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="b4" doxytag="sc::RefBase::ref_info"></a> void </td><td valign=bottom><a class="el" href="class_sc__RefBase.html#b4">ref_info</a> (<a class="el" href="class_sc__RefCount.html">RefCount</a> *p, std::ostream &os) const</td></tr> <tr><td> </td><td><font size=-1><em>Print information about the reference.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="b5" doxytag="sc::RefBase::ref_info"></a> void </td><td valign=bottom><b>ref_info</b> (std::ostream &os) const</td></tr> <tr><td nowrap align=right valign=top><a name="b6" doxytag="sc::RefBase::check_pointer"></a> void </td><td valign=bottom><b>check_pointer</b> () const</td></tr> <tr><td nowrap align=right valign=top><a name="b7" doxytag="sc::RefBase::reference"></a> void </td><td valign=bottom><b>reference</b> (<a class="el" href="class_sc__RefCount.html">RefCount</a> *)</td></tr> <tr><td nowrap align=right valign=top><a name="b8" doxytag="sc::RefBase::dereference"></a> int </td><td valign=bottom><b>dereference</b> (<a class="el" href="class_sc__RefCount.html">RefCount</a> *)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Provides a few utility routines common to all <a class="el" href="class_sc__Ref.html">Ref</a> template instantiations. <p> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="sc::RefBase::require_nonnull"></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> void sc::RefBase::require_nonnull ( </b></td> <td valign="bottom"><b> ) const </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Requires that a nonnull reference is held. <p> If not, the program will abort. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ref_h-source.html">ref.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:17:33 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>