TrinityCore
Loading...
Searching...
No Matches
FourCC< Tag > Struct Template Reference

#include <FourCC.h>

Public Member Functions

constexpr FourCC ()
 
constexpr FourCC (uint32 value)
 
constexpr bool operator== (FourCC const &right) const =default
 
constexpr std::strong_ordering operator<=> (FourCC const &right) const =default
 
constexpr operator uint32 () const
 
template<typename Other >
constexpr bool operator== (FourCC< Other > const &right) const =delete
 
template<typename Other >
constexpr std::strong_ordering operator<=> (FourCC< Other > const &right) const =delete
 

Static Public Member Functions

static constexpr FourCC FromString (std::string_view text)
 

Public Attributes

uint32 Value
 

Detailed Description

template<typename Tag>
struct FourCC< Tag >

Definition at line 26 of file FourCC.h.

Constructor & Destructor Documentation

◆ FourCC() [1/2]

template<typename Tag >
constexpr FourCC< Tag >::FourCC ( )
inlineconstexpr

Definition at line 30 of file FourCC.h.

Referenced by FourCC< Tag >::FromString().

◆ FourCC() [2/2]

template<typename Tag >
constexpr FourCC< Tag >::FourCC ( uint32  value)
inlineexplicitconstexpr

Definition at line 31 of file FourCC.h.

Member Function Documentation

◆ FromString()

template<typename Tag >
static constexpr FourCC FourCC< Tag >::FromString ( std::string_view  text)
inlinestaticconstexpr

◆ operator uint32()

template<typename Tag >
constexpr FourCC< Tag >::operator uint32 ( ) const
inlineconstexpr

Definition at line 48 of file FourCC.h.

References FourCC< Tag >::Value.

◆ operator<=>() [1/2]

template<typename Tag >
constexpr std::strong_ordering FourCC< Tag >::operator<=> ( FourCC< Tag > const &  right) const
constexprdefault

◆ operator<=>() [2/2]

template<typename Tag >
template<typename Other >
constexpr std::strong_ordering FourCC< Tag >::operator<=> ( FourCC< Other > const &  right) const
constexprdelete

◆ operator==() [1/2]

template<typename Tag >
constexpr bool FourCC< Tag >::operator== ( FourCC< Tag > const &  right) const
constexprdefault

◆ operator==() [2/2]

template<typename Tag >
template<typename Other >
constexpr bool FourCC< Tag >::operator== ( FourCC< Other > const &  right) const
constexprdelete

Member Data Documentation

◆ Value

template<typename Tag >
uint32 FourCC< Tag >::Value

Definition at line 28 of file FourCC.h.

Referenced by FourCC< Tag >::operator uint32().


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