File: a00131.html

package info (click to toggle)
libloki 0.1.7-5
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 6,600 kB
  • sloc: cpp: 30,475; ansic: 1,974; makefile: 365; php: 316; perl: 108
file content (66 lines) | stat: -rwxr-xr-x 4,050 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Loki: Loki::SmartPointer&lt; AbstractProduct, OwnershipPolicy, ConversionPolicy, CheckingPolicy, ConstnessPolicy &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="a00192.html">Loki</a>::<a class="el" href="a00131.html">SmartPointer</a>
  </div>
</div>
<div class="contents">
<h1>Loki::SmartPointer&lt; AbstractProduct, OwnershipPolicy, ConversionPolicy, CheckingPolicy, ConstnessPolicy &gt; Class Template Reference<br>
<small>
[<a class="el" href="a00201.html">Encapsulation policies</a>]</small>
</h1><!-- doxytag: class="Loki::SmartPointer" -->Encapsulate the object in a <a class="el" href="a00132.html">SmartPtr</a> with <a class="el" href="a00063.html" title="Implementation of the StoragePolicy used by SmartPtr.">FunctionStorage</a> policy.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;SPCachedFactory.h&gt;</code>
<p>

<p>
<a href="a00428.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class AbstractProduct, template&lt; class &gt; class OwnershipPolicy = RefCounted, class ConversionPolicy = DisallowConversion, template&lt; class &gt; class CheckingPolicy = AssertCheck, template&lt; class &gt; class ConstnessPolicy = LOKI_DEFAULT_CONSTNESS&gt;<br>
 class Loki::SmartPointer&lt; AbstractProduct, OwnershipPolicy, ConversionPolicy, CheckingPolicy, ConstnessPolicy &gt;</h3>

Encapsulate the object in a <a class="el" href="a00132.html">SmartPtr</a> with <a class="el" href="a00063.html" title="Implementation of the StoragePolicy used by SmartPtr.">FunctionStorage</a> policy. 
<p>
The object will come back to the Cache as soon as no more <a class="el" href="a00132.html">SmartPtr</a> are referencing this object. You can customize the <a class="el" href="a00131.html" title="Encapsulate the object in a SmartPtr with FunctionStorage policy.">SmartPointer</a> with the standard <a class="el" href="a00132.html">SmartPtr</a> policies (OwnershipPolicy, ConversionPolicy, CheckingPolicy, ConstnessPolicy) but StoragePolicy is forced to <a class="el" href="a00063.html" title="Implementation of the StoragePolicy used by SmartPtr.">FunctionStorage</a>. <hr>The documentation for this class was generated from the following file:<ul>
<li>SPCachedFactory.h</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 29 18:51:45 2009 for Loki by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>