/usr/share/doc/libucommon-dev/a00031.html is in libucommon-doc 3.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>UCommon: ucc::autorelease Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00031.html">autorelease</a>
</div>
</div>
<div class="contents">
<h1>ucc::autorelease Class Reference</h1><!-- doxytag: class="ucc::autorelease" -->
<p>Create a linked list of auto-releasable objects.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00197_source.html">memory.h</a>></code></p>
<div class="dynheader">
Collaboration diagram for ucc::autorelease:</div>
<div class="dynsection">
<div class="center"><img src="a00362.png" border="0" usemap="#ucc_1_1autorelease_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1autorelease_coll__map" id="ucc_1_1autorelease_coll__map">
<area shape="rect" id="node2" href="a00069.html" title="Common base class for all objects that can be formed into a linked list." alt="" coords="5,96,139,125"/><area shape="rect" id="node4" href="a00093.html" title="A common base class for all managed objects." alt="" coords="25,5,119,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae21d64f1fc3e5933cbb82f34ca161f42"></a><!-- doxytag: member="ucc::autorelease::autorelease" ref="ae21d64f1fc3e5933cbb82f34ca161f42" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="a00031.html#ae21d64f1fc3e5933cbb82f34ca161f42">autorelease</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an initially empty autorelease pool. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00031.html#a1be49f39d5ba7718668557e130fec6e0">operator+=</a> (<a class="el" href="a00069.html">LinkedObject</a> *object)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a linked object to the autorelease pool. <a href="#a1be49f39d5ba7718668557e130fec6e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00031.html#a8c6849e11bda1096f5179590a69312ae">release</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy an autorelease pool and delete member objects. <a href="#a8c6849e11bda1096f5179590a69312ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1400d3621b3d544cae20398855162ee"></a><!-- doxytag: member="ucc::autorelease::~autorelease" ref="ac1400d3621b3d544cae20398855162ee" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="a00031.html#ac1400d3621b3d544cae20398855162ee">~autorelease</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy an autorelease pool and delete member objects. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Create a linked list of auto-releasable objects. </p>
<p><a class="el" href="a00069.html" title="Common base class for all objects that can be formed into a linked list.">LinkedObject</a> derived objects can be created that are assigned to an autorelease object list. When the autorelease object falls out of scope, all the objects listed' with it are automatically deleted. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>> </dd></dl>
<p>Definition at line <a class="el" href="a00197_source.html#l00285">285</a> of file <a class="el" href="a00197_source.html">memory.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1be49f39d5ba7718668557e130fec6e0"></a><!-- doxytag: member="ucc::autorelease::operator+=" ref="a1be49f39d5ba7718668557e130fec6e0" args="(LinkedObject *object)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ucc::autorelease::operator+= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00069.html">LinkedObject</a> * </td>
<td class="paramname"> <em>object</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add a linked object to the autorelease pool. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>to add to pool. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8c6849e11bda1096f5179590a69312ae"></a><!-- doxytag: member="ucc::autorelease::release" ref="a8c6849e11bda1096f5179590a69312ae" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ucc::autorelease::release </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy an autorelease pool and delete member objects. </p>
<p>This may be used to release an existing pool programatically when desired rather than requiring the object to fall out of scope. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00197_source.html">memory.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:25 2010 for UCommon by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
|