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/a03442.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03442.html')
-rw-r--r-- | docs/doxygen/nel/a03442.html | 598 |
1 files changed, 598 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03442.html b/docs/doxygen/nel/a03442.html new file mode 100644 index 00000000..e799a06f --- /dev/null +++ b/docs/doxygen/nel/a03442.html @@ -0,0 +1,598 @@ +<!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::CstCDbgPtr< 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::CstCDbgPtr< 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::CstCDbgPtr< 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="a03442.html#NLMISC_1_1CstCDbgPtra0">CstCDbgPtr</a> (const <a class="el" href="a03442.html">CstCDbgPtr</a> &copy)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra1">CstCDbgPtr</a> (const T *p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra2">CstCDbgPtr</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra3">isNULL</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const T & </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra4">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="a03442.html#NLMISC_1_1CstCDbgPtra5">operator const T *</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const T * </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra6">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="a03442.html#NLMISC_1_1CstCDbgPtra7">operator<</a> (const <a class="el" href="a03442.html">CstCDbgPtr</a> &p) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03442.html">CstCDbgPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra8">operator=</a> (const <a class="el" href="a03442.html">CstCDbgPtr</a> &p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03442.html">CstCDbgPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra9">operator=</a> (const T *p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const T * </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra10">ptr</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtra11">~CstCDbgPtr</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const T * </td><td class="memItemRight" valign=bottom><a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra2" doxytag="NLMISC::CstCDbgPtr::CstCDbgPtr" ></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="a03442.html">NLMISC::CstCDbgPtr</a>< T >::<a class="el" href="a03442.html">CstCDbgPtr</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#l00584">584</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00584 { <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>=NULL; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra1" doxytag="NLMISC::CstCDbgPtr::CstCDbgPtr" ></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="a03442.html">NLMISC::CstCDbgPtr</a>< T >::<a class="el" href="a03442.html">CstCDbgPtr</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const 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#l00585">585</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00586 { +00587 <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>=p; +00588 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00589 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>) +00590 { +00591 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(const_cast<T*>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>)); +00592 ref->incRef(*<span class="keyword">this</span>); +00593 } +00594 <span class="preprocessor">#endif</span> +00595 <span class="preprocessor"></span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra0" doxytag="NLMISC::CstCDbgPtr::CstCDbgPtr" ></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="a03442.html">NLMISC::CstCDbgPtr</a>< T >::<a class="el" href="a03442.html">CstCDbgPtr</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03442.html">CstCDbgPtr</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#l00596">596</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00581">NLMISC::CstCDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00597 { +00598 <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>=copy.Ptr; +00599 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00600 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>) +00601 { +00602 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(const_cast<T*>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>)); +00603 ref->incRef(*<span class="keyword">this</span>); +00604 } +00605 <span class="preprocessor">#endif</span> +00606 <span class="preprocessor"></span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra11" doxytag="NLMISC::CstCDbgPtr::~CstCDbgPtr" ></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="a03442.html">NLMISC::CstCDbgPtr</a>< T >::~<a class="el" href="a03442.html">CstCDbgPtr</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#l00630">630</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00631 { +00632 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00633 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>) +00634 { +00635 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(const_cast<T*>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>)); +00636 ref->decRef(*<span class="keyword">this</span>); +00637 <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>=NULL; +00638 } +00639 <span class="preprocessor">#else</span> +00640 <span class="preprocessor"></span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>=NULL; +00641 <span class="preprocessor">#endif</span> +00642 <span class="preprocessor"></span>} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra3" doxytag="NLMISC::CstCDbgPtr::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="a03442.html">NLMISC::CstCDbgPtr</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#l00614">614</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00615 { +00616 <span class="keywordflow">return</span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>==NULL; +00617 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra4" doxytag="NLMISC::CstCDbgPtr::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"> const T& <a class="el" href="a03442.html">NLMISC::CstCDbgPtr</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#l00620">620</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00620 { <span class="keywordflow">return</span> *<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra5" doxytag="NLMISC::CstCDbgPtr::operator const 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="a03442.html">NLMISC::CstCDbgPtr</a>< T >::operator const 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#l00619">619</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00619 { <span class="keywordflow">return</span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra6" doxytag="NLMISC::CstCDbgPtr::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"> const T* <a class="el" href="a03442.html">NLMISC::CstCDbgPtr</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#l00621">621</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00621 { <span class="keywordflow">return</span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra7" doxytag="NLMISC::CstCDbgPtr::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="a03442.html">NLMISC::CstCDbgPtr</a>< T >::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03442.html">CstCDbgPtr</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#l00671">671</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00581">NLMISC::CstCDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00672 { +00673 <span class="keywordflow">return</span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a><p.Ptr; +00674 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra8" doxytag="NLMISC::CstCDbgPtr::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="a03442.html">CstCDbgPtr</a>< T > & <a class="el" href="a03442.html">NLMISC::CstCDbgPtr</a>< T >::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03442.html">CstCDbgPtr</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#l00666">666</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00581">NLMISC::CstCDbgPtr< T >::Ptr</a>. +<p> +<div class="fragment"><pre>00667 { +00668 <span class="keywordflow">return</span> CstCDbgPtr<T>::operator=(p.Ptr); +00669 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra9" doxytag="NLMISC::CstCDbgPtr::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="a03442.html">CstCDbgPtr</a>< T > & <a class="el" href="a03442.html">NLMISC::CstCDbgPtr</a>< T >::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const 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#l00645">645</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00646 { +00647 <span class="preprocessor">#ifdef NL_DEBUG_PTR</span> +00648 <span class="preprocessor"></span> <span class="keywordflow">if</span>(p) +00649 { +00650 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(const_cast<T*>(p)); +00651 ref->incRef(*<span class="keyword">this</span>); +00652 } +00653 <span class="keywordflow">if</span>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>) +00654 { +00655 CDbgRefCount<T> *ref=static_cast<CDbgRefCount<T>*>(const_cast<T*>(<a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>)); +00656 ref->decRef(*<span class="keyword">this</span>); +00657 } +00658 <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a> = p; +00659 +00660 <span class="preprocessor">#else</span> +00661 <span class="preprocessor"></span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a> = p; +00662 <span class="preprocessor">#endif</span> +00663 <span class="preprocessor"></span> <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00664 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CstCDbgPtra10" doxytag="NLMISC::CstCDbgPtr::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"> const T* <a class="el" href="a03442.html">NLMISC::CstCDbgPtr</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#l00609">609</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +<div class="fragment"><pre>00610 { +00611 <span class="keywordflow">return</span> <a class="code" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">Ptr</a>; +00612 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLMISC_1_1CstCDbgPtrr0" doxytag="NLMISC::CstCDbgPtr::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"> const T* <a class="el" href="a03442.html">NLMISC::CstCDbgPtr</a>< T >::<a class="el" href="a03442.html#NLMISC_1_1CstCDbgPtrr0">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#l00581">581</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00596">NLMISC::CstCDbgPtr< T >::CstCDbgPtr()</a>, <a class="el" href="a06402.html#l00671">NLMISC::CstCDbgPtr< T >::operator<()</a>, and <a class="el" href="a06402.html#l00666">NLMISC::CstCDbgPtr< 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:34:51 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> |