libcamera
v0.3.2+188-9fc86dc0
Supporting cameras in Linux since 2019
|
Enum-based bit fields. More...
#include <type_traits>
Go to the source code of this file.
Classes | |
class | libcamera::Flags< E > |
Type-safe container for enum-based bitfields. More... | |
Namespaces | |
libcamera | |
Top-level libcamera namespace. | |
Macros | |
#define | LIBCAMERA_FLAGS_ENABLE_OPERATORS(_enum) |
Enable bitwise operations on the enum enumeration. More... | |
Enum-based bit fields.
#define LIBCAMERA_FLAGS_ENABLE_OPERATORS | ( | _enum | ) |
Enable bitwise operations on the enum enumeration.
This macro enables the bitwise AND, OR, XOR and NOT operators on the given enum. This allows the enum values to be safely used in bitwise operations with the Flags<> class.