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>GfxPtr</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../nw/gfx/GfxPtr/Overview.html">GfxPtr</a>::GfxPtr</CODE> Constructor</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14GfxPtr(); 15GfxPtr( 16 const <a href="../../../nw/gfx/GfxPtr/Overview.html">GfxPtr</a> & pointer 17); 18template <typename TTObject> 19explicit GfxPtr( 20 TTObject * pointer 21); 22template <typename TTObject> 23GfxPtr( 24 TTObject * pointer, 25 bool hasOwnership 26); 27template <typename TTObject, typename TTDeleter> 28GfxPtr( 29 <span>ut::internal::MoveSource</span>< <a href="../../../nw/ut/MovePtr/Overview.html">ut::MovePtr</a>< TTObject, TTDeleter > > source 30); 31</pre> 32 </div> 33 <h2>List of Overloaded Member Functions</h2> 34 <div class="section"> 35 <table class="members"> 36 <tr> 37 <td> 38 <a href="./GfxPtr(0).html"><CODE>GfxPtr( )</CODE> </a> 39 </td> 40 <td>Constructor.</td> 41 </tr> 42 <tr> 43 <td> 44 <a href="./GfxPtr(1).html"><CODE>GfxPtr(const GfxPtr &)</CODE> </a> 45 </td> 46 <td>Copy constructor. Moves an element from the copy source.</td> 47 </tr> 48 <tr> 49 <td> 50 <a href="./GfxPtr(2).html"><CODE>GfxPtr(TTObject *)</CODE> </a> 51 </td> 52 <td>Constructor.</td> 53 </tr> 54 <tr> 55 <td> 56 <a href="./GfxPtr(3).html">GfxPtr ( TTObject *, bool ) </a> 57 </td> 58 <td> 59 </td> 60 </tr> 61 <tr> 62 <td> 63 <a href="./GfxPtr(4).html"><CODE>GfxPtr(ut::internal::MoveSource< ut::MovePtr< TTObject, TTDeleter > >)</CODE> </a> 64 </td> 65 <td>Constructor.</td> 66 </tr> </table> 67 </div> 68 <h2>Description of <CODE>GfxPtr( )</CODE></h2> 69 <div class="section"> 70 <p>Constructor.</p> 71 </div> 72 <h2>Description of <CODE>GfxPtr(const GfxPtr &)</CODE></h2> 73 <div class="section"> 74 <p>Copy constructor. Moves an element from the copy source.</p> 75 </div> 76 <h2>Description of <CODE>GfxPtr(TTObject *)</CODE></h2> 77 <div class="section"> 78 <p>Constructor.</p> 79 </div> 80 <h2>Description of GfxPtr ( TTObject *, bool )</h2> 81 <div class="section"><p>Constructor.</p><p>If false is specified in <CODE>hasOwnership</CODE>, the object is not destroyed when this instance of <a href="../../../nw/gfx/GfxPtr/Overview.html">GfxPtr</a> is destroyed. </p></div> 82 <h2>Description of <CODE>GfxPtr(ut::internal::MoveSource< ut::MovePtr< TTObject, TTDeleter > >)</CODE></h2> 83 <div class="section"> 84 <p>Constructor.</p> 85 </div> 86 <hr><p>CONFIDENTIAL</p></body> 87</html> 88