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>nw::ut::SharedPtr::SharedPtr Constructor</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14SharedPtr(); 15 16explicit SharedPtr( 17 TObj * pObj, 18 <a href="../../../nw/os/IAllocator/Overview.html">nw::os::IAllocator</a> * pAllocator = NULL, 19 <a href="../../../nw/ut/SharedPtrCount/Overview.html">SharedPtrCount</a>< TLockObject > * pCnt = NULL 20); 21 22SharedPtr( 23 const <a href="../../../nw/ut/SharedPtr/Overview.html">SharedPtr</a> & other 24); 25 26template <typename Y> 27SharedPtr( 28 const <a href="../../../nw/ut/SharedPtr/Overview.html">SharedPtr</a>< Y, TLockObject > & other 29); 30 31explicit SharedPtr( 32 const <a href="../../../nw/ut/WeakPtr/Overview.html">WeakPtr</a>< TObj, TLockObject > & other 33); 34</pre> 35 </div> 36 <h2>List of Overloaded Member Functions</h2> 37 <div class="section"> 38 <table class="members"> 39 <tr> 40 <td> 41 <a href="./SharedPtr(0).html">SharedPtr ( ) </a> 42 </td> 43 <td> 44 </td> 45 </tr> 46 <tr> 47 <td> 48 <a href="./SharedPtr(1).html">SharedPtr ( TObj *, nw::os::IAllocator *, SharedPtrCount< TLockObject > * ) </a> 49 </td> 50 <td>Constructor.</td> 51 </tr> 52 <tr> 53 <td> 54 <a href="./SharedPtr(2).html">SharedPtr ( const SharedPtr & ) </a> 55 </td> 56 <td>Copy constructor.</td> 57 </tr> 58 <tr> 59 <td> 60 <a href="./SharedPtr(3).html">SharedPtr ( const SharedPtr< Y, TLockObject > & ) </a> 61 </td> 62 <td>Copy constructor.</td> 63 </tr> 64 <tr> 65 <td> 66 <a href="./SharedPtr(4).html">SharedPtr ( const WeakPtr< TObj, TLockObject > & ) </a> 67 </td> 68 <td>Copy constructor.</td> 69 </tr> </table> 70 </div> 71 <h2>Description of SharedPtr ( )</h2> 72 <div class="section"> 73 <p> 74 </p> 75 </div> 76 <h2>Description of SharedPtr ( TObj *, nw::os::IAllocator *, SharedPtrCount< TLockObject > * )</h2> 77 <div class="section"> 78 <p>Constructor.</p> 79 </div> 80 <h2>Description of SharedPtr ( const SharedPtr & )</h2> 81 <div class="section"> 82 <p>Copy constructor.</p> 83 </div> 84 <h2>Description of SharedPtr ( const SharedPtr< Y, TLockObject > & )</h2> 85 <div class="section"> 86 <p>Copy constructor.</p> 87 </div> 88 <h2>Description of SharedPtr ( const WeakPtr< TObj, TLockObject > & )</h2> 89 <div class="section"> 90 <p>Copy constructor.</p> 91 </div> 92 <hr><p>CONFIDENTIAL</p></body> 93</html>