<!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::RangeValue< TRange, _value > Struct Template 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('structzypp_1_1bit_1_1RangeValue.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-static-attribs">Static Public Attributes</a> | <a href="structzypp_1_1bit_1_1RangeValue-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::bit::RangeValue< TRange, _value > Struct Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>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></p> <p><code>#include <<a class="el" href="Bit_8h_source.html">Bit.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a98b89bb7ce027ba5186f88fbbd7b67f1"><td class="memItemLeft" align="right" valign="top">typedef TRange </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1RangeValue.html#a98b89bb7ce027ba5186f88fbbd7b67f1">RangeT</a></td></tr> <tr class="separator:a98b89bb7ce027ba5186f88fbbd7b67f1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adfba5bc0c1e3b2defe1bf9efc3bb276d"><td class="memItemLeft" align="right" valign="top">typedef TRange::IntT </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1RangeValue.html#adfba5bc0c1e3b2defe1bf9efc3bb276d">IntT</a></td></tr> <tr class="separator:adfba5bc0c1e3b2defe1bf9efc3bb276d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a> Static Public Attributes</h2></td></tr> <tr class="memitem:a27a4ebf38e21e5ca970538c5fe31efba"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="structzypp_1_1bit_1_1RangeValue.html#adfba5bc0c1e3b2defe1bf9efc3bb276d">IntT</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1bit_1_1RangeValue.html#a27a4ebf38e21e5ca970538c5fe31efba">value</a> = <a class="el" href="SysContent_8cc.html#a5566eab00fc081a74f536939218937ad">_value</a> << RangeT::begin</td></tr> <tr class="separator:a27a4ebf38e21e5ca970538c5fe31efba"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class TRange, typename TRange::IntT _value><br /> struct zypp::bit::RangeValue< TRange, _value ></h3> <p>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>. </p> <div class="fragment"><div class="line"><span class="keyword">typedef</span> Range<char,2,3> SubField; <span class="comment">// bits 2,3,4 in a char field</span></div><div class="line">SubField::Mask::value; <span class="comment">// 00011100</span></div><div class="line"><a class="code" href="structzypp_1_1bit_1_1RangeValue.html#a27a4ebf38e21e5ca970538c5fe31efba">RangeValue<SubField,0>::value</a>; <span class="comment">// 00000000</span></div><div class="line"><a class="code" href="structzypp_1_1bit_1_1RangeValue.html#a27a4ebf38e21e5ca970538c5fe31efba">RangeValue<SubField,1>::value</a>; <span class="comment">// 00000100</span></div><div class="line"><a class="code" href="structzypp_1_1bit_1_1RangeValue.html#a27a4ebf38e21e5ca970538c5fe31efba">RangeValue<SubField,2>::value</a>; <span class="comment">// 00001000</span></div><div class="line"><a class="code" href="structzypp_1_1bit_1_1RangeValue.html#a27a4ebf38e21e5ca970538c5fe31efba">RangeValue<SubField,3>::value</a>; <span class="comment">// 00001100</span></div></div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="Bit_8h_source.html#l00110">110</a> of file <a class="el" href="Bit_8h_source.html">Bit.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="a98b89bb7ce027ba5186f88fbbd7b67f1"></a> <h2 class="memtitle"><span class="permalink"><a href="#a98b89bb7ce027ba5186f88fbbd7b67f1">◆ </a></span>RangeT</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TRange , typename TRange::IntT _value> </div> <table class="memname"> <tr> <td class="memname">typedef TRange <a class="el" href="structzypp_1_1bit_1_1RangeValue.html">zypp::bit::RangeValue</a>< TRange, <a class="el" href="SysContent_8cc.html#a5566eab00fc081a74f536939218937ad">_value</a> >::<a class="el" href="structzypp_1_1bit_1_1RangeValue.html#a98b89bb7ce027ba5186f88fbbd7b67f1">RangeT</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Bit_8h_source.html#l00112">112</a> of file <a class="el" href="Bit_8h_source.html">Bit.h</a>.</p> </div> </div> <a id="adfba5bc0c1e3b2defe1bf9efc3bb276d"></a> <h2 class="memtitle"><span class="permalink"><a href="#adfba5bc0c1e3b2defe1bf9efc3bb276d">◆ </a></span>IntT</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TRange , typename TRange::IntT _value> </div> <table class="memname"> <tr> <td class="memname">typedef TRange::IntT <a class="el" href="structzypp_1_1bit_1_1RangeValue.html">zypp::bit::RangeValue</a>< TRange, <a class="el" href="SysContent_8cc.html#a5566eab00fc081a74f536939218937ad">_value</a> >::<a class="el" href="structzypp_1_1bit_1_1RangeValue.html#adfba5bc0c1e3b2defe1bf9efc3bb276d">IntT</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Bit_8h_source.html#l00113">113</a> of file <a class="el" href="Bit_8h_source.html">Bit.h</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a27a4ebf38e21e5ca970538c5fe31efba"></a> <h2 class="memtitle"><span class="permalink"><a href="#a27a4ebf38e21e5ca970538c5fe31efba">◆ </a></span>value</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TRange , typename TRange::IntT _value> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structzypp_1_1bit_1_1RangeValue.html#adfba5bc0c1e3b2defe1bf9efc3bb276d">IntT</a> <a class="el" href="structzypp_1_1bit_1_1RangeValue.html">zypp::bit::RangeValue</a>< TRange, <a class="el" href="SysContent_8cc.html#a5566eab00fc081a74f536939218937ad">_value</a> >::value = <a class="el" href="SysContent_8cc.html#a5566eab00fc081a74f536939218937ad">_value</a> << RangeT::begin</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Bit_8h_source.html#l00115">115</a> of file <a class="el" href="Bit_8h_source.html">Bit.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>zypp/<a class="el" href="Bit_8h_source.html">Bit.h</a></li> </ul> </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="namespacezypp.html">zypp</a></li><li class="navelem"><a class="el" href="namespacezypp_1_1bit.html">bit</a></li><li class="navelem"><a class="el" href="structzypp_1_1bit_1_1RangeValue.html">RangeValue</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>