Navigation
API > API/Runtime > API/Runtime/Core
Range type for iterating over enum values. Enums should define themselves as iterable by specifying one of the ENUM_RANGE_* macros.
Example:
for (ECountedThing Val : TEnumRange
| Name | TEnumRange |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/EnumRange.h |
| Include Path | #include "Misc/EnumRange.h" |
Syntax
template<typename EnumType>
struct TEnumRange : public NEnumRangePrivate::TEnumRange_Impl< EnumType, NEnumRangePrivate::TEnumRangeTraits< EnumType >::RangeType >
Inheritance Hierarchy
- TEnumRange_Impl → TEnumRange
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | NEnumRangePrivate::TEnumRange_Impl< EnumType, NEnumRangePrivate::TEnumRangeTraits< EnumType >::RangeType > | Misc/EnumRange.h |