FTargetPlatformSet

Target platform set implementation using bitmask for compactness

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h

Include

#include "Interfaces/ITargetPlatform.h"

Syntax

class FTargetPlatformSet

Remarks

Target platform set implementation using bitmask for compactness

Functions

Name Description

Public function

void

 

Add

(
    const FTargetPlatform& Platform
)

Public function

void

 

Clear()

Public function Const

bool

 

Contains

(
    const FTargetPlatform& Platform
)

Check if this set contains any of the members of the Other set.

Public function Const

bool

 

ContainsAny

(
    const FTargetPlatformSet& Other
)

Check if this set contains any of the members of the Other set.

Public function Const

void

 

ForEach

(
    Func&& Callback
)

Iterate over all set members

Public function Const

uint32

 

GetHash()

Public function Const

bool

 

IsEmpty()

Public function

void

 

Merge

(
    const FTargetPlatformSet& Other
)

Public function

void

 

Remove

(
    const FTargetPlatform& Platform
)

Public function

void

 

Remove

(
    const FTargetPlatformSet& Platform...
)

Remove all members from the Platforms set from this set.

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FTargetPlatformSet& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss