OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
OSCR::Util::bitset Class Reference

Classes

class  reference

Public Member Functions

constexpr bitset (uint8_t size) noexcept
constexpr bitset (uint8_t size, BitsetType val) noexcept
bitsetoperator&= (bitset const &rhs) noexcept
bitsetoperator|= (bitset const &rhs) noexcept
bitsetoperator^= (bitset const &rhs) noexcept
bitsetoperator<<= (size_t shift) noexcept
bitsetoperator>>= (size_t shift) noexcept
bitset operator<< (size_t shift) const noexcept
bitset operator>> (size_t shift) const noexcept
bitsetset () noexcept
bitsetset (size_t __position, bool val=true)
bitsetreset () noexcept
bitsetreset (size_t __position)
constexpr bitset operator~ () const noexcept
bitsetflip () noexcept
bitsetflip (size_t __position)
constexpr bool operator[] (size_t __position) const
reference operator[] (size_t __position)
size_t count () const noexcept
constexpr size_t size () const noexcept
constexpr bool operator== (bitset const &rhs) const noexcept
constexpr bool test (size_t __position) const
bool all () const noexcept
constexpr bool any () const noexcept
constexpr bool none () const noexcept

Protected Attributes

uint8_t width = 0
BitsetType bits = 0

Friends

class reference

The documentation for this class was generated from the following file:
  • C:/Developer/Projects/OSCR/oscr-firmware/include/common/Util.h