1.10
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
BitField Class Reference

#include <bitfields.h>

Inheritance diagram for BitField:
Inheritance graph
[legend]

Public Member Functions

constexpr bool operator== (const BitField &rhs) const noexcept
 
constexpr BitField operator| (const BitField &rhs) const noexcept
 

Protected Member Functions

constexpr BitField (uint32_t bit) noexcept
 
constexpr BitField (uint32_t mask, uint32_t value) noexcept
 

Protected Attributes

uint32_t m_mask
 
uint32_t m_value
 

Friends

template<class T >
class BitFields
 

Constructor & Destructor Documentation

◆ BitField() [1/2]

constexpr BitField ( uint32_t  mask,
uint32_t  value 
)
inlineconstexprprotectednoexcept

◆ BitField() [2/2]

constexpr BitField ( uint32_t  bit)
inlineconstexprprotectednoexcept

Member Function Documentation

◆ operator==()

constexpr bool operator== ( const BitField rhs) const
inlineconstexprnoexcept

◆ operator|()

constexpr BitField operator| ( const BitField rhs) const
inlineconstexprnoexcept

Friends And Related Symbol Documentation

◆ BitFields

template<class T >
friend class BitFields
friend

Member Data Documentation

◆ m_mask

uint32_t m_mask
protected

◆ m_value

uint32_t m_value
protected