GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
UBitFlagSet
Copy
Create
First
Get
IsValid
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
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(
UBitFlagSetSingle
p_pBitFlagSetSingle
);
Parameter
p_pBitFlagSetSingle
Type:
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 to see if it is valid with
UBitFlagSet.IsValid
. The UBitFlagSetSingle received can be invalid when you reach the end of the bitflagset.
© 2022 Mobiland AG