aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLMISC_1_1CSmartPtr.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/classNLMISC_1_1CSmartPtr.html')
-rw-r--r--docs/doxygen/nel/classNLMISC_1_1CSmartPtr.html631
1 files changed, 631 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CSmartPtr.html b/docs/doxygen/nel/classNLMISC_1_1CSmartPtr.html
new file mode 100644
index 00000000..1eb80c69
--- /dev/null
+++ b/docs/doxygen/nel/classNLMISC_1_1CSmartPtr.html
@@ -0,0 +1,631 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLMISC::CSmartPtr Class Template Reference</h1>Standard SmartPtr class.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>&gt;</code>
+<p>
+<a href="classNLMISC_1_1CSmartPtr-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a0">CSmartPtr</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Init a NULL Ptr.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a1">CSmartPtr</a> (T *p)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Attach a ptr to a SmartPtr.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a2">CSmartPtr</a> (const CSmartPtr &amp;copy)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Copy constructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a3">~CSmartPtr</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Release the SmartPtr.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a4">operator T *</a> (void) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Cast operator.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>T &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a5">operator *</a> (void) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Indirection operator. Doesn't check NULL.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>T *&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a6">operator-&gt;</a> (void) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Selection operator. Doesn't check NULL.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CSmartPtr &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a7">operator=</a> (T *p)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>operator=. Giving a NULL pointer is a valid operation.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CSmartPtr &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a8">operator=</a> (const CSmartPtr &amp;p)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>operator=. Giving a NULL pointer is a valid operation.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a9">operator&lt;</a> (const CSmartPtr &amp;p) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>operator&lt;. Compare the pointers.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#a10">getNbRef</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>T *&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CSmartPtr.html#o0">Ptr</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T&gt;<br>
+ class NLMISC::CSmartPtr&lt; T &gt;</h3>
+
+Standard SmartPtr class.
+<p>
+T Must derive from <a class="el" href="classNLMISC_1_1CRefCount.html">CRefCount</a>. Once a normal ptr is assigned to a SmartPtr, the smartptr will own this pointer, and delete it when no other smartptr reference the object (with a reference couting scheme). The following code works, since the object himself must herit from <a class="el" href="classNLMISC_1_1CRefCount.html">CRefCount</a>, and so hold the refcount. <div class="fragment"><pre> CSmartPtr&lt;A&gt; a0, a1;
+ A *p0;
+ a0= <font class="keyword">new</font> A; <font class="comment">// Ok. RefCount==1.</font>
+ p0= a0; <font class="comment">// Ok, cast operator. object still owned by a0.</font>
+ a1= p0; <font class="comment">// Ok!! RefCount==2. Object owned by a0 and a1;</font>
+ <font class="comment">// At destruction, a1 unref(), then a0 unref() and delete the object.</font>
+</pre></div>
+<p>
+The ref counter cannot be put directly in the smartptr since the preceding behavior must be supported and inheritance must be supported too. Here, if A is a base class of B, Pa and Pb are smartptr of a and b respectively, then <code>Pa=Pb</code>; is a valid operation. But, doing this, you may ensure that you have a virtual dtor(), since dtor() Pa may call ~A() (or you may ensure that Pa won't destruct A, which it sound much more as a normal pointer :) ).
+<p>
+Sample: <div class="fragment"><pre> <font class="keyword">class </font>A : <font class="keyword">public</font> CRefCount
+ {
+ <font class="keyword">public</font>:
+ A() {puts(<font class="stringliteral">"A()"</font>);}
+ <font class="keyword">virtual</font> ~A() {puts(<font class="stringliteral">"~A()"</font>);}
+ };
+
+
+ <font class="keyword">class </font>B : <font class="keyword">public</font> A
+ {
+ <font class="keyword">public</font>:
+ B() {puts(<font class="stringliteral">"B()"</font>);}
+ ~B() {puts(<font class="stringliteral">"~B()"</font>);}
+ };
+
+
+ <font class="keywordtype">void</font> testPtr()
+ {
+ CSmartPtr&lt;A&gt; a0,a1,a2;
+ CSmartPtr&lt;B&gt; b0;
+
+ a0= <font class="keyword">new</font> A;
+ a1= a0;
+ a1= <font class="keyword">new</font> A;
+ a2= a1;
+ a1=NULL;
+ b0= <font class="keyword">new</font> B;
+ a0=b0;
+
+ printf(<font class="stringliteral">"%d\n"</font>, (A*)NULL==a0);
+ printf(<font class="stringliteral">"%d\n"</font>, b0!=a0);
+ printf(<font class="stringliteral">"%d\n"</font>, (A*)NULL==a1);
+ printf(<font class="stringliteral">"%d\n"</font>, a2!=a0);
+ }
+ *
+</pre></div>
+<p>
+SmartPtr are compatible with RefPtr. A ptr may be link to a <a class="el" href="classNLMISC_1_1CRefPtr.html">CRefPtr</a> and a <a class="el" href="classNLMISC_1_1CSmartPtr.html">CSmartPtr</a>. As example, when the <a class="el" href="classNLMISC_1_1CSmartPtr.html">CSmartPtr</a> will destroy him, <a class="el" href="classNLMISC_1_1CRefPtr.html">CRefPtr</a> will be informed... Sample: <div class="fragment"><pre> <font class="keywordtype">void</font> foo()
+ {
+ A *p;
+ CSmartPtr&lt;A&gt; sp;
+ CRefPtr&lt;A&gt; rp;
+
+ p= <font class="keyword">new</font> A;
+ sp= p; <font class="comment">// OK. p is now owned by sp and will be deleted by sp.</font>
+ rp= p; <font class="comment">// OK. rp handle p.</font>
+ sp= NULL; <font class="comment">// Destruction. p deleted. rp automatically informed.</font>
+ p= rp; <font class="comment">// result: p==NULL.</font>
+ }
+</pre></div>
+<p>
+<b>PERFORMANCE</b> <b>WARNING!</b> <a class="el" href="classNLMISC_1_1CSmartPtr.html#a7">operator=</a>() are about 10 times slower than normal pointers. For local use, prefer cast the smartptr to a normal Ptr. <dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNLMISC_1_1CRefPtr.html">CRefPtr</a> </dl><dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00178">178</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLMISC::CSmartPtr::CSmartPtr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CSmartPtr&lt; T &gt;::CSmartPtr </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Init a NULL Ptr.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00184">184</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="smart__ptr_8h-source.html#l00188">NLMISC::CSmartPtr&lt; CSkeletonShape &gt;::CSmartPtr</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLMISC::CSmartPtr::CSmartPtr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CSmartPtr&lt; T &gt;::CSmartPtr </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
+ <td class="md" valign="top">)&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>
+Attach a ptr to a SmartPtr.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00186">186</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLMISC::CSmartPtr::CSmartPtr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CSmartPtr&lt; T &gt;::CSmartPtr </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CSmartPtr&lt; T &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>copy</em> </td>
+ <td class="md" valign="top">)&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>
+Copy constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00188">188</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLMISC::CSmartPtr::~CSmartPtr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CSmartPtr&lt; T &gt;::~CSmartPtr </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Release the SmartPtr.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr__inline_8h-source.html#l00066">66</a> of file <a class="el" href="smart__ptr__inline_8h-source.html">smart_ptr_inline.h</a>.
+<p>
+References <a class="el" href="smart__ptr_8h-source.html#l00180">Ptr</a>, and <a class="el" href="smart__ptr_8h-source.html#l00089">SMART_TRACE</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a10" doxytag="NLMISC::CSmartPtr::getNbRef"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NLMISC::CSmartPtr&lt; T &gt;::getNbRef </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00207">207</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLMISC::CSmartPtr::operator *"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T&amp; NLMISC::CSmartPtr&lt; T &gt;::operator * </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Indirection operator. Doesn't check NULL.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00196">196</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLMISC::CSmartPtr::operator T *"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CSmartPtr&lt; T &gt;::operator T * </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Cast operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00194">194</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLMISC::CSmartPtr::operator->"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T* NLMISC::CSmartPtr&lt; T &gt;::operator-&gt; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Selection operator. Doesn't check NULL.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00198">198</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLMISC::CSmartPtr::operator<"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> SMART_INLINE bool NLMISC::CSmartPtr&lt; T &gt;::operator&lt; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CSmartPtr&lt; T &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+operator&lt;. Compare the pointers.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr__inline_8h-source.html#l00102">102</a> of file <a class="el" href="smart__ptr__inline_8h-source.html">smart_ptr_inline.h</a>.
+<p>
+References <a class="el" href="smart__ptr_8h-source.html#l00180">Ptr</a>, and <a class="el" href="smart__ptr__inline_8h-source.html#l00039">SMART_INLINE</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLMISC::CSmartPtr::operator="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> SMART_INLINE CSmartPtr&lt; T &gt; &amp; NLMISC::CSmartPtr&lt; T &gt;::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CSmartPtr&lt; T &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+operator=. Giving a NULL pointer is a valid operation.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr__inline_8h-source.html#l00097">97</a> of file <a class="el" href="smart__ptr__inline_8h-source.html">smart_ptr_inline.h</a>.
+<p>
+References <a class="el" href="smart__ptr__inline_8h-source.html#l00078">operator=</a>, and <a class="el" href="smart__ptr__inline_8h-source.html#l00039">SMART_INLINE</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLMISC::CSmartPtr::operator="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> SMART_INLINE CSmartPtr&lt; T &gt; &amp; NLMISC::CSmartPtr&lt; T &gt;::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+operator=. Giving a NULL pointer is a valid operation.
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr__inline_8h-source.html#l00078">78</a> of file <a class="el" href="smart__ptr__inline_8h-source.html">smart_ptr_inline.h</a>.
+<p>
+References <a class="el" href="smart__ptr_8h-source.html#l00180">Ptr</a>, <a class="el" href="smart__ptr__inline_8h-source.html#l00039">SMART_INLINE</a>, and <a class="el" href="smart__ptr_8h-source.html#l00089">SMART_TRACE</a>.
+<p>
+Referenced by <a class="el" href="smart__ptr__inline_8h-source.html#l00097">operator=</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o0" doxytag="NLMISC::CSmartPtr::Ptr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T* NLMISC::CSmartPtr::Ptr<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="smart__ptr_8h-source.html#l00180">180</a> of file <a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="smart__ptr_8h-source.html#l00184">NLMISC::CSmartPtr&lt; CSkeletonShape &gt;::CSmartPtr</a>, <a class="el" href="smart__ptr_8h-source.html#l00207">NLMISC::CSmartPtr&lt; CSkeletonShape &gt;::getNbRef</a>, <a class="el" href="smart__ptr_8h-source.html#l00196">NLMISC::CSmartPtr&lt; CSkeletonShape &gt;::operator *</a>, <a class="el" href="smart__ptr_8h-source.html#l00194">NLMISC::CSmartPtr&lt; CSkeletonShape &gt;::operator T *</a>, <a class="el" href="smart__ptr_8h-source.html#l00198">NLMISC::CSmartPtr&lt; CSkeletonShape &gt;::operator-&gt;</a>, <a class="el" href="smart__ptr__inline_8h-source.html#l00102">operator&lt;</a>, <a class="el" href="smart__ptr__inline_8h-source.html#l00078">operator=</a>, and <a class="el" href="smart__ptr__inline_8h-source.html#l00066">~CSmartPtr</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="smart__ptr_8h-source.html">smart_ptr.h</a><li><a class="el" href="smart__ptr__inline_8h-source.html">smart_ptr_inline.h</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>