1.10 |
Alignment flags. More...
#include <widgetflags.h>
Public Member Functions | |
constexpr | AlignFlags (const BitFields< AlignFlag > &base) |
constexpr | AlignFlags (const ExpandBitField &field) |
constexpr | AlignFlags (const HExpandBitField &field) |
constexpr | AlignFlags (const HorizontalBitField &field) |
constexpr | AlignFlags (const HVBitField &field) |
constexpr | AlignFlags (const VerticalBitField &field) |
constexpr | AlignFlags (const VExpandBitField &field) |
Public Member Functions inherited from BitFields< AlignFlag > | |
constexpr | BitFields () noexcept=default |
constexpr | BitFields () noexcept=default |
BitFields (BitFields &&) noexcept=default | |
BitFields (BitFields &&) noexcept=default | |
constexpr | BitFields (const AlignFlag &field) |
constexpr | BitFields (const AlignFlag &field) |
constexpr | BitFields (const BitFields &rhs) noexcept |
Copy constructor. | |
constexpr | BitFields (const BitFields &rhs) noexcept |
Copy constructor. | |
BitFields (const char *str) | |
BitFields (const char *str) | |
BitFields (const std::string &str) | |
BitFields (const std::string &str) | |
~BitFields () noexcept=default | |
~BitFields () noexcept=default | |
bool | clear () |
Clear all bit-fields. | |
bool | clear () |
Clear all bit-fields. | |
bool | clear (const AlignFlag &field) |
Clear a single bit-field. | |
bool | clear (const AlignFlag &field) |
Clear a single bit-field. | |
bool | empty () const |
bool | empty () const |
void | from_string (const std::string &str) |
Convert from string. | |
void | from_string (const std::string &str) |
Convert from string. | |
EGT_NODISCARD constexpr bool | is_set (const AlignFlag &field) const noexcept |
EGT_NODISCARD constexpr bool | is_set (const AlignFlag &field) const noexcept |
bool | operator!= (const BitFields &rhs) const |
bool | operator!= (const BitFields &rhs) const |
BitFields & | operator= (BitFields &&) noexcept=default |
BitFields & | operator= (BitFields &&) noexcept=default |
BitFields & | operator= (const BitFields &rhs) |
Assignment operator. | |
BitFields & | operator= (const BitFields &rhs) |
Assignment operator. | |
bool | operator== (const BitFields &rhs) const |
bool | operator== (const BitFields &rhs) const |
constexpr BitFields< AlignFlag > | operator| (const AlignFlag &field) const noexcept |
Or operator. | |
constexpr BitFields< AlignFlag > | operator| (const AlignFlag &field) const noexcept |
Or operator. | |
bool | set (const AlignFlag &field) |
Set a single bit-field. | |
bool | set (const AlignFlag &field) |
Set a single bit-field. | |
EGT_NODISCARD std::string | to_string () const |
Convert the bit-fields to strings. | |
EGT_NODISCARD std::string | to_string () const |
Convert the bit-fields to strings. | |
Additional Inherited Members | |
Public Attributes inherited from BitFields< AlignFlag > | |
Signal | on_change |
Event signal. | |
Signal | on_change |
Event signal. | |
Static Public Attributes inherited from BitFields< AlignFlag > | |
static constexpr const char | BITFIELDS_DELIMITER |
Delimiter used to separate bit-fields in string representation. | |
static constexpr const char | BITFIELDS_DELIMITER |
Delimiter used to separate bit-fields in string representation. | |
Protected Member Functions inherited from BitFields< AlignFlag > | |
bool | update (uint32_t new_word) |
bool | update (uint32_t new_word) |
Protected Attributes inherited from BitFields< AlignFlag > | |
uint32_t | m_word |
uint32_t | m_word |
Alignment flags.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |