util::BitsMask Struct Reference

#include <bit_packing.hh>

List of all members.

Public Member Functions

void FromMax (uint64_t max_value)

Static Public Member Functions

static BitsMask ByMax (uint64_t max_value)
static BitsMask ByBits (uint8_t bits)

Public Attributes

uint8_t bits
uint64_t mask


Detailed Description

Definition at line 156 of file bit_packing.hh.


Member Function Documentation

static BitsMask util::BitsMask::ByBits ( uint8_t  bits  )  [inline, static]

Definition at line 162 of file bit_packing.hh.

References bits, and mask.

static BitsMask util::BitsMask::ByMax ( uint64_t  max_value  )  [inline, static]

Definition at line 157 of file bit_packing.hh.

References FromMax().

Here is the call graph for this function:

void util::BitsMask::FromMax ( uint64_t  max_value  )  [inline]

Definition at line 168 of file bit_packing.hh.

References bits, mask, and util::RequiredBits().

Referenced by ByMax().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


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

Generated on Thu Jul 6 00:34:49 2017 for Moses by  doxygen 1.5.9