diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02424.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02424.html | 984 |
1 files changed, 984 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02424.html b/docs/doxygen/nel/a02424.html new file mode 100644 index 00000000..5c55ded9 --- /dev/null +++ b/docs/doxygen/nel/a02424.html @@ -0,0 +1,984 @@ +<!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>NeL: TemplateNLMISC::CDbgPtr< T > class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLMISC::CDbgPtr< T > Class Template Reference</h1><code>#include <<a class="el" href="a06402.html">smart_ptr.h</a>></code> +<p> +<h3>template<class T><br> + class NLMISC::CDbgPtr< T ></h3> + +<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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra0">CDbgPtr</a> (const <a class="el" href="a02424.html">CDbgPtr</a> &copy)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class W> </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra1">CDbgPtr</a> (const W *p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra2">CDbgPtr</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra3">isNULL</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T & </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra4">operator *</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra5">operator T *</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class W> </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra6">operator W *</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra7">operator!=</a> (int p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra8">operator!=</a> (const <a class="el" href="a02424.html">CDbgPtr</a> &p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class W> bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra9">operator!=</a> (const W *p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T * </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra10">operator-></a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra11">operator<</a> (const <a class="el" href="a02424.html">CDbgPtr</a> &p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02424.html">CDbgPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra12">operator=</a> (const <a class="el" href="a02424.html">CDbgPtr</a> &p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02424.html">CDbgPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra13">operator=</a> (const int <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class W> <a class="el" href="a02424.html">CDbgPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra14">operator=</a> (const W *p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra15">operator==</a> (int p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra16">operator==</a> (const <a class="el" href="a02424.html">CDbgPtr</a> &p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class W> bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra17">operator==</a> (const W *p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T * </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra18">ptr</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtra19">~CDbgPtr</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>T * </td><td class="memItemRight" valign=bottom><a class="el" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1CDbgPtra2" doxytag="NLMISC::CDbgPtr::CDbgPtr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::<a class="el" href="a02424.html">CDbgPtr</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00412">412</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00413 { <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>=NULL; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra1" doxytag="NLMISC::CDbgPtr::CDbgPtr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<class W> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::<a class="el" href="a02424.html">CDbgPtr</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const W * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00419">419</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00420 { +00421 <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>=const_cast<T*>(NLMISC::type_cast<const T*>(p)); +00422 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00423 <span class="preprocessor"></span> <span class="keywordflow">if</span> (<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>) +00424 { +00425 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>); +00426 ref->incRef(*<span class="keyword">this</span>); +00427 } +00428 <span class="preprocessor">#endif</span> +00429 <span class="preprocessor"></span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra0" doxytag="NLMISC::CDbgPtr::CDbgPtr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::<a class="el" href="a02424.html">CDbgPtr</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02424.html">CDbgPtr</a>< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>copy</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00431">431</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00409">NLMISC::CDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00432 { +00433 <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>=copy.Ptr; +00434 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00435 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>) +00436 { +00437 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>); +00438 ref->incRef(*<span class="keyword">this</span>); +00439 } +00440 <span class="preprocessor">#endif</span> +00441 <span class="preprocessor"></span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra19" doxytag="NLMISC::CDbgPtr::~CDbgPtr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::~<a class="el" href="a02424.html">CDbgPtr</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00549">549</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00550 { +00551 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00552 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>) +00553 { +00554 <span class="comment">// CDbgRefCount<T> *ref=const_cast<CDbgRefCount<T>*>(static_cast<const CDbgRefCount<T>*>(Ptr));</span> +00555 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>); +00556 ref->decRef(*<span class="keyword">this</span>); +00557 <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>=NULL; +00558 } +00559 <span class="preprocessor">#else</span> +00560 <span class="preprocessor"></span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>=NULL; +00561 <span class="preprocessor">#endif</span> +00562 <span class="preprocessor"></span>} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1CDbgPtra3" doxytag="NLMISC::CDbgPtr::isNULL" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::isNULL </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00444">444</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00445 { +00446 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>==NULL; +00447 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra4" doxytag="NLMISC::CDbgPtr::operator *" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T& <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator * </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00465">465</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00465 { <span class="keywordflow">return</span> *<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra5" doxytag="NLMISC::CDbgPtr::operator T *" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator T * </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00454">454</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00455 { +00456 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>; +00457 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra6" doxytag="NLMISC::CDbgPtr::operator W *" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<class W> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator W * </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00460">460</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00461 { +00462 <span class="keywordflow">return</span> NLMISC::type_cast<W*>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>); +00463 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra7" doxytag="NLMISC::CDbgPtr::operator!=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator!= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00540">540</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00541 { +00542 <a class="code" href="a04199.html#a6">nlassert</a>(p == 0); +00543 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>!=0; +00544 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra8" doxytag="NLMISC::CDbgPtr::operator!=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator!= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02424.html">CDbgPtr</a>< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00530">530</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00409">NLMISC::CDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00531 { +00532 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>!=p.Ptr; +00533 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra9" doxytag="NLMISC::CDbgPtr::operator!=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<class W> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator!= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const W * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00521">521</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00522 { +00523 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>!=NLMISC::type_cast<const T*>(p); +00524 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra10" doxytag="NLMISC::CDbgPtr::operator->" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T* <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator-> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00466">466</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00466 { <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra11" doxytag="NLMISC::CDbgPtr::operator<" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02424.html">CDbgPtr</a>< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00572">572</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00409">NLMISC::CDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00573 { +00574 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a><p.Ptr; +00575 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra12" doxytag="NLMISC::CDbgPtr::operator=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">CDbgPtr</a>< T > & <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02424.html">CDbgPtr</a>< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00566">566</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00409">NLMISC::CDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00567 { +00568 <span class="keywordflow">return</span> CDbgPtr<T>::operator=(p.Ptr); +00569 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra13" doxytag="NLMISC::CDbgPtr::operator=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">CDbgPtr</a>& <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const int </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00491">491</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00492 { +00493 <span class="preprocessor">#ifdef NL_DEBUG</span> +00494 <span class="preprocessor"></span> <a class="code" href="a04199.html#a6">nlassert</a>(value==NULL); +00495 <span class="preprocessor">#endif</span> +00496 <span class="preprocessor"></span> +00497 <span class="preprocessor">#ifdef NL_DEBUG_PTR </span> +00498 <span class="preprocessor"></span> <span class="keywordflow">if</span> (<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>) +00499 { +00500 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>); +00501 ref->decRef(*<span class="keyword">this</span>); +00502 } +00503 <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a> = NULL; +00504 +00505 <span class="preprocessor">#else</span> +00506 <span class="preprocessor"></span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a> = NULL; +00507 <span class="preprocessor">#endif</span> +00508 <span class="preprocessor"></span> <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00509 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra14" doxytag="NLMISC::CDbgPtr::operator=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<class W> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02424.html">CDbgPtr</a>& <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const W * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00470">470</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00471 { +00472 <span class="preprocessor">#ifdef NL_DEBUG_PTR </span> +00473 <span class="preprocessor"></span> <span class="keywordflow">if</span> (p) +00474 { +00475 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(const_cast<T*>(NLMISC::type_cast<const T*>(p))); +00476 ref->incRef(*<span class="keyword">this</span>); +00477 } +00478 <span class="keywordflow">if</span> (<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>) +00479 { +00480 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(<a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>); +00481 ref->decRef(*<span class="keyword">this</span>); +00482 } +00483 <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a> = const_cast<T*>(NLMISC::type_cast<const T*>(p)); +00484 +00485 <span class="preprocessor">#else</span> +00486 <span class="preprocessor"></span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a> = const_cast<T*>(NLMISC::type_cast<const T*>(p)); +00487 <span class="preprocessor">#endif</span> +00488 <span class="preprocessor"></span> <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00489 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra15" doxytag="NLMISC::CDbgPtr::operator==" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00535">535</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00536 { +00537 <a class="code" href="a04199.html#a6">nlassert</a>(p == 0); +00538 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>==0; +00539 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra16" doxytag="NLMISC::CDbgPtr::operator==" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02424.html">CDbgPtr</a>< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00526">526</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00409">NLMISC::CDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00527 { +00528 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>==p.Ptr; +00529 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra17" doxytag="NLMISC::CDbgPtr::operator==" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<class W> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const W * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00516">516</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00517 { +00518 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>==NLMISC::type_cast<const T*>(p); +00519 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CDbgPtra18" doxytag="NLMISC::CDbgPtr::ptr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T* <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::ptr </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00449">449</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00450 { +00451 <span class="keywordflow">return</span> <a class="code" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a>; +00452 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLMISC_1_1CDbgPtrr0" doxytag="NLMISC::CDbgPtr::Ptr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T* <a class="el" href="a02424.html">NLMISC::CDbgPtr</a>< T >::<a class="el" href="a02424.html#NLMISC_1_1CDbgPtrr0">Ptr</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00409">409</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00431">NLMISC::CDbgPtr< T >::CDbgPtr()</a>, <a class="el" href="a06402.html#l00530">NLMISC::CDbgPtr< T >::operator!=()</a>, <a class="el" href="a06402.html#l00572">NLMISC::CDbgPtr< T >::operator<()</a>, <a class="el" href="a06402.html#l00566">NLMISC::CDbgPtr< T >::operator=()</a>, and <a class="el" href="a06402.html#l00526">NLMISC::CDbgPtr< T >::operator==()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06402.html">smart_ptr.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:07:18 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |