1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>SharedPtr</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/ut/Overview.html">ut</a>::<a href="../../../nw/ut/SharedPtr/Overview.html">SharedPtr</a>::SharedPtr</CODE> Constructor</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14SharedPtr(); 15explicit SharedPtr( 16 TObj * pObj, 17 <a href="../../../nw/os/IAllocator/Overview.html">nw::os::IAllocator</a> * pAllocator = NULL, 18 <a href="../../../nw/ut/SharedPtrCount/Overview.html">SharedPtrCount</a>< TLockObject > * pCnt = NULL 19); 20SharedPtr( 21 const <a href="../../../nw/ut/SharedPtr/Overview.html">SharedPtr</a> & other 22); 23template <typename Y> 24SharedPtr( 25 const <a href="../../../nw/ut/SharedPtr/Overview.html">SharedPtr</a>< Y, TLockObject > & other 26); 27explicit SharedPtr( 28 const <a href="../../../nw/ut/WeakPtr/Overview.html">WeakPtr</a>< TObj, TLockObject > & other 29); 30</pre> 31 </div> 32 <h2>List of Overloaded Member Functions</h2> 33 <div class="section"> 34 <table class="members"> 35 <tr> 36 <td> 37 <a href="./SharedPtr(0).html">SharedPtr ( ) </a> 38 </td> 39 <td> 40 </td> 41 </tr> 42 <tr> 43 <td> 44 <a href="./SharedPtr(1).html">SharedPtr ( TObj *, nw::os::IAllocator *, SharedPtrCount< TLockObject > * ) </a> 45 </td> 46 <td>Constructor.</td> 47 </tr> 48 <tr> 49 <td> 50 <a href="./SharedPtr(2).html">SharedPtr ( const SharedPtr & ) </a> 51 </td> 52 <td>Copy constructor.</td> 53 </tr> 54 <tr> 55 <td> 56 <a href="./SharedPtr(3).html">SharedPtr ( const SharedPtr< Y, TLockObject > & ) </a> 57 </td> 58 <td>Copy constructor.</td> 59 </tr> 60 <tr> 61 <td> 62 <a href="./SharedPtr(4).html">SharedPtr ( const WeakPtr< TObj, TLockObject > & ) </a> 63 </td> 64 <td>Copy constructor.</td> 65 </tr> </table> 66 </div> 67 <h2>Description of SharedPtr ( )</h2> 68 <div class="section"> 69 <p> 70 </p> 71 </div> 72 <h2>Description of SharedPtr ( TObj *, nw::os::IAllocator *, SharedPtrCount< TLockObject > * )</h2> 73 <div class="section"> 74 <p>Constructor.</p> 75 </div> 76 <h2>Description of SharedPtr ( const SharedPtr & )</h2> 77 <div class="section"> 78 <p>Copy constructor.</p> 79 </div> 80 <h2>Description of SharedPtr ( const SharedPtr< Y, TLockObject > & )</h2> 81 <div class="section"> 82 <p>Copy constructor.</p> 83 </div> 84 <h2>Description of SharedPtr ( const WeakPtr< TObj, TLockObject > & )</h2> 85 <div class="section"> 86 <p>Copy constructor.</p> 87 </div> 88 <hr><p>CONFIDENTIAL</p></body> 89</html> 90