Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 3141

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!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/SrcPackage.h Source File</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&amp;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
   &#160;<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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('SrcPackage_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">SrcPackage.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SrcPackage_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">|                          ____ _   __ __ ___                          |</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">|                         |__  / \ / / . \ . \                         |</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">|                           / / \ V /|  _/  _/                         |</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">|                          / /__ | | | | | |                           |</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">|                         /_____||_| |_| |_|                           |</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">|                                                                      |</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifndef ZYPP_SRCPACKAGE_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#define ZYPP_SRCPACKAGE_H</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ResObject_8h.html">zypp/ResObject.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{ </div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;  <a class="code" href="group__ZYPP__RESOLVABLE__SMART__POINTER__TYPES.html#ga1a5671364b8fb1b8cf54f5e251fb258a">DEFINE_PTR_TYPE</a>(SrcPackage);</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;  <span class="comment">//    CLASS NAME : SrcPackage</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classzypp_1_1SrcPackage.html">   29</a></span>&#160;<span class="comment"></span>  <span class="keyword">class </span><a class="code" href="classzypp_1_1SrcPackage.html">SrcPackage</a> : <span class="keyword">public</span> <a class="code" href="classzypp_1_1ResObject.html">ResObject</a></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;  {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;  <span class="keyword">public</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classzypp_1_1SrcPackage.html#a3b6546bc7f5226070c9ac16ab984d068">   33</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classzypp_1_1SrcPackage.html">SrcPackage</a>               <a class="code" href="classzypp_1_1SrcPackage.html#a3b6546bc7f5226070c9ac16ab984d068">Self</a>;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classzypp_1_1SrcPackage.html#a8d0905da90a87ac5498da14b8fa76371">   34</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="structzypp_1_1ResTraits.html">ResTraits&lt;Self&gt;</a>          <a class="code" href="classzypp_1_1SrcPackage.html#a8d0905da90a87ac5498da14b8fa76371">TraitsType</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classzypp_1_1SrcPackage.html#a339306d86999d4379fbaf7e1266f4436">   35</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="structzypp_1_1ResTraits.html#acf42c37771e29ffb081005aa46b43e14">TraitsType::PtrType</a>      <a class="code" href="classzypp_1_1SrcPackage.html#a339306d86999d4379fbaf7e1266f4436">Ptr</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classzypp_1_1SrcPackage.html#aab481e5e070b41c4767b4be394dc3953">   36</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="structzypp_1_1ResTraits.html#a216820f588b042efe2bcd0a6c871ffea">TraitsType::constPtrType</a> <a class="code" href="classzypp_1_1SrcPackage.html#aab481e5e070b41c4767b4be394dc3953">constPtr</a>;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    std::string <a class="code" href="classzypp_1_1SrcPackage.html#a639b2cacf4bade27dd599e4cc82f18c3">sourcePkgType</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> <a class="code" href="classzypp_1_1SrcPackage.html#aa14eadd444e3afdb74d4376d43eb97cc">location</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> <a class="code" href="classzypp_1_1SrcPackage.html#a5a4c1de060d04fd4871fec740d09ebb1">cachedLocation</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classzypp_1_1SrcPackage.html#afe16e6985d70ec144d456c2b2ba708c8">   49</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1SrcPackage.html#afe16e6985d70ec144d456c2b2ba708c8">isCached</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">    </span>{ <span class="keywordflow">return</span> ! <a class="code" href="classzypp_1_1SrcPackage.html#a5a4c1de060d04fd4871fec740d09ebb1">cachedLocation</a>().<a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#aaf4388add8c0f9294a7b15f0614f7656">empty</a>(); }</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  <span class="keyword">protected</span>:</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">friend</span> <a class="code" href="classzypp_1_1SrcPackage.html#a339306d86999d4379fbaf7e1266f4436">Ptr</a> make&lt;Self&gt;( <span class="keyword">const</span> <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> &amp; solvable_r );</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <a class="code" href="classzypp_1_1SrcPackage.html#a7816cc0fb86914457069598915638832">SrcPackage</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> &amp; solvable_r );</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classzypp_1_1SrcPackage.html#a204eb6aaa7f8e45d700185e45c744af2">~SrcPackage</a>();</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  };</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;} <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment"></span><span class="preprocessor">#endif // ZYPP_SRCPACKAGE_H</span></div><div class="ttc" id="classzypp_1_1sat_1_1Solvable_html"><div class="ttname"><a href="classzypp_1_1sat_1_1Solvable.html">zypp::sat::Solvable</a></div><div class="ttdoc">A Solvable object within the sat Pool.</div><div class="ttdef"><b>Definition:</b> <a href="Solvable_8h_source.html#l00053">Solvable.h:53</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a7816cc0fb86914457069598915638832"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a7816cc0fb86914457069598915638832">zypp::SrcPackage::SrcPackage</a></div><div class="ttdeci">SrcPackage(const sat::Solvable &amp;solvable_r)</div><div class="ttdoc">Ctor.</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8cc_source.html#l00033">SrcPackage.cc:33</a></div></div>
