Castor3D 0.16.0
Multiplatform 3D engine
|
Template class providing implicit conversion from a scoped enum to its integral base type. More...
#include <FlagCombination.hpp>
Public Types | |
using | BaseType = typename std::underlying_type< FlagType >::type |
The basic integer type. | |
Public Member Functions | |
Construction. | |
constexpr | FlagCombination (FlagType value) noexcept |
constexpr | FlagCombination (BaseType value=BaseType{}) noexcept |
Casting. | |
constexpr | operator BaseType const & () const noexcept |
constexpr BaseType | value () const noexcept |
Iteration. | |
constexpr FlagIterator< FlagType > | begin () const noexcept |
constexpr FlagIterator< FlagType > | end () const noexcept |
constexpr size_t | size () const noexcept |
constexpr bool | empty () const noexcept |
Binary operators. | |
constexpr FlagCombination & | operator&= (BaseType rhs) noexcept |
constexpr FlagCombination & | operator|= (BaseType rhs) noexcept |
constexpr FlagCombination & | operator^= (BaseType rhs) noexcept |
constexpr FlagCombination & | operator&= (FlagType rhs) noexcept |
constexpr FlagCombination & | operator|= (FlagType rhs) noexcept |
constexpr FlagCombination & | operator^= (FlagType rhs) noexcept |
constexpr FlagCombination & | operator&= (FlagCombination< FlagType > const &rhs) noexcept |
constexpr FlagCombination & | operator|= (FlagCombination< FlagType > const &rhs) noexcept |
constexpr FlagCombination & | operator^= (FlagCombination< FlagType > const &rhs) noexcept |
constexpr FlagCombination & | operator~ () noexcept |
Template class providing implicit conversion from a scoped enum to its integral base type.
using castor::FlagCombination< FlagType >::BaseType = typename std::underlying_type< FlagType >::type |
The basic integer type.
|
inlineconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
Referenced by castor::FlagCombination< FlagType >::size().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Referenced by castor::FlagCombination< FlagType >::size().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
References castor::FlagCombination< FlagType >::begin(), and castor::FlagCombination< FlagType >::end().
|
inlineconstexprnoexcept |
Referenced by castor::FlagCombination< FlagType >::empty(), and castor::FlagCombination< FlagType >::FlagCombination().