<!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/Bit.h 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('Bit_8h.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="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">Bit.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <iosfwd></code><br /> <code>#include <string></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Bit.h:</div> <div class="dyncontent"> <div class="center"><img src="Bit_8h__incl.png" border="0" usemap="#zypp_2Bit_8h" alt=""/></div> <map name="zypp_2Bit_8h" id="zypp_2Bit_8h"> <area shape="rect" title=" " alt="" coords="36,5,120,32"/> <area shape="rect" title=" " alt="" coords="5,80,68,107"/> <area shape="rect" title=" " alt="" coords="92,80,149,107"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="Bit_8h__dep__incl.png" border="0" usemap="#zypp_2Bit_8hdep" alt=""/></div> <map name="zypp_2Bit_8hdep" id="zypp_2Bit_8hdep"> <area shape="rect" title=" " alt="" coords="586,5,670,32"/> <area shape="rect" href="Arch_8cc.html" title=" " alt="" coords="415,87,513,114"/> <area shape="rect" href="ParseDefTraits_8h.html" title=" " alt="" coords="538,80,718,121"/> <area shape="rect" href="ResStatus_8h.html" title=" " alt="" coords="886,87,1013,114"/> <area shape="rect" href="ParseDef_8h.html" title=" " alt="" coords="439,169,631,196"/> <area shape="rect" href="ProductFileReader_8cc.html" title=" " alt="" coords="421,251,648,278"/> <area shape="rect" href="Parse_8h.html" title=" " alt="" coords="5,251,176,278"/> <area shape="rect" href="ParseDef_8cc.html" title=" " alt="" coords="201,251,397,278"/> <area shape="rect" href="SysContent_8cc.html" title=" " alt="" coords="668,341,809,367"/> <area shape="rect" href="PoolItem_8h.html" title=" " alt="" coords="2339,169,2461,196"/> <area shape="rect" href="SATResolver_8cc.html" title=" " alt="" coords="2053,497,2184,539"/> <area shape="rect" href="ResStatus_8cc.html" title=" " alt="" coords="936,169,1067,196"/> <area shape="rect" href="Filter_8h.html" title=" " alt="" coords="2356,341,2455,367"/> <area shape="rect" href="ResFilters_8h.html" title=" " alt="" coords="2139,423,2266,449"/> <area shape="rect" href="TargetImpl_8cc.html" title=" " alt="" coords="1875,594,2056,621"/> <area shape="rect" href="ResPool_8h.html" title=" " alt="" coords="2595,423,2712,449"/> <area shape="rect" href="PoolItem_8cc.html" title=" " alt="" coords="2554,505,2681,531"/> <area shape="rect" href="Resolver_8h.html" title=" " alt="" coords="2915,505,3034,531"/> <area shape="rect" href="HistoryLog_8cc.html" title=" " alt="" coords="2331,251,2469,278"/> <area shape="rect" href="InstanceId_8h.html" title=" " alt="" coords="2672,341,2803,367"/> <area shape="rect" href="Locks_8cc.html" title=" " alt="" coords="2646,251,2751,278"/> <area shape="rect" href="ByIdent_8h.html" title=" " alt="" coords="2928,251,3075,278"/> <area shape="rect" href="PoolTraits_8h.html" title=" " alt="" coords="2899,341,3061,367"/> <area shape="rect" href="TargetImpl_8h.html" title=" " alt="" coords="3245,505,3422,531"/> <area shape="rect" href="ZYppImpl_8cc.html" title=" " alt="" coords="3313,594,3519,621"/> <area shape="rect" href="SelectableTraits_8h.html" title=" " alt="" coords="3573,341,3752,367"/> <area shape="rect" href="PoolItemBest_8h.html" title=" " alt="" coords="3398,341,3549,367"/> <area shape="rect" href="PoolQueryResult_8h.html" title=" " alt="" coords="3099,251,3269,278"/> <area shape="rect" href="Product_8cc.html" title=" " alt="" coords="987,251,1106,278"/> <area shape="rect" href="Resolvable_8cc.html" title=" " alt="" coords="1130,251,1267,278"/> <area shape="rect" href="sat_2detail_2PoolImpl_8cc.html" title=" " alt="" coords="1292,251,1481,278"/> <area shape="rect" href="Transaction_8h.html" title=" " alt="" coords="1902,423,2063,449"/> <area shape="rect" href="ZYppCommitResult_8h.html" title=" " alt="" coords="1741,505,1928,531"/> <area shape="rect" href="WhatObsoletes_8cc.html" title=" " alt="" coords="1505,251,1695,278"/> <area shape="rect" href="SolverQueueItemLock_8h.html" title=" " alt="" coords="1719,244,1891,285"/> <area shape="rect" href="SolverQueueItemUpdate_8h.html" title=" " alt="" coords="1915,244,2103,285"/> <area shape="rect" href="SysContent_8h.html" title=" " alt="" coords="723,251,861,278"/> <area shape="rect" href="CommitPackageCache_8h.html" title=" " alt="" coords="1042,333,1238,375"/> <area shape="rect" href="Pattern_8cc.html" title=" " alt="" coords="2414,505,2530,531"/> <area shape="rect" href="LocaleSupport_8h.html" title=" " alt="" coords="2341,423,2520,449"/> <area shape="rect" href="solver_2detail_2Resolver_8cc.html" title=" " alt="" coords="2259,497,2389,539"/> <area shape="rect" href="InstanceId_8cc.html" title=" " alt="" coords="2757,505,2891,531"/> <area shape="rect" href="SelectableImpl_8h.html" title=" " alt="" coords="2785,594,2959,621"/> <area shape="rect" href="Resolver_8cc.html" title=" " alt="" coords="2308,594,2431,621"/> <area shape="rect" href="SolverQueueItemDelete_8cc.html" title=" " alt="" coords="2983,587,3171,628"/> <area shape="rect" href="pool_2PoolImpl_8h.html" title=" " alt="" coords="3254,423,3410,449"/> <area shape="rect" href="SolvIterMixin_8cc.html" title=" " alt="" coords="2837,423,3011,449"/> <area shape="rect" href="HardLocksFile_8h.html" title=" " alt="" coords="3035,423,3229,449"/> <area shape="rect" href="PoolItemBest_8cc.html" title=" " alt="" coords="3485,423,3640,449"/> <area shape="rect" href="PoolQueryResult_8cc.html" title=" " alt="" coords="3149,341,3323,367"/> </map> </div> </div> <p><a href="Bit_8h_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">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1bit__detail_1_1Gen1Bits.html">zypp::bit::bit_detail::Gen1Bits< TInt, _size ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Generate constants with <em>_size</em> trailing '1'-bits. <a href="structzypp_1_1bit_1_1bit__detail_1_1Gen1Bits.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1bit__detail_1_1Gen1Bits_3_01TInt_00_010_01_4.html">zypp::bit::bit_detail::Gen1Bits< TInt, 0 ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Specialization for <em>_length</em> 0. <a href="structzypp_1_1bit_1_1bit__detail_1_1Gen1Bits_3_01TInt_00_010_01_4.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1MaxBits.html">zypp::bit::MaxBits< TInt ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Number of bits available in <em>TInt</em>. <a href="structzypp_1_1bit_1_1MaxBits.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1Mask.html">zypp::bit::Mask< TInt, _begin, _size ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A bitmaks of <em>_size</em> 1-bits starting at bit <em>_begin</em>. <a href="structzypp_1_1bit_1_1Mask.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1Range.html">zypp::bit::Range< TInt, _begin, _size ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structzypp_1_1bit_1_1Range.html" title="Range of bits starting at bit _begin with length _size.">Range</a> of bits starting at bit <em>_begin</em> with length <em>_size</em>. <a href="structzypp_1_1bit_1_1Range.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1Range_3_01TInt_00_01__begin_00_010_01_4.html">zypp::bit::Range< TInt, _begin, 0 ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structzypp_1_1bit_1_1Range.html" title="Range of bits starting at bit _begin with length _size.">Range</a> specialisation for (illegal) zero <em>_size</em>. <a href="structzypp_1_1bit_1_1Range_3_01TInt_00_01__begin_00_010_01_4.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1RangeValue.html">zypp::bit::RangeValue< TRange, _value ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A value with in a <a class="el" href="structzypp_1_1bit_1_1Range.html" title="Range of bits starting at bit _begin with length _size.">Range</a>. <a href="structzypp_1_1bit_1_1RangeValue.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1RangeBit.html">zypp::bit::RangeBit< TRange, _pos ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A single 1-bit within a <a class="el" href="structzypp_1_1bit_1_1Range.html" title="Range of bits starting at bit _begin with length _size.">Range</a>. <a href="structzypp_1_1bit_1_1RangeBit.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </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_1bit_1_1BitField.html">zypp::bit::BitField< TInt ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An integral type used as <a class="el" href="classzypp_1_1bit_1_1BitField.html" title="An integral type used as BitField.">BitField</a>. <a href="classzypp_1_1bit_1_1BitField.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> <tr class="memitem:namespacezypp_1_1bit"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1bit.html">zypp::bit</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespacezypp_1_1bit_1_1bit__detail"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1bit_1_1bit__detail.html">zypp::bit::bit_detail</a></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="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a13e4d66a4f3312f90a6b8b245029e743"><td class="memTemplParams" colspan="2">template<class TInt > </td></tr> <tr class="memitem:a13e4d66a4f3312f90a6b8b245029e743"><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1bit.html#a13e4d66a4f3312f90a6b8b245029e743">zypp::bit::asString</a> (TInt val, char zero='0', char one='1')</td></tr> <tr class="memdesc:a13e4d66a4f3312f90a6b8b245029e743"><td class="mdescLeft"> </td><td class="mdescRight">For printing bits. <a href="namespacezypp_1_1bit.html#a13e4d66a4f3312f90a6b8b245029e743">More...</a><br /></td></tr> <tr class="separator:a13e4d66a4f3312f90a6b8b245029e743"><td class="memSeparator" colspan="2"> </td></tr> </table> </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="Bit_8h.html">Bit.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>