<div class="ttc" id="structzypp_1_1ResTraits_html_a216820f588b042efe2bcd0a6c871ffea"><div class="ttname"><a href="structzypp_1_1ResTraits.html#a216820f588b042efe2bcd0a6c871ffea">zypp::ResTraits::constPtrType</a></div><div class="ttdeci">intrusive_ptr&lt; const TRes &gt; constPtrType</div><div class="ttdef"><b>Definition:</b> <a href="ResTraits_8h_source.html#l00083">ResTraits.h:83</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a5a4c1de060d04fd4871fec740d09ebb1"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a5a4c1de060d04fd4871fec740d09ebb1">zypp::SrcPackage::cachedLocation</a></div><div class="ttdeci">Pathname cachedLocation() const</div><div class="ttdoc">Location of the downloaded package in cache or an empty path.</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8cc_source.html#l00057">SrcPackage.cc:57</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_aa14eadd444e3afdb74d4376d43eb97cc"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#aa14eadd444e3afdb74d4376d43eb97cc">zypp::SrcPackage::location</a></div><div class="ttdeci">OnMediaLocation location() const</div><div class="ttdoc">location of resolvable in repo</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8cc_source.html#l00054">SrcPackage.cc:54</a></div></div>
<div class="ttc" id="classzypp_1_1OnMediaLocation_html"><div class="ttname"><a href="classzypp_1_1OnMediaLocation.html">zypp::OnMediaLocation</a></div><div class="ttdoc">Describes a path on a certain media amongs as the information required to download it,...</div><div class="ttdef"><b>Definition:</b> <a href="OnMediaLocation_8h_source.html#l00039">OnMediaLocation.h:39</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a339306d86999d4379fbaf7e1266f4436"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a339306d86999d4379fbaf7e1266f4436">zypp::SrcPackage::Ptr</a></div><div class="ttdeci">TraitsType::PtrType Ptr</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8h_source.html#l00035">SrcPackage.h:35</a></div></div>
<div class="ttc" id="ResObject_8h_html"><div class="ttname"><a href="ResObject_8h.html">ResObject.h</a></div></div>
<div class="ttc" id="structzypp_1_1ResTraits_html"><div class="ttname"><a href="structzypp_1_1ResTraits.html">zypp::ResTraits</a></div><div class="ttdoc">ResTraits.</div><div class="ttdef"><b>Definition:</b> <a href="ResTraits_8h_source.html#l00079">ResTraits.h:79</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a8d0905da90a87ac5498da14b8fa76371"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a8d0905da90a87ac5498da14b8fa76371">zypp::SrcPackage::TraitsType</a></div><div class="ttdeci">ResTraits&lt; Self &gt; TraitsType</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8h_source.html#l00034">SrcPackage.h:34</a></div></div>
<div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html_aaf4388add8c0f9294a7b15f0614f7656"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html#aaf4388add8c0f9294a7b15f0614f7656">zypp::filesystem::Pathname::empty</a></div><div class="ttdeci">bool empty() const</div><div class="ttdoc">Test for an empty path.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00113">Pathname.h:113</a></div></div>
<div class="ttc" id="group__ZYPP__RESOLVABLE__SMART__POINTER__TYPES_html_ga1a5671364b8fb1b8cf54f5e251fb258a"><div class="ttname"><a href="group__ZYPP__RESOLVABLE__SMART__POINTER__TYPES.html#ga1a5671364b8fb1b8cf54f5e251fb258a">zypp::DEFINE_PTR_TYPE</a></div><div class="ttdeci">DEFINE_PTR_TYPE(Application)</div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a3b6546bc7f5226070c9ac16ab984d068"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a3b6546bc7f5226070c9ac16ab984d068">zypp::SrcPackage::Self</a></div><div class="ttdeci">SrcPackage Self</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8h_source.html#l00033">SrcPackage.h:33</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_afe16e6985d70ec144d456c2b2ba708c8"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#afe16e6985d70ec144d456c2b2ba708c8">zypp::SrcPackage::isCached</a></div><div class="ttdeci">bool isCached() const</div><div class="ttdoc">Whether the package is cached.</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8h_source.html#l00049">SrcPackage.h:49</a></div></div>
<div class="ttc" id="classzypp_1_1ResObject_html"><div class="ttname"><a href="classzypp_1_1ResObject.html">zypp::ResObject</a></div><div class="ttdoc">Base for resolvable objects.</div><div class="ttdef"><b>Definition:</b> <a href="ResObject_8h_source.html#l00038">ResObject.h:38</a></div></div>
<div class="ttc" id="structzypp_1_1ResTraits_html_acf42c37771e29ffb081005aa46b43e14"><div class="ttname"><a href="structzypp_1_1ResTraits.html#acf42c37771e29ffb081005aa46b43e14">zypp::ResTraits::PtrType</a></div><div class="ttdeci">intrusive_ptr&lt; TRes &gt; PtrType</div><div class="ttdef"><b>Definition:</b> <a href="ResTraits_8h_source.html#l00082">ResTraits.h:82</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html"><div class="ttname"><a href="classzypp_1_1SrcPackage.html">zypp::SrcPackage</a></div><div class="ttdoc">SrcPackage interface.</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8h_source.html#l00029">SrcPackage.h:29</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a639b2cacf4bade27dd599e4cc82f18c3"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a639b2cacf4bade27dd599e4cc82f18c3">zypp::SrcPackage::sourcePkgType</a></div><div class="ttdeci">std::string sourcePkgType() const</div><div class="ttdoc">The type of the source rpm (&quot;src&quot; or &quot;nosrc&quot;).</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8cc_source.html#l00051">SrcPackage.cc:51</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_aab481e5e070b41c4767b4be394dc3953"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#aab481e5e070b41c4767b4be394dc3953">zypp::SrcPackage::constPtr</a></div><div class="ttdeci">TraitsType::constPtrType constPtr</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8h_source.html#l00036">SrcPackage.h:36</a></div></div>
<div class="ttc" id="classzypp_1_1SrcPackage_html_a204eb6aaa7f8e45d700185e45c744af2"><div class="ttname"><a href="classzypp_1_1SrcPackage.html#a204eb6aaa7f8e45d700185e45c744af2">zypp::SrcPackage::~SrcPackage</a></div><div class="ttdeci">virtual ~SrcPackage()</div><div class="ttdoc">Dtor.</div><div class="ttdef"><b>Definition:</b> <a href="SrcPackage_8cc_source.html#l00042">SrcPackage.cc:42</a></div></div>
<div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html">zypp::filesystem::Pathname</a></div><div class="ttdoc">Pathname.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00043">Pathname.h:43</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
</div><!-- fragment --></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="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="SrcPackage_8h.html">SrcPackage.h</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>