<!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/CpeId.cc File 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('CpeId_8cc.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">CpeId.cc File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <iostream></code><br /> <code>#include <array></code><br /> <code>#include "<a class="el" href="String_8h_source.html">zypp/base/String.h</a>"</code><br /> <code>#include "<a class="el" href="LogTools_8h_source.html">zypp/base/LogTools.h</a>"</code><br /> <code>#include "<a class="el" href="NonCopyable_8h_source.html">zypp/base/NonCopyable.h</a>"</code><br /> <code>#include "<a class="el" href="CpeId_8h_source.html">zypp/CpeId.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for CpeId.cc:</div> <div class="dyncontent"> <div class="center"><img src="CpeId_8cc__incl.png" border="0" usemap="#zypp_2CpeId_8cc" alt=""/></div> <map name="zypp_2CpeId_8cc" id="zypp_2CpeId_8cc"> <area shape="rect" title=" " alt="" coords="1583,5,1689,32"/> <area shape="rect" title=" " alt="" coords="479,229,553,256"/> <area shape="rect" title=" " alt="" coords="1521,80,1573,107"/> <area shape="rect" href="String_8h.html" title=" " alt="" coords="2011,229,2149,256"/> <area shape="rect" href="LogTools_8h.html" title=" " alt="" coords="1372,155,1529,181"/> <area shape="rect" href="NonCopyable_8h.html" title=" " alt="" coords="1699,80,1882,107"/> <area shape="rect" href="CpeId_8h.html" title=" " alt="" coords="2574,80,2677,107"/> <area shape="rect" title=" " alt="" coords="1925,311,1987,338"/> <area shape="rect" title=" " alt="" coords="2557,393,2619,420"/> <area shape="rect" title=" " alt="" coords="1308,311,1367,338"/> <area shape="rect" title=" " alt="" coords="2227,393,2285,420"/> <area shape="rect" title=" " alt="" coords="2063,311,2134,338"/> <area shape="rect" title=" " alt="" coords="2158,311,2290,338"/> <area shape="rect" title=" " alt="" coords="2314,304,2449,345"/> <area shape="rect" href="Easy_8h.html" title=" " alt="" coords="1621,311,1747,338"/> <area shape="rect" href="PtrTypes_8h.html" title=" " alt="" coords="2819,311,2973,338"/> <area shape="rect" href="Function_8h.html" title=" " alt="" coords="1391,311,1545,338"/> <area shape="rect" title=" " alt="" coords="1679,393,1737,420"/> <area shape="rect" title=" " alt="" coords="3187,393,3346,420"/> <area shape="rect" title=" " alt="" coords="2644,393,2801,420"/> <area shape="rect" title=" " alt="" coords="2825,393,2972,420"/> <area shape="rect" title=" " alt="" coords="2997,393,3163,420"/> <area shape="rect" title=" " alt="" coords="1373,393,1513,420"/> <area shape="rect" title=" " alt="" coords="1537,393,1655,420"/> <area shape="rect" title=" " alt="" coords="1241,393,1348,420"/> <area shape="rect" title=" " alt="" coords="1367,229,1407,256"/> <area shape="rect" title=" " alt="" coords="1431,229,1471,256"/> <area shape="rect" title=" " alt="" coords="1495,229,1545,256"/> <area shape="rect" href="Hash_8h.html" title=" " alt="" coords="1160,229,1291,256"/> <area shape="rect" href="Logger_8h.html" title=" " alt="" coords="1826,229,1969,256"/> <area shape="rect" href="Iterator_8h.html" title=" " alt="" coords="577,229,724,256"/> <area shape="rect" href="APIConfig_8h.html" title="Provides API related macros." alt="" coords="1621,229,1750,256"/> <area shape="rect" title=" " alt="" coords="1029,311,1139,338"/> <area shape="rect" title=" " alt="" coords="1164,311,1284,338"/> <area shape="rect" title=" " alt="" coords="285,393,352,420"/> <area shape="rect" title=" " alt="" coords="411,311,466,338"/> <area shape="rect" title=" " alt="" coords="490,311,641,338"/> <area shape="rect" title=" " alt="" coords="665,304,807,345"/> <area shape="rect" title=" " alt="" coords="831,304,1004,345"/> <area shape="rect" title=" " alt="" coords="5,304,165,345"/> <area shape="rect" href="Iterable_8h.html" title=" " alt="" coords="189,311,336,338"/> <area shape="rect" title=" " alt="" coords="1707,155,1875,181"/> <area shape="rect" href="Flags_8h.html" title=" " alt="" coords="2164,155,2297,181"/> <area shape="rect" href="EnumClass_8h.html" title=" " alt="" coords="2630,229,2797,256"/> <area shape="rect" href="SetRelationMixin_8h.html" title=" " alt="" coords="2524,155,2727,181"/> </map> </div> </div> <p><a href="CpeId_8cc_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1CpeId_1_1Impl.html">zypp::CpeId::Impl</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classzypp_1_1CpeId.html" title="Common Platform Enumearation (2.3) See http://cpe.mitre.org/ for more information on the Common Platf...">CpeId</a> implementation. <a href="classzypp_1_1CpeId_1_1Impl.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacezypp"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html">zypp</a></td></tr> <tr class="memdesc:namespacezypp"><td class="mdescLeft"> </td><td class="mdescRight">Easy-to use interface to the ZYPP dependency resolver. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a85c4464aa5e7f5fcbd403376187c40d2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CpeId_8cc.html#a85c4464aa5e7f5fcbd403376187c40d2">WFN_ATTRIBUTES</a></td></tr> <tr class="memdesc:a85c4464aa5e7f5fcbd403376187c40d2"><td class="mdescLeft"> </td><td class="mdescRight">Initializer list with all wfn attributes. <a href="#a85c4464aa5e7f5fcbd403376187c40d2">More...</a><br /></td></tr> <tr class="separator:a85c4464aa5e7f5fcbd403376187c40d2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf1bdb58823e07761d215158b6e65160"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CpeId_8cc.html#acf1bdb58823e07761d215158b6e65160">OUTS</a>(N)   { N, #N }</td></tr> <tr class="separator:acf1bdb58823e07761d215158b6e65160"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a95e425f3274627c2ec8cd851ca31decf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CpeId_8cc.html#a95e425f3274627c2ec8cd851ca31decf">WFN_STRICT_SPEC</a>   0</td></tr> <tr class="memdesc:a95e425f3274627c2ec8cd851ca31decf"><td class="mdescLeft"> </td><td class="mdescRight">Symmetric attribute compare if wildcards are involved! The specs define any comarison with a wildcarded attribute as target to return <code>uncomparable:</code> <a href="#a95e425f3274627c2ec8cd851ca31decf">More...</a><br /></td></tr> <tr class="separator:a95e425f3274627c2ec8cd851ca31decf"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a85c4464aa5e7f5fcbd403376187c40d2"></a> <h2 class="memtitle"><span class="permalink"><a href="#a85c4464aa5e7f5fcbd403376187c40d2">◆ </a></span>WFN_ATTRIBUTES</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define WFN_ATTRIBUTES</td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line">{\</div><div class="line"> Attribute::part, \</div><div class="line"> Attribute::vendor, \</div><div class="line"> Attribute::product, \</div><div class="line"> Attribute::version, \</div><div class="line"> Attribute::update, \</div><div class="line"> Attribute::edition, \</div><div class="line"> Attribute::language, \</div><div class="line"> Attribute::sw_edition,\</div><div class="line"> Attribute::target_sw, \</div><div class="line"> Attribute::target_hw, \</div><div class="line"> Attribute::other, \</div><div class="line">}</div></div><!-- fragment --> <p>Initializer list with all wfn attributes. </p> <p class="definition">Definition at line <a class="el" href="CpeId_8cc_source.html#l00023">23</a> of file <a class="el" href="CpeId_8cc_source.html">CpeId.cc</a>.</p> </div> </div> <a id="acf1bdb58823e07761d215158b6e65160"></a> <h2 class="memtitle"><span class="permalink"><a href="#acf1bdb58823e07761d215158b6e65160">◆ </a></span>OUTS</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define OUTS</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">N</td><td>)</td> <td>   { N, #N }</td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a95e425f3274627c2ec8cd851ca31decf"></a> <h2 class="memtitle"><span class="permalink"><a href="#a95e425f3274627c2ec8cd851ca31decf">◆ </a></span>WFN_STRICT_SPEC</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define WFN_STRICT_SPEC   0</td> </tr> </table> </div><div class="memdoc"> <p>Symmetric attribute compare if wildcards are involved! The specs define any comarison with a wildcarded attribute as target to return <code>uncomparable:</code> </p> <div class="fragment"><div class="line">wildcardfree <=> wildcarded ==> uncomparable,</div><div class="line">wildcarded <=> wildcardfree ==> superset or disjoint</div></div><!-- fragment --><p> But a symmetric result is much more intuitive: </p><div class="fragment"><div class="line">wildcardfree <=> wildcarded ==> subset or disjoint</div><div class="line">wildcarded <=> wildcardfree ==> superset or disjoint</div></div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="CpeId_8cc_source.html#l00929">929</a> of file <a class="el" href="CpeId_8cc_source.html">CpeId.cc</a>.</p> </div> </div> </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="CpeId_8cc.html">CpeId.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>