root/library/doc/html/shared__ptr_8h.html @ 652

Revision 651, 7.6 kB (checked in by mido, 15 years ago)

\doc directory cleaned a bit

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: shared_ptr.h File Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.9 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="annotated.html"><span>Classes</span></a></li>
55      <li class="current"><a href="files.html"><span>Files</span></a></li>
56    </ul>
57  </div>
58  <div class="tabs">
59    <ul>
60      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
61      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
62    </ul>
63  </div>
64</div>
65<div class="contents">
66<h1>shared_ptr.h File Reference</h1>BDM's own smart pointers. 
67<a href="#_details">More...</a>
68<p>
69<code>#include &lt;limits.h&gt;</code><br>
70<code>#include &lt;algorithm&gt;</code><br>
71<code>#include &lt;stdexcept&gt;</code><br>
72<code>#include &lt;string&gt;</code><br>
73<code>#include &quot;<a class="el" href="bdmerror_8h_source.html">bdmerror.h</a>&quot;</code><br>
74
75<p>
76<a href="shared__ptr_8h_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
77<tr><td></td></tr>
78<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
79<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1shared__ptr.html">bdm::shared_ptr&lt; T &gt;</a></td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A naive implementation of roughly a subset of the std::tr1::shared_ptr spec.  <a href="classbdm_1_1shared__ptr.html#_details">More...</a><br></td></tr>
82<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1object__ptr.html">bdm::object_ptr&lt; T &gt;</a></td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A wrapper of <a class="el" href="classbdm_1_1shared__ptr.html" title="A naive implementation of roughly a subset of the std::tr1::shared_ptr spec.">shared_ptr</a> which is never empty.  <a href="classbdm_1_1object__ptr.html#_details">More...</a><br></td></tr>
85<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1804da064c82a81138eb15b8679288c4"></a><!-- doxytag: member="shared_ptr.h::SHAREDPTR" ref="1804da064c82a81138eb15b8679288c4" args="(class_name)" -->
87#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>SHAREDPTR</b>(class_name)&nbsp;&nbsp;&nbsp;typedef <a class="el" href="classbdm_1_1object__ptr.html">bdm::object_ptr</a>&lt; class_name &gt; class_name##_ptr</td></tr>
88
89<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73fbfe690300e4806e468becc4eb5072"></a><!-- doxytag: member="shared_ptr.h::SHAREDPTR2" ref="73fbfe690300e4806e468becc4eb5072" args="(template_class_name, template_parameter_name)" -->
90#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>SHAREDPTR2</b>(template_class_name, template_parameter_name)&nbsp;&nbsp;&nbsp;typedef <a class="el" href="classbdm_1_1object__ptr.html">bdm::object_ptr</a>&lt; template_class_name &lt; template_parameter_name &gt; &gt; template_class_name##_##template_parameter_name##_ptr</td></tr>
91
92<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
93<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7d2c952fc071d6ea93cfc21ffdbdea54"></a><!-- doxytag: member="shared_ptr.h::operator==" ref="7d2c952fc071d6ea93cfc21ffdbdea54" args="(shared_ptr&lt; T &gt; const &amp;a, shared_ptr&lt; U &gt; const &amp;b)" -->
94template&lt;typename T , typename U &gt; </td></tr>
95<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#7d2c952fc071d6ea93cfc21ffdbdea54">bdm::operator==</a> (shared_ptr&lt; T &gt; const &amp;a, shared_ptr&lt; U &gt; const &amp;b)</td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare shared pointers. <br></td></tr>
98<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bde15a74a831e23833a1007da8737914"></a><!-- doxytag: member="shared_ptr.h::operator!=" ref="bde15a74a831e23833a1007da8737914" args="(shared_ptr&lt; T &gt; const &amp;a, shared_ptr&lt; U &gt; const &amp;b)" -->
99template&lt;typename T , typename U &gt; </td></tr>
100<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#bde15a74a831e23833a1007da8737914">bdm::operator!=</a> (shared_ptr&lt; T &gt; const &amp;a, shared_ptr&lt; U &gt; const &amp;b)</td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare shared pointers. <br></td></tr>
103<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7a978d29074ef7c84dac32cf27e63ef8"></a><!-- doxytag: member="shared_ptr.h::operator&lt;" ref="7a978d29074ef7c84dac32cf27e63ef8" args="(shared_ptr&lt; T &gt; const &amp;a, shared_ptr&lt; U &gt; const &amp;b)" -->
104template&lt;typename T , typename U &gt; </td></tr>
105<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#7a978d29074ef7c84dac32cf27e63ef8">bdm::operator&lt;</a> (shared_ptr&lt; T &gt; const &amp;a, shared_ptr&lt; U &gt; const &amp;b)</td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare shared pointers. <br></td></tr>
108</table>
109<hr><h2>Detailed Description</h2>
110BDM's own smart pointers.
111<p>
112<dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Barta.</dd></dl>
113----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
114Using IT++ for numerical operations ----------------------------------- </div>
115<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:44 2009 for mixpp by&nbsp;
116<a href="http://www.doxygen.org/index.html">
117<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
118</body>
119</html>
Note: See TracBrowser for help on using the browser.