TEnumAsByte

Syntax

template<class TEnum>
class TEnumAsByte

Remarks

Template to store enumeration values as bytes in a type-safe way.

Constructors

Name Description

Public function

TEnumAsByte()

Public function

TEnumAsByte

(
    const TEnumAsByte &
)

Public function

TEnumAsByte

(
    TEnum InValue
)

Constructor, initialize to the enum value.

Public function

TEnumAsByte

(
    int32 InValue
)

Constructor, initialize to the int32 value.

Public function

TEnumAsByte

(
    uint8 InValue
)

Constructor, initialize to the int32 value.

Functions

Name Description

Public function Const

TEnum

 

GetValue()

Gets the enumeration value.

Operators

Name Description

Public function Const

 

operator TEnum()

Implicit conversion to TEnum.

Public function

TEnumAsByte ...

 

operator=

(
    const TEnumAsByte &
)

Public function Const

bool

 

operator==

(
    TEnum InValue
)

Compares two enumeration values for equality.

Public function Const

bool

 

operator==

(
    TEnumAsByte InValue
)

Compares two enumeration values for equality.

Typedefs

Name

Description

Check

EnumType

References

Module

Core

Header

Runtime/Core/Public/Containers/EnumAsByte.h