GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
AddRef
Compare
GetClassInfo
GetDomain
GetId
GetLastError
GetLock
GetNextSame
GetObject
IsDirty
IsOfType
LoadData
NeedsUpdate
Release
StoreData
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup

WObject::IsOfType

Checks if the object contains the requested classes.

Syntax

WObject* IsOfType(
[in] const UINT32* p_aulClassId,
[in] UINT32 p_ulCount
);
 
const WObject* IsOfType(
[in] const UINT32* p_aulClassId,
[in] UINT32 p_ulCount
) const;

Parameter

p_aulClassId [in]
Type: const UINT32*
Class list to check.
p_ulCount [in]
Type: UINT32
Number of elements in the p_aulClassId array.

Return value

Returns a pointer to the object if it is of the requested type, or NULL if it is not.

Remarks

You can find all of an object’s classes by calling UObject::GetAvailableAttributes on the UObject and iterate over all UBitFlagSetSingle inside.
© 2022 Mobiland AG