[591] | 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"/> |
---|
[472] | 5 | <title>mixpp: shared_ptr.h File Reference</title> |
---|
[591] | 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 --> |
---|
[472] | 11 | <script type="text/javascript"> |
---|
| 12 | <!-- |
---|
| 13 | function 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 | } |
---|
| 25 | function 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 | } |
---|
| 49 | window.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 Page</span></a></li> |
---|
| 56 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
| 64 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 65 | </ul> |
---|
| 66 | </div> |
---|
| 67 | </div> |
---|
| 68 | <div class="contents"> |
---|
[591] | 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 <limits.h></code><br/> |
---|
| 73 | <code>#include <algorithm></code><br/> |
---|
| 74 | <code>#include <stdexcept></code><br/> |
---|
| 75 | <code>#include <string></code><br/> |
---|
| 76 | <code>#include "<a class="el" href="bdmerror_8h_source.html">bdmerror.h</a>"</code><br/> |
---|
[472] | 77 | |
---|
[591] | 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1shared__ptr.html">bdm::shared_ptr< T ></a></td></tr> |
---|
| 82 | <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> |
---|
| 83 | <tr><td class="memItemLeft" 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> |
---|
| 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"><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)" --> |
---|
[538] | 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> |
---|
[591] | 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)" --> |
---|
[538] | 89 | #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> |
---|
[591] | 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< T > const &a, shared_ptr< U > const &b)" --> |
---|
[472] | 92 | template<typename T , typename U > </td></tr> |
---|
[591] | 93 | <tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#a7d2c952fc071d6ea93cfc21ffdbdea54">bdm::operator==</a> (shared_ptr< T > const &a, shared_ptr< U > const &b)</td></tr> |
---|
| 94 | <tr><td class="mdescLeft"> </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< T > const &a, shared_ptr< U > const &b)" --> |
---|
[472] | 96 | template<typename T , typename U > </td></tr> |
---|
[591] | 97 | <tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#abde15a74a831e23833a1007da8737914">bdm::operator!=</a> (shared_ptr< T > const &a, shared_ptr< U > const &b)</td></tr> |
---|
| 98 | <tr><td class="mdescLeft"> </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<" ref="a7a978d29074ef7c84dac32cf27e63ef8" args="(shared_ptr< T > const &a, shared_ptr< U > const &b)" --> |
---|
[472] | 100 | template<typename T , typename U > </td></tr> |
---|
[591] | 101 | <tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebdm.html#a7a978d29074ef7c84dac32cf27e63ef8">bdm::operator<</a> (shared_ptr< T > const &a, shared_ptr< U > const &b)</td></tr> |
---|
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare shared pointers. <br/></td></tr> |
---|
[472] | 103 | </table> |
---|
[591] | 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> |
---|
[608] | 110 | <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:32 2009 for mixpp by |
---|
[472] | 111 | <a href="http://www.doxygen.org/index.html"> |
---|
[591] | 112 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
[472] | 113 | </body> |
---|
| 114 | </html> |
---|