GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
UBitFlagSet
Copy
Create
Destroy
First
Get
IsValid
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup

UBitFlagSet::IsValid

Use this function to verify if a UBitFlagSetSingle received from UBitFlagSet::First or UBitFlagSetSingle::Next is a valid bitflag set.

Syntax

bool IsValid(
[in] const UBitFlagSetSingle* p_pBitFlagSetSingle
) const;

Parameter

p_pBitFlagSetSingle [in]
Type: const UBitFlagSetSingle*
The bitflag set to verify.

Return value

true if the bitflag set is a valid set, or false if not.

Remarks

When you iterate through the UBitFlagSetSingle inside a UBitFlagSet object, you have to check the received UBitFlagSetSingle pointers to see if they are valid with UBitFlagSet::IsValid. The UBitFlagSetSingle pointers received can be invalid when you reach the end of the bitflagset.
© 2022 Mobiland AG