libzypp  13.10.6
zypp::bit::RangeValue< _Range, _value > Struct Template Reference

A value with in a Range. More...

#include <Bit.h>

Public Types

typedef _Range RangeT
 
typedef _Range::IntT IntT
 

Static Public Attributes

static const IntT value = _value << RangeT::begin
 

Detailed Description

template<class _Range, typename _Range::IntT _value>
struct zypp::bit::RangeValue< _Range, _value >

A value with in a Range.

* typedef Range<char,2,3> SubField; // bits 2,3,4 in a char field
* SubField::Mask::value; // 00011100
* RangeValue<SubField,0>::value; // 00000000
* RangeValue<SubField,1>::value; // 00000100
* RangeValue<SubField,2>::value; // 00001000
* RangeValue<SubField,3>::value; // 00001100
*

Definition at line 110 of file Bit.h.

Member Typedef Documentation

template<class _Range , typename _Range::IntT _value>
typedef _Range zypp::bit::RangeValue< _Range, _value >::RangeT

Definition at line 112 of file Bit.h.

template<class _Range , typename _Range::IntT _value>
typedef _Range::IntT zypp::bit::RangeValue< _Range, _value >::IntT

Definition at line 113 of file Bit.h.

Member Data Documentation

template<class _Range , typename _Range::IntT _value>
const IntT zypp::bit::RangeValue< _Range, _value >::value = _value << RangeT::begin
static

Definition at line 115 of file Bit.h.


The documentation for this struct was generated from the following file: