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

Revision 616, 7.6 kB (checked in by smidl, 15 years ago)

doc, sorted related pages

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