XQuilla/docs/simple-api/classRefCountPointer.html
2020-02-17 22:05:20 +01:00

415 lines
17 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API: RefCountPointer&lt; T &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>RefCountPointer&lt; T &gt; Class Template Reference</h1><!-- doxytag: class="RefCountPointer" -->Super class of all the reference counted wrappers for Items.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="ReferenceCounted_8hpp-source.html">ReferenceCounted.hpp</a>&gt;</code>
<p>
<a href="classRefCountPointer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#19e599ede99710afeca89ba65cdcb2a1">RefCountPointer</a> (T *p=0)</td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T2&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#541717a9c467461b75ab8118ae6f9ed9">RefCountPointer</a> (const <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T2 &gt; &amp;o)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#deb7f9624e9181b2b04950c38d4a8fce">RefCountPointer</a> (const <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt; &amp;o)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#aed4cb34420ba9a5190e142cdb3c786d">operator=</a> (const <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt; &amp;o)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#15aac5f85305a123c357bbddf5030ef3">~RefCountPointer</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#19c9fb1b8719f5b010c0943e3594296a">operator-&gt;</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#6522f582ede5cc4a36fc990bf5165f7d">operator T *</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#ad04c84082534aa246546bd0c3355848">get</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#62f15012bafcbe02f0dcdbd2c0a749ee">isNull</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#1de8e3bd6a0af6661047049983243e1c">notNull</a> () const </td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRefCountPointer.html#bdad2242b59d285fe75208c5fed5a90a">_p</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T&gt;<br>
class RefCountPointer&lt; T &gt;</h3>
Super class of all the reference counted wrappers for Items.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="19e599ede99710afeca89ba65cdcb2a1"></a><!-- doxytag: member="RefCountPointer::RefCountPointer" ref="19e599ede99710afeca89ba65cdcb2a1" args="(T *p=0)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::<a class="el" href="classRefCountPointer.html">RefCountPointer</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">T *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p</em> = <code>0</code> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="541717a9c467461b75ab8118ae6f9ed9"></a><!-- doxytag: member="RefCountPointer::RefCountPointer" ref="541717a9c467461b75ab8118ae6f9ed9" args="(const RefCountPointer&lt; T2 &gt; &amp;o)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T2&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::<a class="el" href="classRefCountPointer.html">RefCountPointer</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T2 &gt; &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>o</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="deb7f9624e9181b2b04950c38d4a8fce"></a><!-- doxytag: member="RefCountPointer::RefCountPointer" ref="deb7f9624e9181b2b04950c38d4a8fce" args="(const RefCountPointer&lt; T &gt; &amp;o)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::<a class="el" href="classRefCountPointer.html">RefCountPointer</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>o</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="15aac5f85305a123c357bbddf5030ef3"></a><!-- doxytag: member="RefCountPointer::~RefCountPointer" ref="15aac5f85305a123c357bbddf5030ef3" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::~<a class="el" href="classRefCountPointer.html">RefCountPointer</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ad04c84082534aa246546bd0c3355848"></a><!-- doxytag: member="RefCountPointer::get" ref="ad04c84082534aa246546bd0c3355848" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">T* <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::get </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="62f15012bafcbe02f0dcdbd2c0a749ee"></a><!-- doxytag: member="RefCountPointer::isNull" ref="62f15012bafcbe02f0dcdbd2c0a749ee" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">bool <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::isNull </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="1de8e3bd6a0af6661047049983243e1c"></a><!-- doxytag: member="RefCountPointer::notNull" ref="1de8e3bd6a0af6661047049983243e1c" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">bool <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::notNull </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="6522f582ede5cc4a36fc990bf5165f7d"></a><!-- doxytag: member="RefCountPointer::operator T *" ref="6522f582ede5cc4a36fc990bf5165f7d" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::operator T * </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="19c9fb1b8719f5b010c0943e3594296a"></a><!-- doxytag: member="RefCountPointer::operator-&gt;" ref="19c9fb1b8719f5b010c0943e3594296a" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">T* <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::operator-&gt; </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="aed4cb34420ba9a5190e142cdb3c786d"></a><!-- doxytag: member="RefCountPointer::operator=" ref="aed4cb34420ba9a5190e142cdb3c786d" args="(const RefCountPointer&lt; T &gt; &amp;o)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classRefCountPointer.html">RefCountPointer</a>&amp; <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::operator= </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>o</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="bdad2242b59d285fe75208c5fed5a90a"></a><!-- doxytag: member="RefCountPointer::_p" ref="bdad2242b59d285fe75208c5fed5a90a" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class T&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">T* <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; T &gt;::<a class="el" href="classRefCountPointer.html#bdad2242b59d285fe75208c5fed5a90a">_p</a><code> [protected]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ReferenceCounted_8hpp-source.html">ReferenceCounted.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:18:57 2006 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>