Sophie

Sophie

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

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> Templatesc::ForceLink 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:54 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::ForceLink  Class Template Reference</h1>This, together with <a class="el" href="class_sc__ForceLinkBase.html">ForceLinkBase</a>, is used to force code for particular classes to be linked into executables. 
<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::ForceLink<p><center><img src="class_sc__ForceLink_inherit_graph.gif" border="0" usemap="#sc::ForceLink_inherit_map" alt="Inheritance graph"></center>
<map name="sc::ForceLink_inherit_map">
<area href="class_sc__ForceLinkBase.html" shape="rect" coords="14,14,158,33">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::ForceLink:<p><center><img src="class_sc__ForceLink_coll_graph.gif" border="0" usemap="#sc::ForceLink_coll_map" alt="Collaboration graph"></center>
<map name="sc::ForceLink_coll_map">
<area href="class_sc__ForceLinkBase.html" shape="rect" coords="14,14,158,33">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__ForceLink-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::ForceLink::create"></a>
<a class="el" href="class_sc__DescribedClass.html">DescribedClass</a>*&nbsp;</td><td valign=bottom><b>create</b> (A a)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T, class A = const Ref&lt;KeyVal&gt; &amp;&gt;  class sc::ForceLink</h3>

This, together with <a class="el" href="class_sc__ForceLinkBase.html">ForceLinkBase</a>, is used to force code for particular classes to be linked into executables.
<p>
Objects are created from input and checkpoint files by using class name lookup to find that class's <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> object. The <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> object has members that can create the class. Unfortunately, linking in a library doesn't cause code for the the <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>, and thus the class itself, to be linked. <a class="el" href="class_sc__ForceLink.html">ForceLink</a> objects are created in linkage.h files for each library. The code containing the main routine for an executable can include these linkage files to force code for that library's classes to be linked. 
<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:55 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>