StormByte-System 2.0.0
C++26 process and environment module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::System::Device::Access Class Reference

Bitmask of AccessFlag. More...

#include <StormByte/system/device.hxx>

Inheritance diagram for StormByte::System::Device::Access:
Collaboration diagram for StormByte::System::Device::Access:

Public Member Functions

constexpr Bitmask () noexcept
 
constexpr Bitmask (E value) noexcept
 
constexpr Bitmask (const Bitmask &other) noexcept=default
 
constexpr Bitmask (Bitmask &&other) noexcept=default
 
- Public Member Functions inherited from StormByte::Bitmask< Access, AccessFlag >
constexpr Bitmask () noexcept
 
constexpr Bitmask (E value) noexcept
 
constexpr Bitmask (const Bitmask &other) noexcept=default
 
constexpr Bitmask (Bitmask &&other) noexcept=default
 
virtual constexpr ~Bitmask () noexcept=default
 
constexpr Bitmask & operator= (const Bitmask &other) noexcept=default
 
constexpr Bitmask & operator= (Bitmask &&other) noexcept=default
 
constexpr bool operator== (const Bitmask &other) const noexcept
 
constexpr bool operator!= (const Bitmask &other) const noexcept
 
constexpr Derived operator| (const Bitmask &other) const noexcept
 
constexpr Derived operator& (const Bitmask &other) const noexcept
 
constexpr Derived operator^ (const Bitmask &other) const noexcept
 
constexpr Derived operator~ () const noexcept
 
constexpr Bitmask & operator|= (const Bitmask &other) noexcept
 
constexpr Bitmask & operator&= (const Bitmask &other) noexcept
 
constexpr Bitmask & operator^= (const Bitmask &other) noexcept
 
constexpr void Add (E value) noexcept
 
constexpr void Remove (E value) noexcept
 
constexpr E Value () const noexcept
 
constexpr bool Has (E value) const noexcept
 
constexpr bool Has (const Bitmask &other) const noexcept
 
constexpr bool HasAny (E value) const noexcept
 
constexpr bool HasAny (const Bitmask &other) const noexcept
 
constexpr bool HasNone (E value) const noexcept
 
constexpr bool HasNone (const Bitmask &other) const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from StormByte::Bitmask< Access, AccessFlag >
E m_value
 

Detailed Description

Member Function Documentation

◆ Bitmask() [1/4]

constexpr StormByte::Bitmask< typename Derived, Type::UnsignedEnum E >::Bitmask ( )

◆ Bitmask() [2/4]

constexpr StormByte::Bitmask< typename Derived, Type::UnsignedEnum E >::Bitmask ( Bitmask &&  other)

◆ Bitmask() [3/4]

constexpr StormByte::Bitmask< typename Derived, Type::UnsignedEnum E >::Bitmask ( const Bitmask &  other)

◆ Bitmask() [4/4]

constexpr StormByte::Bitmask< typename Derived, Type::UnsignedEnum E >::Bitmask ( E  value)

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