Skip to content

Class muda::Flags

template <typename BitType>

ClassList > muda > Flags

Public Types

Type Name
typedef BitType bit_type
typedef typename ::std::underlying_type< bit_type >::type mask_type

Public Functions

Type Name
MUDA_GENERIC MUDA_CONSTEXPR Flags ()
MUDA_GENERIC MUDA_CONSTEXPR Flags (BitType bit)
MUDA_GENERIC MUDA_CONSTEXPR Flags (Flags< BitType > const & rhs)
MUDA_GENERIC MUDA_CONSTEXPR Flags (mask_type flags)
MUDA_GENERIC MUDA_CONSTEXPR bool has (BitType bit) const
MUDA_GENERIC MUDA_CONSTEXPR operator bool () const
MUDA_GENERIC MUDA_CONSTEXPR operator mask_type () const
MUDA_GENERIC MUDA_CONSTEXPR bool operator! () const
MUDA_GENERIC MUDA_CONSTEXPR bool operator!= (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > operator& (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > & operator&= (Flags< BitType > const & rhs)
MUDA_GENERIC MUDA_CONSTEXPR bool operator< (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR bool operator<= (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > & operator= (Flags< BitType > const & rhs)
MUDA_GENERIC MUDA_CONSTEXPR bool operator== (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR bool operator> (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR bool operator>= (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > operator^ (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > & operator^= (Flags< BitType > const & rhs)
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > operator| (Flags< BitType > const & rhs) const
MUDA_GENERIC MUDA_CONSTEXPR Flags< BitType > & operator|= (Flags< BitType > const & rhs)

Public Types Documentation

typedef bit_type

using muda::Flags< BitType >::bit_type =  BitType;

typedef mask_type

using muda::Flags< BitType >::mask_type =  typename ::std::underlying_type<bit_type>::type;

Public Functions Documentation

function Flags [1/4]

inline MUDA_GENERIC MUDA_CONSTEXPR muda::Flags::Flags () 

function Flags [2/4]

inline MUDA_GENERIC MUDA_CONSTEXPR muda::Flags::Flags (
    BitType bit
) 

function Flags [3/4]

MUDA_GENERIC MUDA_CONSTEXPR muda::Flags::Flags (
    Flags < BitType > const & rhs
) 

function Flags [4/4]

inline explicit MUDA_GENERIC MUDA_CONSTEXPR muda::Flags::Flags (
    mask_type flags
) 

function has

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::has (
    BitType bit
) const

function operator bool

inline explicit MUDA_GENERIC MUDA_CONSTEXPR muda::Flags::operator bool () const

function operator mask_type

inline explicit MUDA_GENERIC MUDA_CONSTEXPR muda::Flags::operator mask_type () const

function operator!

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator! () const

function operator!=

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator!= (
    Flags < BitType > const & rhs
) const

function operator&

inline MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > muda::Flags::operator& (
    Flags < BitType > const & rhs
) const

function operator&=

inline MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > & muda::Flags::operator&= (
    Flags < BitType > const & rhs
) 

function operator<

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator< (
    Flags < BitType > const & rhs
) const

function operator<=

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator<= (
    Flags < BitType > const & rhs
) const

function operator=

MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > & muda::Flags::operator= (
    Flags < BitType > const & rhs
) 

function operator==

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator== (
    Flags < BitType > const & rhs
) const

function operator>

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator> (
    Flags < BitType > const & rhs
) const

function operator>=

inline MUDA_GENERIC MUDA_CONSTEXPR bool muda::Flags::operator>= (
    Flags < BitType > const & rhs
) const

function operator^

inline MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > muda::Flags::operator^ (
    Flags < BitType > const & rhs
) const

function operator^=

inline MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > & muda::Flags::operator^= (
    Flags < BitType > const & rhs
) 

function operator|

inline MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > muda::Flags::operator| (
    Flags < BitType > const & rhs
) const

function operator|=

inline MUDA_GENERIC MUDA_CONSTEXPR Flags < BitType > & muda::Flags::operator|= (
    Flags < BitType > const & rhs
) 


The documentation for this class was generated from the following file src/muda/tools/flag.h