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

Alignment flags. More...

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. More...
 
constexpr BitFields (const BitFields &rhs) noexcept
 Copy constructor. More...
 
 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. More...
 
bool clear ()
 Clear all bit-fields. More...
 
bool clear (const AlignFlag &field)
 Clear a single bit-field. More...
 
bool clear (const AlignFlag &field)
 Clear a single bit-field. More...
 
bool empty () const
 
bool empty () const
 
void from_string (const std::string &str)
 Convert from string. More...
 
void from_string (const std::string &str)
 Convert from string. More...
 
constexpr EGT_NODISCARD bool is_set (const AlignFlag &field) const noexcept
 
constexpr EGT_NODISCARD 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. More...
 
BitFieldsoperator= (const BitFields &rhs)
 Assignment operator. More...
 
bool operator== (const BitFields &rhs) const
 
bool operator== (const BitFields &rhs) const
 
constexpr BitFields< AlignFlagoperator| (const AlignFlag &field) const noexcept
 Or operator. More...
 
constexpr BitFields< AlignFlagoperator| (const AlignFlag &field) const noexcept
 Or operator. More...
 
bool set (const AlignFlag &field)
 Set a single bit-field. More...
 
bool set (const AlignFlag &field)
 Set a single bit-field. More...
 
EGT_NODISCARD std::string to_string () const
 Convert the bit-fields to strings. More...
 
EGT_NODISCARD std::string to_string () const
 Convert the bit-fields to strings. More...
 

Additional Inherited Members

- Public Attributes inherited from BitFields< AlignFlag >
Signal on_change
 Event signal. More...
 
Signal on_change
 Event signal. More...
 
- Static Public Attributes inherited from BitFields< AlignFlag >
constexpr static const char BITFIELDS_DELIMITER
 Delimiter used to separate bit-fields in string representation. More...
 
constexpr static const char BITFIELDS_DELIMITER
 Delimiter used to separate bit-fields in string representation. More...
 
- 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