Sophie

Sophie

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

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/sat/LocaleSupport.cc 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('LocaleSupport_8cc_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">LocaleSupport.cc</div>  </div>
</div><!--header-->
<div class="contents">
<a href="LocaleSupport_8cc.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">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="LogTools_8h.html">zypp/base/LogTools.h</a>&quot;</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="LocaleSupport_8h.html">zypp/sat/LocaleSupport.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">using</span> std::endl;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;{ </div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;  <span class="keyword">namespace </span>sat</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  { </div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="comment">/******************************************************************</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">    **</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">    **  FUNCTION NAME : operator&lt;&lt;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">    **  FUNCTION TYPE : std::ostream &amp;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">    */</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespacezypp_1_1sat.html#a48d1685abf2a51e9cf4e196886195203">   31</a></span>&#160;    std::ostream &amp; <a class="code" href="namespacezypp_1_1sat.html#ae54cd5cc7340e1d429a7c421ea8e22b3">operator&lt;&lt;</a>( std::ostream &amp; <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html">LocaleSupport</a> &amp; obj )</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacestr.html">str</a> &lt;&lt; obj.<a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html#aa178029101741b015131d880e7da2726">locale</a>() &lt;&lt; <span class="charliteral">&#39;(&#39;</span> &lt;&lt; (obj.<a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html#aca92413248f3f38aed088726cb744fab">isAvailable</a>()?<span class="charliteral">&#39;a&#39;</span>:<span class="charliteral">&#39;_&#39;</span>) &lt;&lt; (obj.<a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html#a0afedd5625496b1c0037b20022f5c9b9">isRequested</a>()?<span class="charliteral">&#39;R&#39;</span>:<span class="charliteral">&#39;_&#39;</span>) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    }</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="comment">/******************************************************************</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">    **</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">    **  FUNCTION NAME : dumpOn</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">    **  FUNCTION TYPE : std::ostream &amp;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">    */</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespacezypp_1_1sat.html#a1918a3d614c10150b7538f2dbd2bcdcd">   41</a></span>&#160;    std::ostream &amp; <a class="code" href="namespacezypp_1_1sat.html#a1918a3d614c10150b7538f2dbd2bcdcd">dumpOn</a>( std::ostream &amp; <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html">LocaleSupport</a> &amp; obj )</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacezypp.html#aca13105e2531a707430f1204abcc0039">dumpRange</a>( <a class="code" href="namespacestr.html">str</a> &lt;&lt; obj, obj.<a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html#acaa6ce053cc9192e4a90bdea709e8018">begin</a>(), obj.<a class="code" href="classzypp_1_1sat_1_1LocaleSupport.html#acaaec79a0acf3aa8c4ab7de784405136">end</a>() );</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    }</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  } <span class="comment">// namespace sat</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment"></span>} <span class="comment">// namespace zypp</span></div><div class="ttc" id="classzypp_1_1sat_1_1LocaleSupport_html_acaa6ce053cc9192e4a90bdea709e8018"><div class="ttname"><a href="classzypp_1_1sat_1_1LocaleSupport.html#acaa6ce053cc9192e4a90bdea709e8018">zypp::sat::LocaleSupport::begin</a></div><div class="ttdeci">iterator begin() const</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8h_source.html#l00093">LocaleSupport.h:93</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1LocaleSupport_html_a0afedd5625496b1c0037b20022f5c9b9"><div class="ttname"><a href="classzypp_1_1sat_1_1LocaleSupport.html#a0afedd5625496b1c0037b20022f5c9b9">zypp::sat::LocaleSupport::isRequested</a></div><div class="ttdeci">bool isRequested() const</div><div class="ttdoc">Whether the solver will automatically select language specific packages for my Locale.</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8h_source.html#l00081">LocaleSupport.h:81</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1LocaleSupport_html_acaaec79a0acf3aa8c4ab7de784405136"><div class="ttname"><a href="classzypp_1_1sat_1_1LocaleSupport.html#acaaec79a0acf3aa8c4ab7de784405136">zypp::sat::LocaleSupport::end</a></div><div class="ttdeci">iterator end() const</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8h_source.html#l00096">LocaleSupport.h:96</a></div></div>
<div class="ttc" id="namespacezypp_1_1sat_html_ae54cd5cc7340e1d429a7c421ea8e22b3"><div class="ttname"><a href="namespacezypp_1_1sat.html#ae54cd5cc7340e1d429a7c421ea8e22b3">zypp::sat::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;str, const FileConflicts &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="FileConflicts_8cc_source.html#l00109">FileConflicts.cc:109</a></div></div>
<div class="ttc" id="namespacestr_html"><div class="ttname"><a href="namespacestr.html">str</a></div><div class="ttdoc">String related utilities and Regular expression matching.</div></div>
<div class="ttc" id="namespacezypp_html_aca13105e2531a707430f1204abcc0039"><div class="ttname"><a href="namespacezypp.html#aca13105e2531a707430f1204abcc0039">zypp::dumpRange</a></div><div class="ttdeci">std::ostream &amp; dumpRange(std::ostream &amp;str, TIterator begin, TIterator end, const std::string &amp;intro=&quot;{&quot;, const std::string &amp;pfx=&quot;\n  &quot;, const std::string &amp;sep=&quot;\n  &quot;, const std::string &amp;sfx=&quot;\n&quot;, const std::string &amp;extro=&quot;}&quot;)</div><div class="ttdoc">Print range defined by iterators (multiline style).</div><div class="ttdef"><b>Definition:</b> <a href="LogTools_8h_source.html#l00091">LogTools.h:91</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1LocaleSupport_html"><div class="ttname"><a href="classzypp_1_1sat_1_1LocaleSupport.html">zypp::sat::LocaleSupport</a></div><div class="ttdoc">Convenience methods to manage support for a specific Locale.</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8h_source.html#l00059">LocaleSupport.h:59</a></div></div>
<div class="ttc" id="namespacezypp_1_1sat_html_a1918a3d614c10150b7538f2dbd2bcdcd"><div class="ttname"><a href="namespacezypp_1_1sat.html#a1918a3d614c10150b7538f2dbd2bcdcd">zypp::sat::dumpOn</a></div><div class="ttdeci">std::ostream &amp; dumpOn(std::ostream &amp;str, const LocaleSupport &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8cc_source.html#l00041">LocaleSupport.cc:41</a></div></div>
<div class="ttc" id="LogTools_8h_html"><div class="ttname"><a href="LogTools_8h.html">LogTools.h</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1LocaleSupport_html_aca92413248f3f38aed088726cb744fab"><div class="ttname"><a href="classzypp_1_1sat_1_1LocaleSupport.html#aca92413248f3f38aed088726cb744fab">zypp::sat::LocaleSupport::isAvailable</a></div><div class="ttdeci">bool isAvailable() const</div><div class="ttdoc">Whether there are language specific packages supporting my Locale.</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8h_source.html#l00077">LocaleSupport.h:77</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1LocaleSupport_html_aa178029101741b015131d880e7da2726"><div class="ttname"><a href="classzypp_1_1sat_1_1LocaleSupport.html#aa178029101741b015131d880e7da2726">zypp::sat::LocaleSupport::locale</a></div><div class="ttdeci">const Locale &amp; locale() const</div><div class="ttdoc">My Locale.</div><div class="ttdef"><b>Definition:</b> <a href="LocaleSupport_8h_source.html#l00073">LocaleSupport.h:73</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 class="ttc" id="LocaleSupport_8h_html"><div class="ttname"><a href="LocaleSupport_8h.html">LocaleSupport.h</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="dir_d92cd3a208d659e78c09abe559c2090e.html">sat</a></li><li class="navelem"><a class="el" href="LocaleSupport_8cc.html">LocaleSupport.cc</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>