Vulkan-Hpp
vk::Flags< BitType > Class Template Reference

#include <vulkan_enums.hpp>

Public Types

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

Public Member Functions

VULKAN_HPP_CONSTEXPR Flags () VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Flags (BitType bit) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Flags (Flags< BitType > const &rhs) VULKAN_HPP_NOEXCEPT=default
 
VULKAN_HPP_CONSTEXPR Flags (MaskType flags) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator< (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator<= (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator> (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator>= (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator== (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator!= (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR bool operator! () const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Flags< BitType > operator& (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Flags< BitType > operator| (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Flags< BitType > operator^ (Flags< BitType > const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Flags< BitType > operator~ () const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 Flags< BitType > & operator= (Flags< BitType > const &rhs) VULKAN_HPP_NOEXCEPT=default
 
VULKAN_HPP_CONSTEXPR_14 Flags< BitType > & operator|= (Flags< BitType > const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 Flags< BitType > & operator&= (Flags< BitType > const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 Flags< BitType > & operator^= (Flags< BitType > const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR operator bool () const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR operator MaskType () const VULKAN_HPP_NOEXCEPT
 

Detailed Description

template<typename BitType>
class vk::Flags< BitType >

Definition at line 20 of file vulkan_enums.hpp.

Member Typedef Documentation

◆ MaskType

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

Definition at line 23 of file vulkan_enums.hpp.

Constructor & Destructor Documentation

◆ Flags() [1/4]

template<typename BitType >
VULKAN_HPP_CONSTEXPR vk::Flags< BitType >::Flags ( )
inline

Definition at line 26 of file vulkan_enums.hpp.

◆ Flags() [2/4]

template<typename BitType >
VULKAN_HPP_CONSTEXPR vk::Flags< BitType >::Flags ( BitType  bit)
inline

Definition at line 28 of file vulkan_enums.hpp.

◆ Flags() [3/4]

template<typename BitType >
VULKAN_HPP_CONSTEXPR vk::Flags< BitType >::Flags ( Flags< BitType > const &  rhs)
default

◆ Flags() [4/4]

template<typename BitType >
VULKAN_HPP_CONSTEXPR vk::Flags< BitType >::Flags ( MaskType  flags)
inlineexplicit

Definition at line 32 of file vulkan_enums.hpp.

Member Function Documentation

◆ operator bool()

template<typename BitType >
VULKAN_HPP_CONSTEXPR vk::Flags< BitType >::operator bool ( ) const
inlineexplicit

Definition at line 118 of file vulkan_enums.hpp.

◆ operator MaskType()

template<typename BitType >
VULKAN_HPP_CONSTEXPR vk::Flags< BitType >::operator MaskType ( ) const
inlineexplicit

Definition at line 123 of file vulkan_enums.hpp.

◆ operator!()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator! ( ) const
inline

Definition at line 70 of file vulkan_enums.hpp.

◆ operator!=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator!= ( Flags< BitType > const &  rhs) const
inline

Definition at line 63 of file vulkan_enums.hpp.

◆ operator&()

template<typename BitType >
VULKAN_HPP_CONSTEXPR Flags<BitType> vk::Flags< BitType >::operator& ( Flags< BitType > const &  rhs) const
inline

Definition at line 76 of file vulkan_enums.hpp.

◆ operator&=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR_14 Flags<BitType>& vk::Flags< BitType >::operator&= ( Flags< BitType > const &  rhs)
inline

Definition at line 105 of file vulkan_enums.hpp.

◆ operator<()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator< ( Flags< BitType > const &  rhs) const
inline

Definition at line 38 of file vulkan_enums.hpp.

◆ operator<=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator<= ( Flags< BitType > const &  rhs) const
inline

Definition at line 43 of file vulkan_enums.hpp.

◆ operator=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR_14 Flags<BitType>& vk::Flags< BitType >::operator= ( Flags< BitType > const &  rhs)
default

◆ operator==()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator== ( Flags< BitType > const &  rhs) const
inline

Definition at line 58 of file vulkan_enums.hpp.

◆ operator>()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator> ( Flags< BitType > const &  rhs) const
inline

Definition at line 48 of file vulkan_enums.hpp.

◆ operator>=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR bool vk::Flags< BitType >::operator>= ( Flags< BitType > const &  rhs) const
inline

Definition at line 53 of file vulkan_enums.hpp.

◆ operator^()

template<typename BitType >
VULKAN_HPP_CONSTEXPR Flags<BitType> vk::Flags< BitType >::operator^ ( Flags< BitType > const &  rhs) const
inline

Definition at line 86 of file vulkan_enums.hpp.

◆ operator^=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR_14 Flags<BitType>& vk::Flags< BitType >::operator^= ( Flags< BitType > const &  rhs)
inline

Definition at line 111 of file vulkan_enums.hpp.

◆ operator|()

template<typename BitType >
VULKAN_HPP_CONSTEXPR Flags<BitType> vk::Flags< BitType >::operator| ( Flags< BitType > const &  rhs) const
inline

Definition at line 81 of file vulkan_enums.hpp.

◆ operator|=()

template<typename BitType >
VULKAN_HPP_CONSTEXPR_14 Flags<BitType>& vk::Flags< BitType >::operator|= ( Flags< BitType > const &  rhs)
inline

Definition at line 99 of file vulkan_enums.hpp.

◆ operator~()

template<typename BitType >
VULKAN_HPP_CONSTEXPR Flags<BitType> vk::Flags< BitType >::operator~ ( ) const
inline

Definition at line 91 of file vulkan_enums.hpp.


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