<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: zypp::rw_pointer::Scoped< D > Struct Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('structzypp_1_1rw__pointer_1_1Scoped.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="structzypp_1_1rw__pointer_1_1Scoped-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::rw_pointer::Scoped< D > Struct Template Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a3e2e59affabec2bae3f1742fd5ffda9b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classscoped__ptr.html">scoped_ptr</a>< D > </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a3e2e59affabec2bae3f1742fd5ffda9b">PtrType</a></td></tr> <tr class="separator:a3e2e59affabec2bae3f1742fd5ffda9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a12d8c743c295314f827bc397b6b40e47"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classscoped__ptr.html">scoped_ptr</a>< const D > </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a12d8c743c295314f827bc397b6b40e47">constPtrType</a></td></tr> <tr class="separator:a12d8c743c295314f827bc397b6b40e47"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a82a2505127119b5c91829052cbf8e2fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a82a2505127119b5c91829052cbf8e2fc">unique</a> (const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a12d8c743c295314f827bc397b6b40e47">constPtrType</a> &ptr_r)</td></tr> <tr class="memdesc:a82a2505127119b5c91829052cbf8e2fc"><td class="mdescLeft"> </td><td class="mdescRight">Check whether pointer is not shared. <a href="#a82a2505127119b5c91829052cbf8e2fc">More...</a><br /></td></tr> <tr class="separator:a82a2505127119b5c91829052cbf8e2fc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aba2bacc21a7a6dbdac6c702a4710a1f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#aba2bacc21a7a6dbdac6c702a4710a1f6">unique</a> (const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a3e2e59affabec2bae3f1742fd5ffda9b">PtrType</a> &ptr_r)</td></tr> <tr class="separator:aba2bacc21a7a6dbdac6c702a4710a1f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad43f70c9aff3d10108b8f95d95830799"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#ad43f70c9aff3d10108b8f95d95830799">use_count</a> (const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a12d8c743c295314f827bc397b6b40e47">constPtrType</a> &ptr_r) const</td></tr> <tr class="memdesc:ad43f70c9aff3d10108b8f95d95830799"><td class="mdescLeft"> </td><td class="mdescRight">Return number of references. <a href="#ad43f70c9aff3d10108b8f95d95830799">More...</a><br /></td></tr> <tr class="separator:ad43f70c9aff3d10108b8f95d95830799"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2245a8970bb4a126e5791f438005d685"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a2245a8970bb4a126e5791f438005d685">use_count</a> (const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a3e2e59affabec2bae3f1742fd5ffda9b">PtrType</a> &ptr_r) const</td></tr> <tr class="separator:a2245a8970bb4a126e5791f438005d685"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class D><br /> struct zypp::rw_pointer::Scoped< D ></h3> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00224">224</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="a3e2e59affabec2bae3f1742fd5ffda9b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3e2e59affabec2bae3f1742fd5ffda9b">◆ </a></span>PtrType</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class D> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classscoped__ptr.html">scoped_ptr</a><D> <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">zypp::rw_pointer::Scoped</a>< D >::<a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a3e2e59affabec2bae3f1742fd5ffda9b">PtrType</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00226">226</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div> </div> <a id="a12d8c743c295314f827bc397b6b40e47"></a> <h2 class="memtitle"><span class="permalink"><a href="#a12d8c743c295314f827bc397b6b40e47">◆ </a></span>constPtrType</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class D> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classscoped__ptr.html">scoped_ptr</a><const D> <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">zypp::rw_pointer::Scoped</a>< D >::<a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a12d8c743c295314f827bc397b6b40e47">constPtrType</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00227">227</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a82a2505127119b5c91829052cbf8e2fc"></a> <h2 class="memtitle"><span class="permalink"><a href="#a82a2505127119b5c91829052cbf8e2fc">◆ </a></span>unique() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class D> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classbool.html">bool</a> <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">zypp::rw_pointer::Scoped</a>< D >::unique </td> <td>(</td> <td class="paramtype">const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a12d8c743c295314f827bc397b6b40e47">constPtrType</a> & </td> <td class="paramname"><em>ptr_r</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Check whether pointer is not shared. </p> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00229">229</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div> </div> <a id="aba2bacc21a7a6dbdac6c702a4710a1f6"></a> <h2 class="memtitle"><span class="permalink"><a href="#aba2bacc21a7a6dbdac6c702a4710a1f6">◆ </a></span>unique() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class D> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classbool.html">bool</a> <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">zypp::rw_pointer::Scoped</a>< D >::unique </td> <td>(</td> <td class="paramtype">const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a3e2e59affabec2bae3f1742fd5ffda9b">PtrType</a> & </td> <td class="paramname"><em>ptr_r</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00231">231</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div> </div> <a id="ad43f70c9aff3d10108b8f95d95830799"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad43f70c9aff3d10108b8f95d95830799">◆ </a></span>use_count() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class D> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">long <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">zypp::rw_pointer::Scoped</a>< D >::use_count </td> <td>(</td> <td class="paramtype">const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a12d8c743c295314f827bc397b6b40e47">constPtrType</a> & </td> <td class="paramname"><em>ptr_r</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return number of references. </p> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00234">234</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div> </div> <a id="a2245a8970bb4a126e5791f438005d685"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2245a8970bb4a126e5791f438005d685">◆ </a></span>use_count() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class D> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">long <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">zypp::rw_pointer::Scoped</a>< D >::use_count </td> <td>(</td> <td class="paramtype">const <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html#a3e2e59affabec2bae3f1742fd5ffda9b">PtrType</a> & </td> <td class="paramname"><em>ptr_r</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="PtrTypes_8h_source.html#l00236">236</a> of file <a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>zypp/base/<a class="el" href="PtrTypes_8h_source.html">PtrTypes.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespacezypp.html">zypp</a></li><li class="navelem"><a class="el" href="namespacezypp_1_1rw__pointer.html">rw_pointer</a></li><li class="navelem"><a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">Scoped</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>