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 | <!-- |
---|
10 | function 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 | } |
---|
22 | function 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 | } |
---|
46 | window.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 Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
61 | <li><a href="globals.html"><span>File 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 <limits.h></code><br> |
---|
70 | <code>#include <algorithm></code><br> |
---|
71 | <code>#include <stdexcept></code><br> |
---|
72 | <code>#include <string></code><br> |
---|
73 | <code>#include "<a class="el" href="bdmerror_8h_source.html">bdmerror.h</a>"</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1shared__ptr.html">bdm::shared_ptr< T ></a></td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1object__ptr.html">bdm::object_ptr< T ></a></td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><b>SHAREDPTR</b>(class_name) typedef <a class="el" href="classbdm_1_1object__ptr.html">bdm::object_ptr</a>< class_name > 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 </td><td class="memItemRight" valign="bottom"><b>SHAREDPTR2</b>(template_class_name, template_parameter_name) typedef <a class="el" href="classbdm_1_1object__ptr.html">bdm::object_ptr</a>< template_class_name < template_parameter_name > > 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< T > const &a, shared_ptr< U > const &b)" --> |
---|
94 | template<typename T , typename U > </td></tr> |
---|
95 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#7d2c952fc071d6ea93cfc21ffdbdea54">bdm::operator==</a> (shared_ptr< T > const &a, shared_ptr< U > const &b)</td></tr> |
---|
96 | |
---|
97 | <tr><td class="mdescLeft"> </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< T > const &a, shared_ptr< U > const &b)" --> |
---|
99 | template<typename T , typename U > </td></tr> |
---|
100 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#bde15a74a831e23833a1007da8737914">bdm::operator!=</a> (shared_ptr< T > const &a, shared_ptr< U > const &b)</td></tr> |
---|
101 | |
---|
102 | <tr><td class="mdescLeft"> </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<" ref="7a978d29074ef7c84dac32cf27e63ef8" args="(shared_ptr< T > const &a, shared_ptr< U > const &b)" --> |
---|
104 | template<typename T , typename U > </td></tr> |
---|
105 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#7a978d29074ef7c84dac32cf27e63ef8">bdm::operator<</a> (shared_ptr< T > const &a, shared_ptr< U > const &b)</td></tr> |
---|
106 | |
---|
107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare shared pointers. <br></td></tr> |
---|
108 | </table> |
---|
109 | <hr><h2>Detailed Description</h2> |
---|
110 | BDM'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> |
---|
114 | Using 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 |
---|
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> |
---|