HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Flags< FlagT > Class Template Reference

#include <oidn.hpp>

Public Types

using MaskType = typename std::underlying_type< FlagT >::type
 

Public Member Functions

constexpr Flags () noexcept
 
constexpr Flags (FlagT flag) noexcept
 
constexpr Flags (const Flags &b) noexcept=default
 
constexpr Flags (MaskType mask) noexcept
 
constexpr bool operator! () const noexcept
 
constexpr Flags operator& (const Flags &b) const noexcept
 
constexpr Flags operator| (const Flags &b) const noexcept
 
constexpr Flags operator^ (const Flags &b) const noexcept
 
Flagsoperator= (const Flags &b) noexcept=default
 
Flagsoperator&= (const Flags &b) noexcept
 
Flagsoperator|= (const Flags &b) noexcept
 
Flagsoperator^= (const Flags &b) noexcept
 
constexpr bool operator== (const Flags &b) const noexcept
 
constexpr bool operator!= (const Flags &b) const noexcept
 
constexpr operator bool () const noexcept
 
constexpr operator MaskType () const noexcept
 

Detailed Description

template<typename FlagT>
class Flags< FlagT >

Definition at line 29 of file oidn.hpp.

Member Typedef Documentation

template<typename FlagT>
using Flags< FlagT >::MaskType = typename std::underlying_type<FlagT>::type

Definition at line 34 of file oidn.hpp.

Constructor & Destructor Documentation

template<typename FlagT>
constexpr Flags< FlagT >::Flags ( )
inlinenoexcept

Definition at line 36 of file oidn.hpp.

template<typename FlagT>
constexpr Flags< FlagT >::Flags ( FlagT  flag)
inlinenoexcept

Definition at line 37 of file oidn.hpp.

template<typename FlagT>
constexpr Flags< FlagT >::Flags ( const Flags< FlagT > &  b)
defaultnoexcept
template<typename FlagT>
constexpr Flags< FlagT >::Flags ( MaskType  mask)
inlineexplicitnoexcept

Definition at line 39 of file oidn.hpp.

Member Function Documentation

template<typename FlagT>
constexpr Flags< FlagT >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 70 of file oidn.hpp.

template<typename FlagT>
constexpr Flags< FlagT >::operator MaskType ( ) const
inlineexplicitnoexcept

Definition at line 71 of file oidn.hpp.

template<typename FlagT>
constexpr bool Flags< FlagT >::operator! ( void  ) const
inlinenoexcept

Definition at line 41 of file oidn.hpp.

template<typename FlagT>
constexpr bool Flags< FlagT >::operator!= ( const Flags< FlagT > &  b) const
inlinenoexcept

Definition at line 68 of file oidn.hpp.

template<typename FlagT>
constexpr Flags Flags< FlagT >::operator& ( const Flags< FlagT > &  b) const
inlinenoexcept

Definition at line 43 of file oidn.hpp.

template<typename FlagT>
Flags& Flags< FlagT >::operator&= ( const Flags< FlagT > &  b)
inlinenoexcept

Definition at line 49 of file oidn.hpp.

template<typename FlagT>
Flags& Flags< FlagT >::operator= ( const Flags< FlagT > &  b)
defaultnoexcept
template<typename FlagT>
constexpr bool Flags< FlagT >::operator== ( const Flags< FlagT > &  b) const
inlinenoexcept

Definition at line 67 of file oidn.hpp.

template<typename FlagT>
constexpr Flags Flags< FlagT >::operator^ ( const Flags< FlagT > &  b) const
inlinenoexcept

Definition at line 45 of file oidn.hpp.

template<typename FlagT>
Flags& Flags< FlagT >::operator^= ( const Flags< FlagT > &  b)
inlinenoexcept

Definition at line 61 of file oidn.hpp.

template<typename FlagT>
constexpr Flags Flags< FlagT >::operator| ( const Flags< FlagT > &  b) const
inlinenoexcept

Definition at line 44 of file oidn.hpp.

template<typename FlagT>
Flags& Flags< FlagT >::operator|= ( const Flags< FlagT > &  b)
inlinenoexcept

Definition at line 55 of file oidn.hpp.


The documentation for this class was generated from the following file: