6#ifndef QSK_STATE_COMBINATION_H
7#define QSK_STATE_COMBINATION_H
27 constexpr bool isNull()
const noexcept;
29 void setType( Type )
noexcept;
30 constexpr Type type()
const noexcept;
32 void setStates( QskAspect::States )
noexcept;
34 constexpr QskAspect::States states()
const noexcept;
38 QskAspect::States m_states;
43constexpr inline QskStateCombination::QskStateCombination(
49constexpr inline QskStateCombination::QskStateCombination(
50 QskAspect::States states ) noexcept
55constexpr inline QskStateCombination::QskStateCombination(
56 Type type, QskAspect::States states ) noexcept
62constexpr bool QskStateCombination::isNull() const noexcept
64 return ( m_type == Combination ) && ( m_states == QskAspect::States() );
67inline void QskStateCombination::setType( Type type )
noexcept
72constexpr inline QskStateCombination::Type QskStateCombination::type() const noexcept
77inline void QskStateCombination::setStates( QskAspect::States states )
noexcept
82inline void QskStateCombination::setState(
QskAspect::State state,
bool on )
noexcept
90constexpr inline QskAspect::States QskStateCombination::states() const noexcept
97 return ( m_type == other.m_type ) && ( m_states == other.m_states );
102 return !( *
this == other );