Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 16e298361edb3000a9b1c7b2dae804b9 > files > 313

apt-mga-1.4.6-1.mga6.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>apt: WeakPointable Class 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="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">apt
   &#160;<span id="projectnumber">1.4.6</span>
   </div>
   <div id="projectbrief">commandline package manager</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classWeakPointable-members.xhtml">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">WeakPointable Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="weakptr_8h_source.xhtml">apt-pkg/contrib/weakptr.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for WeakPointable:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classWeakPointable.png" usemap="#WeakPointable_map" alt=""/>
  <map id="WeakPointable_map" name="WeakPointable_map">
<area href="classpkgAcquire_1_1Item.xhtml" title="Represents the process by which a pkgAcquire object should retrieve a file or a collection of files..." alt="pkgAcquire::Item" shape="rect" coords="314,56,461,80"/>
<area href="structpkgAcquire_1_1ItemDesc.xhtml" title="Represents a single download source from which an item should be downloaded. " alt="pkgAcquire::ItemDesc" shape="rect" coords="863,56,1010,80"/>
<area href="classpkgAcquire_1_1Worker.xhtml" title="A fetch subprocess. " alt="pkgAcquire::Worker" shape="rect" coords="1020,56,1167,80"/>
<area href="classNoActionItem.xhtml" alt="NoActionItem" shape="rect" coords="0,112,147,136"/>
<area href="classpkgAcqArchive.xhtml" title="An item that is responsible for fetching a package file. {{{. " alt="pkgAcqArchive" shape="rect" coords="157,112,304,136"/>
<area href="classpkgAcqChangelog.xhtml" title="Retrieve the changelog for the given version {{{. " alt="pkgAcqChangelog" shape="rect" coords="314,112,461,136"/>
<area href="classpkgAcqFile.xhtml" title="Retrieve an arbitrary file to the current directory. {{{. " alt="pkgAcqFile" shape="rect" coords="471,112,618,136"/>
<area href="classpkgAcqTransactionItem.xhtml" title="baseclass for the indexes files to manage them all together " alt="pkgAcqTransactionItem" shape="rect" coords="706,112,853,136"/>
<area href="structpkgAcquire_1_1Queue_1_1QItem.xhtml" title="A single item placed in this queue. " alt="pkgAcquire::Queue::QItem" shape="rect" coords="863,112,1010,136"/>
<area href="classCleanupItem.xhtml" alt="CleanupItem" shape="rect" coords="392,168,539,192"/>
<area href="classpkgAcqBaseIndex.xhtml" title="Common base class for all classes that deal with fetching indexes {{{. " alt="pkgAcqBaseIndex" shape="rect" coords="549,168,696,192"/>
<area href="classpkgAcqMetaBase.xhtml" title="the manager of a transaction " alt="pkgAcqMetaBase" shape="rect" coords="863,168,1010,192"/>
<area href="classpkgAcqMetaSig.xhtml" title="An acquire item that downloads the detached signature {{{ of a meta-index (Release) file..." alt="pkgAcqMetaSig" shape="rect" coords="1020,168,1167,192"/>
<area href="classpkgAcqIndex.xhtml" title="An acquire item that is responsible for fetching an index {{{ file (e.g., Packages or Sources)..." alt="pkgAcqIndex" shape="rect" coords="392,224,539,248"/>
<area href="classpkgAcqIndexDiffs.xhtml" title="An item that is responsible for fetching server-merge patches {{{ that need to be applied to a given ..." alt="pkgAcqIndexDiffs" shape="rect" coords="549,224,696,248"/>
<area href="classpkgAcqIndexMergeDiffs.xhtml" title="An item that is responsible for fetching client-merge patches {{{ that need to be applied to a given ..." alt="pkgAcqIndexMergeDiffs" shape="rect" coords="706,224,853,248"/>
<area href="classpkgAcqMetaIndex.xhtml" title="An item that is responsible for downloading the meta-index {{{ file (i.e., Release) itself and verify..." alt="pkgAcqMetaIndex" shape="rect" coords="863,224,1010,248"/>
<area href="classpkgAcqDiffIndex.xhtml" title="An item that is responsible for fetching an index file of {{{ package list diffs and starting the pac..." alt="pkgAcqDiffIndex" shape="rect" coords="392,280,539,304"/>
<area href="classpkgAcqMetaClearSig.xhtml" title="An item repsonsible for downloading clearsigned metaindexes {{{. " alt="pkgAcqMetaClearSig" shape="rect" coords="863,280,1010,304"/>
</map>
 </div></div>
<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:ac9855cc66cd0e4d7425f4a6bbcfb5e80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWeakPointable.xhtml#ac9855cc66cd0e4d7425f4a6bbcfb5e80">AddWeakPointer</a> (<a class="el" href="classWeakPointable.xhtml">WeakPointable</a> **weakptr)</td></tr>
<tr class="separator:ac9855cc66cd0e4d7425f4a6bbcfb5e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2d7f814fc839c7ebdf677fb6f87ff5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWeakPointable.xhtml#ad2d7f814fc839c7ebdf677fb6f87ff5e">RemoveWeakPointer</a> (<a class="el" href="classWeakPointable.xhtml">WeakPointable</a> **weakptr)</td></tr>
<tr class="separator:ad2d7f814fc839c7ebdf677fb6f87ff5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afec646ba51ad955392a42a9312061b56"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWeakPointable.xhtml#afec646ba51ad955392a42a9312061b56">~WeakPointable</a> ()</td></tr>
<tr class="separator:afec646ba51ad955392a42a9312061b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for objects providing support for weak pointers.</p>
<p>This class allows for the registration of certain pointers as weak, which will cause them to be set to NULL when the destructor of the object is called. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afec646ba51ad955392a42a9312061b56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afec646ba51ad955392a42a9312061b56">&#9670;&nbsp;</a></span>~WeakPointable()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classWeakPointable.xhtml">WeakPointable</a> </td>
          <td>(</td>
          <td class="paramname"></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>Deconstruct the object, set all weak pointers to NULL. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac9855cc66cd0e4d7425f4a6bbcfb5e80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9855cc66cd0e4d7425f4a6bbcfb5e80">&#9670;&nbsp;</a></span>AddWeakPointer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void AddWeakPointer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWeakPointable.xhtml">WeakPointable</a> **&#160;</td>
          <td class="paramname"><em>weakptr</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>Add a new weak pointer. </p>

</div>
</div>
<a id="ad2d7f814fc839c7ebdf677fb6f87ff5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2d7f814fc839c7ebdf677fb6f87ff5e">&#9670;&nbsp;</a></span>RemoveWeakPointer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RemoveWeakPointer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWeakPointable.xhtml">WeakPointable</a> **&#160;</td>
          <td class="paramname"><em>weakptr</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>Remove the weak pointer from the list of weak pointers. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>apt-pkg/contrib/<a class="el" href="weakptr_8h_source.xhtml">weakptr.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>