Navigation
API > API/Developer > API/Developer/TargetPlatform
Target platform set implementation using bitmask for compactness
| Name | FTargetPlatformSet |
| Type | class |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h |
| Include Path | #include "Interfaces/ITargetPlatform.h" |
Syntax
class FTargetPlatformSet
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mask | uint64 | TODO: support for ranged for? It's easy to make mistakes when refactoring regular for loops into ForEach type constructs since the semantics of any return statements does change when you put them inside a lambda. | Interfaces/ITargetPlatform.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const FTargetPlatform& Platform |
Interfaces/ITargetPlatform.h | ||
void Clear() |
Interfaces/ITargetPlatform.h | ||
bool Contains
(
const FTargetPlatform& Platform |
Check if this set contains any of the members of the Other set. | Interfaces/ITargetPlatform.h | |
bool ContainsAny
(
const FTargetPlatformSet& Other |
Check if this set contains any of the members of the Other set. | Interfaces/ITargetPlatform.h | |
void ForEach
(
Func&& Callback |
Iterate over all set members | Interfaces/ITargetPlatform.h | |
uint32 GetHash() |
Interfaces/ITargetPlatform.h | ||
bool IsEmpty() |
Interfaces/ITargetPlatform.h | ||
void Merge
(
const FTargetPlatformSet& Other |
Interfaces/ITargetPlatform.h | ||
void Remove
(
const FTargetPlatform& Platform |
Interfaces/ITargetPlatform.h | ||
void Remove
(
const FTargetPlatformSet& Platforms |
Remove all members from the Platforms set from this set. | Interfaces/ITargetPlatform.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FTargetPlatformSet& Other |
Interfaces/ITargetPlatform.h |