Navigation
API > API/Runtime > API/Runtime/CoreUObject
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ContainsObjectOfClass
(
const TArray< T* >& ObjectArray, |
Determines whether the specified array contains objects of the specified class. | UObject/UObjectGlobals.h | |
bool ContainsObjectOfClass
(
const TArray< T* >& ObjectArray, |
UObject/UObjectGlobals.h |
ContainsObjectOfClass(const TArray< T > &, UClass , EFindObjectFlags, TArray< T > )
Description
Determines whether the specified array contains objects of the specified class.
| Name | ContainsObjectOfClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class T>
bool ContainsObjectOfClass
(
const TArray < T * > & ObjectArray,
UClass * ClassToCheck,
EFindObjectFlags Flags,
TArray < T * > * out_Objects
)
Parameters
| Name | Remarks |
|---|---|
| ObjectArray | the array to search - must be an array of pointers to instances of a UObject-derived class |
| ClassToCheck | the object class to search for |
| Flags | Flags which control the search |
| out_Objects | if specified, any objects that match the SearchClass will be added to this array |
ContainsObjectOfClass(const TArray< T > &, UClass , ExactClassType, TArray< T > )
| Name | ContainsObjectOfClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<typename T, UE::CSameAs< bool > ExactClassType>
bool ContainsObjectOfClass
(
const TArray < T * > & ObjectArray,
UClass * ClassToCheck,
ExactClassType bExactClass,
TArray < T * > * out_Objects
)