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>Barry: Barry::vSmartPtr
< T, FT, FreeFunc
> Class Template Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
5 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css">
7 <!-- Generated by Doxygen 1.5.6 -->
8 <div class=
"navigation" id=
"top">
11 <li><a href=
"index.html"><span>Main
Page
</span></a></li>
12 <li><a href=
"modules.html"><span>Modules
</span></a></li>
13 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
14 <li class=
"current"><a href=
"classes.html"><span>Classes
</span></a></li>
15 <li><a href=
"files.html"><span>Files
</span></a></li>
16 <li><a href=
"dirs.html"><span>Directories
</span></a></li>
21 <li><a href=
"classes.html"><span>Alphabetical
List
</span></a></li>
22 <li><a href=
"annotated.html"><span>Class
List
</span></a></li>
23 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
24 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
27 <div class=
"navpath"><a class=
"el" href=
"namespaceBarry.html">Barry
</a>::
<a class=
"el" href=
"classBarry_1_1vSmartPtr.html">vSmartPtr
</a>
30 <div class=
"contents">
31 <h1>Barry::vSmartPtr
< T, FT, FreeFunc
> Class Template Reference
</h1><!-- doxytag: class="Barry::vSmartPtr" --><code>#include
<<a class=
"el" href=
"vsmartptr_8h-source.html">vsmartptr.h
</a>></code>
33 <div class=
"dynheader">
34 Collaboration diagram for Barry::vSmartPtr
< T, FT, FreeFunc
>:
</div>
35 <div class=
"dynsection">
36 <p><center><img src=
"classBarry_1_1vSmartPtr__coll__graph.png" border=
"0" usemap=
"#Barry_1_1vSmartPtr_3_01T_00_01FT_00_01FreeFunc_01_4__coll__map" alt=
"Collaboration graph"></center>
37 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center></div>
40 <a href=
"classBarry_1_1vSmartPtr-members.html">List of all members.
</a><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
41 <h3>template
<class T, class FT, void(*)(FT *pt) FreeFunc
><br>
42 class Barry::vSmartPtr
< T, FT, FreeFunc
></h3>
44 A special smart pointer for variables that have their own special 'free' functions.
46 Behaves like std::auto_ptr
<> in that only one object at a time owns the pointer, and destruction frees it by calling the given FreeFunc.
47 <p>Definition at line
<a class=
"el" href=
"vsmartptr_8h-source.html#l00036">36</a> of file
<a class=
"el" href=
"vsmartptr_8h-source.html">vsmartptr.h
</a>.
</p>
48 <table border=
"0" cellpadding=
"0" cellspacing=
"0">
51 <hr>The documentation for this class was generated from the following file:
<ul>
52 <li><a class=
"el" href=
"vsmartptr_8h-source.html">vsmartptr.h
</a></ul>
54 <hr size=
"1"><address style=
"text-align: right;"><small>Generated on Thu Feb
10 16:
14:
45 2011 for Barry by
55 <a href=
"http://www.doxygen.org/index.html">
56 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
"0"></a> 1.5.6 </small></address>