All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
sbn::bits::mask_t< EnumType > Struct Template Reference

#include <BeamBits.h>

Public Types

using bits_t = EnumType
 Enumeration type of the bits. More...
 
using maskbits_t = std::underlying_type_t< EnumType >
 Bit data type. More...
 

Public Member Functions

 operator maskbits_t () const
 

Public Attributes

maskbits_t bits { 0 }
 

Detailed Description

template<typename EnumType>
struct sbn::bits::mask_t< EnumType >

Type for bit masks.

Note
This is a glorified integral type.

Definition at line 54 of file BeamBits.h.

Member Typedef Documentation

template<typename EnumType>
using sbn::bits::mask_t< EnumType >::bits_t = EnumType

Enumeration type of the bits.

Definition at line 55 of file BeamBits.h.

template<typename EnumType>
using sbn::bits::mask_t< EnumType >::maskbits_t = std::underlying_type_t<EnumType>

Bit data type.

Definition at line 56 of file BeamBits.h.

Member Function Documentation

template<typename EnumType>
sbn::bits::mask_t< EnumType >::operator maskbits_t ( ) const
inline

Definition at line 58 of file BeamBits.h.

58 { return bits; }
maskbits_t bits
Definition: BeamBits.h:57

Member Data Documentation

template<typename EnumType>
maskbits_t sbn::bits::mask_t< EnumType >::bits { 0 }

Definition at line 57 of file BeamBits.h.


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