libzypp  17.14.0
zypp::bit::RangeBit< TRange, _pos > Struct Template Reference

A single 1-bit within a Range. More...

#include <Bit.h>

Public Types

typedef TRange RangeT
 
typedef TRange::IntT IntT
 

Static Public Attributes

static const IntT value = IntT(1) << (RangeT::begin + _pos)
 

Detailed Description

template<class TRange, unsigned _pos>
struct zypp::bit::RangeBit< TRange, _pos >

A single 1-bit within a Range.

typedef Range<char,2,3> SubField; // bits 2,3,4 in a char field
SubField::Mask::value; // 00011100

Definition at line 128 of file Bit.h.

Member Typedef Documentation

◆ RangeT

template<class TRange , unsigned _pos>
typedef TRange zypp::bit::RangeBit< TRange, _pos >::RangeT

Definition at line 130 of file Bit.h.

◆ IntT

template<class TRange , unsigned _pos>
typedef TRange::IntT zypp::bit::RangeBit< TRange, _pos >::IntT

Definition at line 131 of file Bit.h.

Member Data Documentation

◆ value

template<class TRange , unsigned _pos>
const IntT zypp::bit::RangeBit< TRange, _pos >::value = IntT(1) << (RangeT::begin + _pos)
static

Definition at line 133 of file Bit.h.


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