Bitmask of Feature flags.
More...
#include <StormByte/multimedia/features.hxx>
Bitmask of Feature flags.
- Note
- Stores only enum flags and a Bitmask vtable, with no owning heap state. Conditional DLL safety requires a compatible compiler, standard-library ABI and provider layout, with the multimedia provider loaded during use.
◆ Features() [1/4]
| StormByte::Multimedia::Features::Features |
( |
| ) |
|
|
inlineconstexprnoexcept |
Constructs an empty allocation-free mask.
◆ Features() [2/4]
| StormByte::Multimedia::Features::Features |
( |
Feature | feature | ) |
|
|
inlineconstexprnoexcept |
Constructs an allocation-free mask from feature flags.
- Parameters
-
| feature | Initial flags; implicit conversion preserves Bitmask behavior. |
◆ Features() [3/4]
| StormByte::Multimedia::Features::Features |
( |
const Features & | other | ) |
|
|
constexprdefaultnoexcept |
Copy constructor for the allocation-free mask.
- Parameters
-
◆ Features() [4/4]
| StormByte::Multimedia::Features::Features |
( |
Features && | other | ) |
|
|
constexprdefaultnoexcept |
Move constructor for the allocation-free mask.
- Parameters
-
◆ ~Features()
| StormByte::Multimedia::Features::~Features |
( |
| ) |
|
|
constexproverridedefaultnoexcept |
Destroys the allocation-free mask.
◆ operator Safe::String()
| StormByte::Multimedia::Features::operator Safe::String |
( |
| ) |
const |
|
noexcept |
Enabled flags as Base-owned "A | B | C" text.
- Returns
- Safe string, empty when no flag is set.
◆ operator=() [1/2]
Copies the enum flags.
- Parameters
-
- Returns
- This mask.
◆ operator=() [2/2]
Moves the enum flags.
- Parameters
-
- Returns
- This mask.
The documentation for this class was generated from the following file: