libzypp  17.14.0
zypp::bit::RangeValue< TRange, _value > Struct Template Reference

A value with in a Range. More...

#include <Bit.h>

Public Types

typedef TRange RangeT
 
typedef TRange::IntT IntT
 

Static Public Attributes

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

Detailed Description

template<class TRange, typename TRange::IntT _value>
struct zypp::bit::RangeValue< TRange, _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

Definition at line 110 of file Bit.h.

Member Typedef Documentation

◆ RangeT

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

Definition at line 112 of file Bit.h.

◆ IntT

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

Definition at line 113 of file Bit.h.

Member Data Documentation

◆ value

template<class TRange , typename TRange::IntT _value>
const IntT zypp::bit::RangeValue< TRange, _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: