CommonLibSSE NG
Loading...
Searching...
No Matches
SKSE::stl::enumeration< Enum, Underlying > Class Template Reference

#include <PCH.h>

Public Types

using enum_type = Enum
 
using underlying_type = Underlying
 

Public Member Functions

constexpr enumeration () noexcept=default
 
constexpr enumeration (const enumeration &) noexcept=default
 
constexpr enumeration (enumeration &&) noexcept=default
 
template<class U2 >
constexpr enumeration (enumeration< Enum, U2 > a_rhs) noexcept
 
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr enumeration (Args... a_values) noexcept
 
 ~enumeration () noexcept=default
 
constexpr enumerationoperator= (const enumeration &) noexcept=default
 
constexpr enumerationoperator= (enumeration &&) noexcept=default
 
template<class U2 >
constexpr enumerationoperator= (enumeration< Enum, U2 > a_rhs) noexcept
 
constexpr enumerationoperator= (enum_type a_value) noexcept
 
constexpr operator bool () const noexcept
 
constexpr enum_type operator* () const noexcept
 
constexpr enum_type get () const noexcept
 
constexpr underlying_type underlying () const noexcept
 
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr enumerationset (Args... a_args) noexcept
 
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr enumerationreset (Args... a_args) noexcept
 
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr bool any (Args... a_args) const noexcept
 
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr bool all (Args... a_args) const noexcept
 
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr bool none (Args... a_args) const noexcept
 

Member Typedef Documentation

◆ enum_type

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
using SKSE::stl::enumeration< Enum, Underlying >::enum_type = Enum

◆ underlying_type

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
using SKSE::stl::enumeration< Enum, Underlying >::underlying_type = Underlying

Constructor & Destructor Documentation

◆ enumeration() [1/5]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr SKSE::stl::enumeration< Enum, Underlying >::enumeration ( )
constexprdefaultnoexcept

◆ enumeration() [2/5]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr SKSE::stl::enumeration< Enum, Underlying >::enumeration ( const enumeration< Enum, Underlying > &  )
constexprdefaultnoexcept

◆ enumeration() [3/5]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr SKSE::stl::enumeration< Enum, Underlying >::enumeration ( enumeration< Enum, Underlying > &&  )
constexprdefaultnoexcept

◆ enumeration() [4/5]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class U2 >
constexpr SKSE::stl::enumeration< Enum, Underlying >::enumeration ( enumeration< Enum, U2 >  a_rhs)
inlineconstexprnoexcept

◆ enumeration() [5/5]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr SKSE::stl::enumeration< Enum, Underlying >::enumeration ( Args...  a_values)
inlineconstexprnoexcept

◆ ~enumeration()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
SKSE::stl::enumeration< Enum, Underlying >::~enumeration ( )
defaultnoexcept

Member Function Documentation

◆ all()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr bool SKSE::stl::enumeration< Enum, Underlying >::all ( Args...  a_args) const
inlineconstexprnoexcept

◆ any()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr bool SKSE::stl::enumeration< Enum, Underlying >::any ( Args...  a_args) const
inlineconstexprnoexcept

◆ get()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr enum_type SKSE::stl::enumeration< Enum, Underlying >::get ( ) const
inlineconstexprnoexcept

◆ none()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr bool SKSE::stl::enumeration< Enum, Underlying >::none ( Args...  a_args) const
inlineconstexprnoexcept

◆ operator bool()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr SKSE::stl::enumeration< Enum, Underlying >::operator bool ( ) const
inlineexplicitconstexprnoexcept

◆ operator*()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr enum_type SKSE::stl::enumeration< Enum, Underlying >::operator* ( ) const
inlineconstexprnoexcept

◆ operator=() [1/4]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr enumeration & SKSE::stl::enumeration< Enum, Underlying >::operator= ( const enumeration< Enum, Underlying > &  )
constexprdefaultnoexcept

◆ operator=() [2/4]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr enumeration & SKSE::stl::enumeration< Enum, Underlying >::operator= ( enum_type  a_value)
inlineconstexprnoexcept

◆ operator=() [3/4]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr enumeration & SKSE::stl::enumeration< Enum, Underlying >::operator= ( enumeration< Enum, Underlying > &&  )
constexprdefaultnoexcept

◆ operator=() [4/4]

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class U2 >
constexpr enumeration & SKSE::stl::enumeration< Enum, Underlying >::operator= ( enumeration< Enum, U2 >  a_rhs)
inlineconstexprnoexcept

◆ reset()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr enumeration & SKSE::stl::enumeration< Enum, Underlying >::reset ( Args...  a_args)
inlineconstexprnoexcept

◆ set()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
template<class... Args>
requires (std::same_as<Args, enum_type> && ...)
constexpr enumeration & SKSE::stl::enumeration< Enum, Underlying >::set ( Args...  a_args)
inlineconstexprnoexcept

◆ underlying()

template<class Enum , class Underlying = std::underlying_type_t<Enum>>
constexpr underlying_type SKSE::stl::enumeration< Enum, Underlying >::underlying ( ) const
inlineconstexprnoexcept

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