1.10
Public Member Functions | List of all members
AlignFlags Class Reference

Alignment flags. More...

#include <widgetflags.h>

Inheritance diagram for AlignFlags:
Inheritance graph
[legend]

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
 
BitFieldsoperator= (BitFields &&) noexcept=default
 
BitFieldsoperator= (BitFields &&) noexcept=default
 
BitFieldsoperator= (const BitFields &rhs)
 Assignment operator.
 
BitFieldsoperator= (const BitFields &rhs)
 Assignment operator.
 
bool operator== (const BitFields &rhs) const
 
bool operator== (const BitFields &rhs) const
 
constexpr BitFields< AlignFlagoperator| (const AlignFlag &field) const noexcept
 Or operator.
 
constexpr BitFields< AlignFlagoperator| (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
 

Detailed Description

Alignment flags.

Constructor & Destructor Documentation

◆ AlignFlags() [1/7]

constexpr AlignFlags ( const HorizontalBitField field)
inlineconstexpr

◆ AlignFlags() [2/7]

constexpr AlignFlags ( const VerticalBitField field)
inlineconstexpr

◆ AlignFlags() [3/7]

constexpr AlignFlags ( const ExpandBitField field)
inlineconstexpr

◆ AlignFlags() [4/7]

constexpr AlignFlags ( const HVBitField field)
inlineconstexpr

◆ AlignFlags() [5/7]

constexpr AlignFlags ( const HExpandBitField field)
inlineconstexpr

◆ AlignFlags() [6/7]

constexpr AlignFlags ( const VExpandBitField field)
inlineconstexpr

◆ AlignFlags() [7/7]

constexpr AlignFlags ( const BitFields< AlignFlag > &  base)
inlineconstexpr