libzypp  10.5.0
Bit.h File Reference
#include <iosfwd>
#include <string>
#include "zypp/base/SafeBool.h"
Include dependency graph for Bit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zypp::bit::bit_detail::Gen1Bits< _IntT, _size >
 Generate constants with _size trailing '1'-bits. More...
struct  zypp::bit::bit_detail::Gen1Bits< _IntT, 0 >
 Specialization for _length 0. More...
struct  zypp::bit::MaxBits< _IntT >
 Number of bits available in _IntT. More...
struct  zypp::bit::Mask< _IntT, _begin, _size >
 A bitmaks of _size 1-bits starting at bit _begin. More...
struct  zypp::bit::Range< _IntT, _begin, _size >
 Range of bits starting at bit _begin with length _size. More...
struct  zypp::bit::Range< _IntT, _begin, 0 >
 Range specialisation for (illegal) zero _size. More...
struct  zypp::bit::RangeValue< _Range, _value >
 A value with in a Range. More...
struct  zypp::bit::RangeBit< _Range, _pos >
 A single 1-bit within a Range. More...
class  zypp::bit::BitField< _IntT >
 An integral type used as BitField. More...

Namespaces

namespace  zypp
 

Easy-to use interface to the ZYPP dependency resolver.


namespace  zypp::bit
namespace  zypp::bit::bit_detail

Functions

template<class _IntT >
std::string zypp::bit::asString (_IntT val, char zero= '0', char one= '1')
 For printing bits.

Detailed Description

Definition in file Bit.h.